webpack-assets-manifest 6.0.2 → 6.2.0

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.
@@ -1 +1 @@
1
- {"type":"commonjs"}
1
+ {"type":"commonjs"}
@@ -1 +1 @@
1
- {"type":"module"}
1
+ {"type":"module"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpack-assets-manifest",
3
- "version": "6.0.2",
3
+ "version": "6.2.0",
4
4
  "description": "This Webpack plugin will generate a JSON file that matches the original filename with the hashed version.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -65,16 +65,16 @@
65
65
  "files": [
66
66
  "dist"
67
67
  ],
68
- "packageManager": "pnpm@10.8.1+sha512.c50088ba998c67b8ca8c99df8a5e02fd2ae2e2b29aaf238feaa9e124248d3f48f9fb6db2424949ff901cffbb5e0f0cc1ad6aedb602cd29450751d11c35023677",
68
+ "packageManager": "pnpm@10.11.1+sha512.e519b9f7639869dc8d5c3c5dfef73b3f091094b0a006d7317353c72b124e80e1afd429732e28705ad6bfa1ee879c1fce46c128ccebd3192101f43dd67c667912",
69
69
  "scripts": {
70
70
  "clean": "rimraf ./coverage/ ./dist/ ./cache/",
71
71
  "prebuild": "pnpm clean",
72
72
  "validate": "validate-package-exports --check --verify --info",
73
73
  "build": "tsc --build tsconfig.cjs.json tsconfig.mjs.json --force",
74
- "postbuild": "echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && echo '{\"type\":\"module\"}' > ./dist/mjs/package.json && pnpm validate",
75
- "lint": "eslint ./*{js,cjs,mjs,mts} ./src ./test ./examples",
74
+ "postbuild": "node postbuild.mjs && pnpm validate",
75
+ "lint": "eslint \"./*.{js,cjs,mjs,ts,cts,mts}\" ./src ./test ./examples",
76
76
  "typecheck": "tsc --build --verbose",
77
- "spellcheck": "cspell --no-progress './{.github,src,examples,test}/**/*.{ts,js,json}' './*.{md,js,mjs,mts}' './package.json'",
77
+ "spellcheck": "cspell --no-progress './{.github,src,examples,test}/**/*.{ts,js,json,yml}' './*.{md,js,mjs,mts}' './package.json'",
78
78
  "format": "prettier --write ./*.{mts,mjs,json,md} ./src/ ./test/ --no-error-on-unmatched-pattern",
79
79
  "test": "vitest",
80
80
  "coverage": "vitest run --coverage",
@@ -86,53 +86,54 @@
86
86
  "dependencies": {
87
87
  "deepmerge": "^4.3.1",
88
88
  "lockfile": "^1.0.4",
89
- "schema-utils": "^4.3.0",
90
- "tapable": "^2.2.1"
89
+ "schema-utils": "^4.3.2",
90
+ "tapable": "^2.2.2"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "webpack": "^5.61.0"
94
94
  },
95
95
  "devDependencies": {
96
- "@commitlint/config-conventional": "^19.8.0",
97
- "@commitlint/types": "^19.8.0",
96
+ "@commitlint/config-conventional": "^19.8.1",
97
+ "@commitlint/types": "^19.8.1",
98
98
  "@types/lockfile": "^1.0.4",
99
- "@types/node": "^20.17.30",
99
+ "@types/node": "^20.19.0",
100
100
  "@types/tapable": "^2.2.7",
101
101
  "@types/webpack-sources": "^3.2.3",
102
- "@vitest/coverage-v8": "^3.1.1",
102
+ "@vitest/coverage-v8": "^3.2.2",
103
103
  "@webdeveric/eslint-config-ts": "^0.11.0",
104
104
  "@webdeveric/prettier-config": "^0.3.0",
105
- "commitlint": "^19.8.0",
106
- "commitlint-plugin-cspell": "^0.1.1",
105
+ "commitlint": "^19.8.1",
106
+ "commitlint-plugin-cspell": "^0.2.0",
107
107
  "compression-webpack-plugin": "^11.1.0",
108
- "conventional-changelog-conventionalcommits": "^8.0.0",
108
+ "conventional-changelog-conventionalcommits": "^9.0.0",
109
109
  "copy-webpack-plugin": "^13.0.0",
110
- "cspell": "^8.19.0",
110
+ "cspell": "^9.0.2",
111
111
  "css-loader": "^7.1.2",
112
112
  "eslint": "^8.57.1",
113
- "eslint-config-prettier": "^10.1.2",
114
- "eslint-import-resolver-typescript": "^4.3.2",
113
+ "eslint-config-prettier": "^10.1.5",
114
+ "eslint-import-resolver-typescript": "^4.4.3",
115
115
  "eslint-plugin-import": "^2.31.0",
116
116
  "file-loader": "^6.2.0",
117
117
  "fs-extra": "^11.3.0",
118
118
  "husky": "^9.1.7",
119
- "lint-staged": "^15.5.1",
120
- "memfs": "^4.17.0",
119
+ "lint-staged": "^16.1.0",
120
+ "memfs": "^4.17.2",
121
121
  "mini-css-extract-plugin": "^2.9.2",
122
122
  "prettier": "^3.5.3",
123
123
  "rimraf": "^6.0.1",
124
124
  "sass-loader": "^16.0.5",
125
- "semantic-release": "^24.2.3",
125
+ "semantic-release": "^24.2.5",
126
126
  "typescript": "^5.8.3",
127
- "validate-package-exports": "^0.9.0",
128
- "vitest": "^3.1.1",
129
- "webpack": "^5.99.5",
130
- "webpack-dev-server": "^5.2.1",
127
+ "validate-package-exports": "^0.11.0",
128
+ "vitest": "^3.2.2",
129
+ "webpack": "^5.99.9",
130
+ "webpack-dev-server": "^5.2.2",
131
131
  "webpack-subresource-integrity": "^5.1.0"
132
132
  },
133
133
  "pnpm": {
134
134
  "onlyBuiltDependencies": [
135
- "esbuild"
135
+ "esbuild",
136
+ "unrs-resolver"
136
137
  ]
137
138
  }
138
139
  }
package/readme.md CHANGED
@@ -24,7 +24,7 @@ yarn add webpack-assets-manifest -D
24
24
  - TypeScript types are provided by this package.
25
25
  - The package exports `esm` and `cjs`.
26
26
  - Added `manifest.utils` for use in the `customize` hook.
27
- - See [examples/customized.js](https://github.com/webdeveric/webpack-assets-manifest/blob/master/examples/customized.js)
27
+ - See [examples/customized.js](https://github.com/webdeveric/webpack-assets-manifest/blob/master/examples/customized.ts)
28
28
  - https://github.com/webdeveric/webpack-assets-manifest/blob/b6ed8c09394bf33c8fadd5adff8bad7694f295ba/src/plugin.ts#L185-L195
29
29
 
30
30
  ### Breaking changes