@modern-js/module-tools 1.17.0 → 1.18.1-alpha.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.
- package/CHANGELOG.md +44 -0
- package/dist/js/modern/features/build/bundle/runSpeedy.js +4 -2
- package/dist/js/modern/schema/build-config.js +3 -0
- package/dist/js/node/features/build/bundle/runSpeedy.js +4 -2
- package/dist/js/node/schema/build-config.js +3 -0
- package/dist/types/schema/build-config.d.ts +6 -0
- package/dist/types/schema/index.d.ts +6 -0
- package/dist/types/schema/output.d.ts +6 -0
- package/dist/types/schema/types.d.ts +1 -0
- package/package.json +18 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @modern-js/module-tools
|
|
2
2
|
|
|
3
|
+
## 1.18.1-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b2fd4a1: bundleOptions add moduleId
|
|
8
|
+
- Updated dependencies [c1a4d9b]
|
|
9
|
+
- Updated dependencies [9fcfbd4]
|
|
10
|
+
- Updated dependencies [6c2c745]
|
|
11
|
+
- @modern-js/plugin@1.18.1-alpha.0
|
|
12
|
+
- @modern-js/utils@1.18.1-alpha.0
|
|
13
|
+
- @modern-js/core@1.18.1-alpha.0
|
|
14
|
+
- @modern-js/babel-preset-module@1.18.1-alpha.0
|
|
15
|
+
- @modern-js/css-config@1.18.1-alpha.0
|
|
16
|
+
- @modern-js/plugin-changeset@1.18.1-alpha.0
|
|
17
|
+
- @modern-js/plugin-i18n@1.18.1-alpha.0
|
|
18
|
+
- @modern-js/plugin-jarvis@1.18.1-alpha.0
|
|
19
|
+
- @modern-js/new-action@1.18.1-alpha.0
|
|
20
|
+
- @modern-js/babel-compiler@1.18.1-alpha.0
|
|
21
|
+
- @modern-js/style-compiler@1.18.1-alpha.0
|
|
22
|
+
- @modern-js/upgrade@1.18.1-alpha.0
|
|
23
|
+
|
|
24
|
+
## 1.18.0
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [8280920]
|
|
29
|
+
- Updated dependencies [9f13d8c]
|
|
30
|
+
- Updated dependencies [60a2e3a]
|
|
31
|
+
- Updated dependencies [5227370]
|
|
32
|
+
- Updated dependencies [66ad36f]
|
|
33
|
+
- Updated dependencies [7928bae]
|
|
34
|
+
- @modern-js/utils@1.18.0
|
|
35
|
+
- @modern-js/upgrade@1.18.0
|
|
36
|
+
- @modern-js/core@1.18.0
|
|
37
|
+
- @modern-js/babel-preset-module@1.18.0
|
|
38
|
+
- @modern-js/css-config@1.18.0
|
|
39
|
+
- @modern-js/plugin-changeset@1.18.0
|
|
40
|
+
- @modern-js/plugin-i18n@1.18.0
|
|
41
|
+
- @modern-js/plugin-jarvis@1.18.0
|
|
42
|
+
- @modern-js/new-action@1.18.0
|
|
43
|
+
- @modern-js/babel-compiler@1.18.0
|
|
44
|
+
- @modern-js/style-compiler@1.18.0
|
|
45
|
+
- @modern-js/plugin@1.18.0
|
|
46
|
+
|
|
3
47
|
## 1.17.0
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|
|
@@ -110,7 +110,8 @@ export const runSpeedy = async (api, config) => {
|
|
|
110
110
|
platform,
|
|
111
111
|
splitting,
|
|
112
112
|
minify,
|
|
113
|
-
externals
|
|
113
|
+
externals,
|
|
114
|
+
moduleId
|
|
114
115
|
} = bundleOptions;
|
|
115
116
|
const distDir = path.join(appDirectory, distPath, outputPath);
|
|
116
117
|
const titleText = `[Bundle:Speedy:${format}_${target}]`;
|
|
@@ -159,7 +160,8 @@ export const runSpeedy = async (api, config) => {
|
|
|
159
160
|
sourceMap,
|
|
160
161
|
minify,
|
|
161
162
|
external: externals,
|
|
162
|
-
plugins
|
|
163
|
+
plugins,
|
|
164
|
+
moduleId
|
|
163
165
|
};
|
|
164
166
|
const speedyConfig = applyOptionsChain(internalSpeedyConfig, userSpeedyConfig);
|
|
165
167
|
const compiler = await SpeedyBundler.create(speedyConfig);
|
|
@@ -130,7 +130,8 @@ const runSpeedy = async (api, config) => {
|
|
|
130
130
|
platform,
|
|
131
131
|
splitting,
|
|
132
132
|
minify,
|
|
133
|
-
externals
|
|
133
|
+
externals,
|
|
134
|
+
moduleId
|
|
134
135
|
} = bundleOptions;
|
|
135
136
|
|
|
136
137
|
const distDir = _path.default.join(appDirectory, distPath, outputPath);
|
|
@@ -181,7 +182,8 @@ const runSpeedy = async (api, config) => {
|
|
|
181
182
|
sourceMap,
|
|
182
183
|
minify,
|
|
183
184
|
external: externals,
|
|
184
|
-
plugins
|
|
185
|
+
plugins,
|
|
186
|
+
moduleId
|
|
185
187
|
};
|
|
186
188
|
const speedyConfig = (0, _utils.applyOptionsChain)(internalSpeedyConfig, userSpeedyConfig);
|
|
187
189
|
const compiler = await _speedyCore.SpeedyBundler.create(speedyConfig);
|
|
@@ -25,6 +25,9 @@ export declare const buildSchema: ({
|
|
|
25
25
|
bundleOptions: {
|
|
26
26
|
type: string;
|
|
27
27
|
properties: {
|
|
28
|
+
moduleId: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
28
31
|
entry: {
|
|
29
32
|
type: string;
|
|
30
33
|
};
|
|
@@ -115,6 +118,9 @@ export declare const buildSchema: ({
|
|
|
115
118
|
bundleOptions: {
|
|
116
119
|
type: string;
|
|
117
120
|
properties: {
|
|
121
|
+
moduleId: {
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
118
124
|
entry: {
|
|
119
125
|
type: string;
|
|
120
126
|
};
|
|
@@ -28,6 +28,9 @@ export declare const addSchema: () => ({
|
|
|
28
28
|
bundleOptions: {
|
|
29
29
|
type: string;
|
|
30
30
|
properties: {
|
|
31
|
+
moduleId: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
31
34
|
entry: {
|
|
32
35
|
type: string;
|
|
33
36
|
};
|
|
@@ -118,6 +121,9 @@ export declare const addSchema: () => ({
|
|
|
118
121
|
bundleOptions: {
|
|
119
122
|
type: string;
|
|
120
123
|
properties: {
|
|
124
|
+
moduleId: {
|
|
125
|
+
type: string;
|
|
126
|
+
};
|
|
121
127
|
entry: {
|
|
122
128
|
type: string;
|
|
123
129
|
};
|
|
@@ -23,6 +23,9 @@ export declare const outputSchema: ({
|
|
|
23
23
|
bundleOptions: {
|
|
24
24
|
type: string;
|
|
25
25
|
properties: {
|
|
26
|
+
moduleId: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
26
29
|
entry: {
|
|
27
30
|
type: string;
|
|
28
31
|
};
|
|
@@ -113,6 +116,9 @@ export declare const outputSchema: ({
|
|
|
113
116
|
bundleOptions: {
|
|
114
117
|
type: string;
|
|
115
118
|
properties: {
|
|
119
|
+
moduleId: {
|
|
120
|
+
type: string;
|
|
121
|
+
};
|
|
116
122
|
entry: {
|
|
117
123
|
type: string;
|
|
118
124
|
};
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.18.1-alpha.0",
|
|
15
15
|
"bin": {
|
|
16
16
|
"modern": "./bin/modern.js"
|
|
17
17
|
},
|
|
@@ -54,22 +54,22 @@
|
|
|
54
54
|
"@babel/runtime": "^7.18.0",
|
|
55
55
|
"@babel/traverse": "^7.18.0",
|
|
56
56
|
"@babel/types": "^7.18.0",
|
|
57
|
-
"@modern-js/babel-compiler": "1.
|
|
58
|
-
"@modern-js/babel-preset-module": "1.
|
|
59
|
-
"@modern-js/core": "1.
|
|
60
|
-
"@modern-js/css-config": "1.
|
|
61
|
-
"@modern-js/new-action": "1.
|
|
62
|
-
"@modern-js/upgrade": "1.
|
|
63
|
-
"@modern-js/plugin": "1.
|
|
64
|
-
"@modern-js/plugin-changeset": "1.
|
|
65
|
-
"@modern-js/plugin-i18n": "1.
|
|
66
|
-
"@modern-js/plugin-jarvis": "1.
|
|
67
|
-
"@modern-js/style-compiler": "1.
|
|
68
|
-
"@modern-js/utils": "1.
|
|
57
|
+
"@modern-js/babel-compiler": "1.18.1-alpha.0",
|
|
58
|
+
"@modern-js/babel-preset-module": "1.18.1-alpha.0",
|
|
59
|
+
"@modern-js/core": "1.18.1-alpha.0",
|
|
60
|
+
"@modern-js/css-config": "1.18.1-alpha.0",
|
|
61
|
+
"@modern-js/new-action": "1.18.1-alpha.0",
|
|
62
|
+
"@modern-js/upgrade": "1.18.1-alpha.0",
|
|
63
|
+
"@modern-js/plugin": "1.18.1-alpha.0",
|
|
64
|
+
"@modern-js/plugin-changeset": "1.18.1-alpha.0",
|
|
65
|
+
"@modern-js/plugin-i18n": "1.18.1-alpha.0",
|
|
66
|
+
"@modern-js/plugin-jarvis": "1.18.1-alpha.0",
|
|
67
|
+
"@modern-js/style-compiler": "1.18.1-alpha.0",
|
|
68
|
+
"@modern-js/utils": "1.18.1-alpha.0",
|
|
69
69
|
"@rollup/plugin-json": "~4.1.0",
|
|
70
|
-
"@speedy-js/speedy-types": "0.13.2-
|
|
71
|
-
"@speedy-js/speedy-core": "0.13.2-
|
|
72
|
-
"@speedy-js/speedy-plugin-es5": "0.13.2-
|
|
70
|
+
"@speedy-js/speedy-types": "0.13.2-modern.0",
|
|
71
|
+
"@speedy-js/speedy-core": "0.13.2-modern.0",
|
|
72
|
+
"@speedy-js/speedy-plugin-es5": "0.13.2-modern.0",
|
|
73
73
|
"normalize-path": "^3.0.0",
|
|
74
74
|
"p-map": "^4",
|
|
75
75
|
"process.argv": "^0.6.0",
|
|
@@ -79,9 +79,8 @@
|
|
|
79
79
|
"signal-exit": "^3.0.7"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@scripts/build": "1.
|
|
83
|
-
"@scripts/jest-config": "1.
|
|
84
|
-
"@speedy-js/speedy-types": "0.13.2-alpha.3",
|
|
82
|
+
"@scripts/build": "1.18.1-alpha.0",
|
|
83
|
+
"@scripts/jest-config": "1.18.1-alpha.0",
|
|
85
84
|
"@types/babel__core": "^7.1.15",
|
|
86
85
|
"@types/babel__generator": "^7.6.3",
|
|
87
86
|
"@types/babel__traverse": "^7.14.2",
|