From f163733276bc95b33ea8270dfc4b7eabf633cd02 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Fri, 1 Apr 2022 09:01:13 -0400 Subject: [PATCH] STCLI-195 pin webpack to ~5.68.0 Oy, the hits just keep coming. It seems that `5.69.0` and `5.70.0` don't play nice with `moment` and barf thousands of lines of warnings into the log when running tests, but `5.69.1` isn't compatible with `karma-webpack` which prevents tests from running _at all_. Yuck. Refs STCLI-195 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce36fd0..5d4648e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## 2.6.0 IN PROGRESS -* Avoid `webpack` > `5.69.1` due to `moment` incompatibilities. Refs STCLI-195. +* Pin `webpack` to `~5.68.0` due to `moment` and `karma-webpack` trouble. Refs STCLI-195. ## [2.5.1](https://github.com/folio-org/stripes-cli/tree/v2.5.1) (2022-03-25) diff --git a/package.json b/package.json index d584657..56c3371 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "simple-git": "^1.89.0", "supports-color": "^4.5.0", "update-notifier": "^2.3.0", - "webpack": "5.69.1", + "webpack": "~5.68.0", "webpack-bundle-analyzer": "^4.4.2", "yargs": "^13.1.0" },