rspack-manifest-plugin 5.0.2 → 5.0.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.
- package/dist/index.d.ts +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +20 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Compiler, RspackPluginInstance } from '@rspack/core';
|
|
2
2
|
import { FileDescriptor } from './helpers';
|
|
3
3
|
import { getCompilerHooks } from './hooks';
|
|
4
|
+
export type { FileDescriptor };
|
|
4
5
|
export type Manifest = Record<string, any>;
|
|
5
6
|
export interface InternalOptions {
|
|
6
7
|
[key: string]: any;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+BAAyC;AAMzC,mCAAoE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+BAAyC;AAMzC,mCAAoE;AA6G3D,iGA7GyB,wBAAgB,OA6GzB;AA3GzB,MAAM,YAAY,GAAiB,IAAI,GAAG,EAAE,CAAC;AA+B7C,MAAM,QAAQ,GAAG;IACf,cAAc,EAAE,QAAQ;IACxB,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,eAAe;IACzB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK,CAAC;IAChB,GAAG,EAAE,IAAI;IACT,UAAU,EAAE,IAAI;IAChB,aAAa,EAAE,wBAAwB;IAEvC,IAAI,EAAE,KAAK,CAAC;IACZ,SAAS,CAAC,QAAa;QACrB,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3C,CAAC;IACD,IAAI,EAAE,IAAI;IACV,mBAAmB,EAAE,aAAa;IAClC,YAAY,EAAE,KAAK;IACnB,aAAa,EA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AkC,CAAC,aAAa,CAAC,GAAG,CAAC,WAAW,EAAE,GAAG,EAAE,CAClF,IAAI,CAAC,WAAW,CAAC,CAClB,CAAC;YACJ,CAAC,CAAC,CAAC;SACJ;QAED,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QACpD,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;IAC3D,CAAC;CACF;AAE0B,sDAAqB;AAEnC,QAAA,oBAAoB,GAAG,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rspack-manifest-plugin",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "A Rspack Plugin for generating Asset Manifests",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "rspack-contrib/rspack-manifest-plugin",
|
|
@@ -11,6 +11,22 @@
|
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=14"
|
|
13
13
|
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc --project tsconfig.json",
|
|
16
|
+
"ci:coverage": "nyc pnpm ci:test && nyc report --reporter=text-lcov > coverage.lcov",
|
|
17
|
+
"ci:lint": "pnpm lint && pnpm security",
|
|
18
|
+
"ci:test": "pnpm test -- --verbose",
|
|
19
|
+
"lint": "pnpm lint:docs && pnpm lint:json && pnpm lint:js",
|
|
20
|
+
"lint-staged": "lint-staged",
|
|
21
|
+
"lint:docs": "prettier --write README.md",
|
|
22
|
+
"lint:js": "eslint --cache --fix --cache src test",
|
|
23
|
+
"lint:json": "prettier --write codecov.yml package.json",
|
|
24
|
+
"prepare": "husky install",
|
|
25
|
+
"prepublishOnly": "pnpm lint && pnpm build",
|
|
26
|
+
"pretest": "pnpm install && pnpm build",
|
|
27
|
+
"security": "pnpm audit --audit-level=high --prod",
|
|
28
|
+
"test": "ava --timeout=2m"
|
|
29
|
+
},
|
|
14
30
|
"files": [
|
|
15
31
|
"dist",
|
|
16
32
|
"README.md",
|
|
@@ -90,19 +106,6 @@
|
|
|
90
106
|
"test/"
|
|
91
107
|
]
|
|
92
108
|
},
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
"ci:coverage": "nyc pnpm ci:test && nyc report --reporter=text-lcov > coverage.lcov",
|
|
97
|
-
"ci:lint": "pnpm lint && pnpm security",
|
|
98
|
-
"ci:test": "pnpm test -- --verbose",
|
|
99
|
-
"lint": "pnpm lint:docs && pnpm lint:json && pnpm lint:js",
|
|
100
|
-
"lint-staged": "lint-staged",
|
|
101
|
-
"lint:docs": "prettier --write README.md",
|
|
102
|
-
"lint:js": "eslint --cache --fix --cache src test",
|
|
103
|
-
"lint:json": "prettier --write codecov.yml package.json",
|
|
104
|
-
"pretest": "pnpm install && pnpm build",
|
|
105
|
-
"security": "pnpm audit --audit-level=high --prod",
|
|
106
|
-
"test": "ava --timeout=2m"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
+
"packageManager": "pnpm@9.12.3",
|
|
110
|
+
"pre-commit": "lint-staged"
|
|
111
|
+
}
|