@_linked/cli 1.21.2 → 1.21.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/package.json +1 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.21.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#116](https://github.com/linked-fw/cli/pull/116) [`0377581`](https://github.com/linked-fw/cli/commit/0377581afa4e97070a70f7cc263f2baf6d5e4a9d) Thanks [@flyon](https://github.com/flyon)! - Drop `optimize-css-assets-webpack-plugin`, so `npm install` and `npm ci` work without `--legacy-peer-deps`.
8
+
9
+ The package declares `webpack ^5`, but this plugin's last release peers on
10
+ `webpack ^4`. npm cannot satisfy both, so a plain install failed outright:
11
+
12
+ ```
13
+ npm error ERESOLVE could not resolve
14
+ npm error While resolving: optimize-css-assets-webpack-plugin@6.0.1
15
+ npm error Found: webpack@5.108.4
16
+ npm error Could not resolve dependency: peer webpack@"^4.0.0"
17
+ ```
18
+
19
+ The workaround was `--legacy-peer-deps`, which silences every peer check in the
20
+ tree, not just this one — and it left `npm ci` broken, so a clean
21
+ lockfile-driven install never worked at all.
22
+
23
+ Nothing imports the plugin: it appears only in `devDependencies`, with no
24
+ reference anywhere in `src/`. It is also deprecated upstream in favour of
25
+ `css-minimizer-webpack-plugin`, which is not needed here either, since the
26
+ webpack config does not minify CSS through it.
27
+
28
+ Removing it is the whole fix. `npm install` and `npm ci` both succeed with no
29
+ flags, 28 fewer packages are installed, and the audit total drops from 20 to 19.
30
+
3
31
  ## 1.21.2
4
32
 
5
33
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_linked/cli",
3
- "version": "1.21.2",
3
+ "version": "1.21.3",
4
4
  "packageManager": "npm@11.19.1",
5
5
  "description": "Command line tools for the @_linked/* packages and apps",
6
6
  "main": "lib/esm/index.js",
@@ -154,7 +154,6 @@
154
154
  "babel-jest": "^29.7.0",
155
155
  "husky": "^9.0.11",
156
156
  "jest": "^29.7.0",
157
- "optimize-css-assets-webpack-plugin": "^6.0.1",
158
157
  "pinst": "^3.0.0",
159
158
  "prettier": "^3.2.5",
160
159
  "testcontainers": "^10.13.2"