@modern-js/plugin-server 0.0.0-next-20221219140554 → 0.0.0-next-20221220043320
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 +4 -4
- package/dist/js/modern/cli.js +6 -0
- package/dist/js/node/cli.js +6 -0
- package/dist/js/treeshaking/cli.js +9 -0
- package/dist/types/cli.d.ts +2 -5
- package/package.json +14 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @modern-js/plugin-server
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20221220043320
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
- Updated dependencies [abf3421a7]
|
|
35
35
|
- Updated dependencies [543be9558]
|
|
36
36
|
- Updated dependencies [14b712da8]
|
|
37
|
-
- @modern-js/server-utils@0.0.0-next-
|
|
38
|
-
- @modern-js/utils@0.0.0-next-
|
|
39
|
-
- @modern-js/babel-compiler@0.0.0-next-
|
|
37
|
+
- @modern-js/server-utils@0.0.0-next-20221220043320
|
|
38
|
+
- @modern-js/utils@0.0.0-next-20221220043320
|
|
39
|
+
- @modern-js/babel-compiler@0.0.0-next-20221220043320
|
|
40
40
|
|
|
41
41
|
## 2.0.0-beta.4
|
|
42
42
|
|
package/dist/js/modern/cli.js
CHANGED
package/dist/js/node/cli.js
CHANGED
|
@@ -184,6 +184,15 @@ var cli_default = function() {
|
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
186
|
})();
|
|
187
|
+
},
|
|
188
|
+
collectServerPlugins: function collectServerPlugins(param) {
|
|
189
|
+
var plugins = param.plugins;
|
|
190
|
+
plugins.push({
|
|
191
|
+
"@modern-js/plugin-server": "@modern-js/plugin-server/server"
|
|
192
|
+
});
|
|
193
|
+
return {
|
|
194
|
+
plugins: plugins
|
|
195
|
+
};
|
|
187
196
|
}
|
|
188
197
|
};
|
|
189
198
|
}
|
package/dist/types/cli.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { CliPlugin } from '@modern-js/core';
|
|
2
|
-
import {
|
|
2
|
+
import type { AppTools } from '@modern-js/app-tools';
|
|
3
3
|
|
|
4
|
-
declare const _default: () => CliPlugin<
|
|
5
|
-
userConfig: UserConfig;
|
|
6
|
-
normalizedConfig: Required<UserConfig>;
|
|
7
|
-
}>;
|
|
4
|
+
declare const _default: () => CliPlugin<AppTools>;
|
|
8
5
|
|
|
9
6
|
export default _default;
|
package/package.json
CHANGED
|
@@ -11,18 +11,14 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-20221220043320",
|
|
15
15
|
"types": "./dist/types/server.d.ts",
|
|
16
|
-
"jsnext:source": "./src/
|
|
17
|
-
"main": "./dist/js/node/
|
|
16
|
+
"jsnext:source": "./src/cli",
|
|
17
|
+
"main": "./dist/js/node/cli.js",
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"import": "./dist/js/modern/server.js",
|
|
23
|
-
"require": "./dist/js/node/server.js"
|
|
24
|
-
},
|
|
25
|
-
"default": "./dist/js/treeshaking/server.js"
|
|
20
|
+
"jsnext:source": "./src/cli.ts",
|
|
21
|
+
"default": "./dist/js/node/cli.js"
|
|
26
22
|
},
|
|
27
23
|
"./cli": {
|
|
28
24
|
"jsnext:source": "./src/cli.ts",
|
|
@@ -48,20 +44,21 @@
|
|
|
48
44
|
},
|
|
49
45
|
"dependencies": {
|
|
50
46
|
"@babel/runtime": "^7.18.0",
|
|
51
|
-
"@modern-js/
|
|
52
|
-
"@modern-js/
|
|
53
|
-
"@modern-js/utils": "0.0.0-next-
|
|
47
|
+
"@modern-js/server-utils": "0.0.0-next-20221220043320",
|
|
48
|
+
"@modern-js/babel-compiler": "0.0.0-next-20221220043320",
|
|
49
|
+
"@modern-js/utils": "0.0.0-next-20221220043320"
|
|
54
50
|
},
|
|
55
51
|
"devDependencies": {
|
|
56
52
|
"typescript": "^4",
|
|
57
53
|
"@types/jest": "^27",
|
|
58
54
|
"@types/node": "^14",
|
|
59
55
|
"jest": "^27",
|
|
60
|
-
"@modern-js/server-core": "0.0.0-next-
|
|
61
|
-
"@modern-js/
|
|
62
|
-
"@
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
56
|
+
"@modern-js/server-core": "0.0.0-next-20221220043320",
|
|
57
|
+
"@modern-js/app-tools": "0.0.0-next-20221220043320",
|
|
58
|
+
"@modern-js/core": "0.0.0-next-20221220043320",
|
|
59
|
+
"@scripts/build": "0.0.0-next-20221220043320",
|
|
60
|
+
"@modern-js/types": "0.0.0-next-20221220043320",
|
|
61
|
+
"@scripts/jest-config": "0.0.0-next-20221220043320"
|
|
65
62
|
},
|
|
66
63
|
"sideEffects": [
|
|
67
64
|
"*.css",
|