@modern-js/node-bundle-require 2.20.0 → 2.21.1
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/CHANGELOG.md +22 -0
- package/dist/types/bundle.d.ts +0 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @modern-js/node-bundle-require
|
|
2
2
|
|
|
3
|
+
## 2.21.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @modern-js/utils@2.21.1
|
|
8
|
+
|
|
9
|
+
## 2.21.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 26dcf3a: chore: bump typescript to v5 in devDependencies
|
|
14
|
+
|
|
15
|
+
chore: 升级 devDependencies 中的 typescript 版本到 v5
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [e81eeaf]
|
|
18
|
+
- Updated dependencies [26dcf3a]
|
|
19
|
+
- Updated dependencies [056627f]
|
|
20
|
+
- Updated dependencies [0fc15ca]
|
|
21
|
+
- Updated dependencies [43b4e83]
|
|
22
|
+
- Updated dependencies [ad78387]
|
|
23
|
+
- @modern-js/utils@2.21.0
|
|
24
|
+
|
|
3
25
|
## 2.20.0
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/types/bundle.d.ts
CHANGED
|
@@ -10,23 +10,19 @@ export interface Options {
|
|
|
10
10
|
/**
|
|
11
11
|
* esbuild options
|
|
12
12
|
*/
|
|
13
|
-
|
|
14
13
|
esbuildOptions?: BuildOptions;
|
|
15
14
|
/**
|
|
16
15
|
* esbuild plugin
|
|
17
16
|
*/
|
|
18
|
-
|
|
19
17
|
esbuildPlugins?: Plugin[];
|
|
20
18
|
/**
|
|
21
19
|
* Get the path to the output file
|
|
22
20
|
* By default we simply replace the extension with `.bundled.cjs`
|
|
23
21
|
*/
|
|
24
|
-
|
|
25
22
|
getOutputFile?: (filepath: string) => Promise<string>;
|
|
26
23
|
/**
|
|
27
24
|
* auto clear bundle file
|
|
28
25
|
*/
|
|
29
|
-
|
|
30
26
|
autoClear?: boolean;
|
|
31
27
|
}
|
|
32
28
|
export declare const defaultGetOutputFile: (filepath: string) => Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/node-bundle-require",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.1",
|
|
4
4
|
"description": "A Progressive React Framework for modern web development.",
|
|
5
5
|
"homepage": "https://modernjs.dev",
|
|
6
6
|
"bugs": "https://github.com/web-infra-dev/modern.js/issues",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"esbuild": "0.15.7",
|
|
49
49
|
"@swc/helpers": "0.5.1",
|
|
50
|
-
"@modern-js/utils": "2.
|
|
50
|
+
"@modern-js/utils": "2.21.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/jest": "^29",
|
|
54
54
|
"@types/node": "^14",
|
|
55
55
|
"jest": "^29",
|
|
56
|
-
"typescript": "^
|
|
57
|
-
"@scripts/build": "2.
|
|
58
|
-
"@scripts/jest-config": "2.
|
|
56
|
+
"typescript": "^5",
|
|
57
|
+
"@scripts/build": "2.21.1",
|
|
58
|
+
"@scripts/jest-config": "2.21.1"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
61
|
"publishConfig": {
|