@modern-js/plugin-server 0.0.0-next-20221216033929 → 0.0.0-next-20221216065658
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 +3 -2
- package/dist/js/node/cli.js +3 -2
- package/dist/js/treeshaking/cli.js +3 -2
- package/package.json +10 -10
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-20221216065658
|
|
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-20221216065658
|
|
38
|
+
- @modern-js/utils@0.0.0-next-20221216065658
|
|
39
|
+
- @modern-js/babel-compiler@0.0.0-next-20221216065658
|
|
40
40
|
|
|
41
41
|
## 2.0.0-beta.4
|
|
42
42
|
|
package/dist/js/modern/cli.js
CHANGED
|
@@ -22,7 +22,6 @@ import fs from "fs";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { compile } from "@modern-js/server-utils";
|
|
24
24
|
import { SHARED_DIR, SERVER_DIR } from "@modern-js/utils";
|
|
25
|
-
import { SERVER_PLUGIN_SERVER } from "@modern-js/utils/constants";
|
|
26
25
|
const TS_CONFIG_FILENAME = "tsconfig.json";
|
|
27
26
|
var cli_default = () => ({
|
|
28
27
|
name: "@modern-js/plugin-server",
|
|
@@ -67,7 +66,9 @@ var cli_default = () => ({
|
|
|
67
66
|
});
|
|
68
67
|
},
|
|
69
68
|
collectServerPlugins({ plugins }) {
|
|
70
|
-
plugins.push(
|
|
69
|
+
plugins.push({
|
|
70
|
+
"@modern-js/plugin-server": "@modern-js/plugin-server/server"
|
|
71
|
+
});
|
|
71
72
|
return { plugins };
|
|
72
73
|
}
|
|
73
74
|
})
|
package/dist/js/node/cli.js
CHANGED
|
@@ -30,7 +30,6 @@ var import_fs = __toESM(require("fs"));
|
|
|
30
30
|
var import_path = __toESM(require("path"));
|
|
31
31
|
var import_server_utils = require("@modern-js/server-utils");
|
|
32
32
|
var import_utils = require("@modern-js/utils");
|
|
33
|
-
var import_constants = require("@modern-js/utils/constants");
|
|
34
33
|
var __async = (__this, __arguments, generator) => {
|
|
35
34
|
return new Promise((resolve, reject) => {
|
|
36
35
|
var fulfilled = (value) => {
|
|
@@ -95,7 +94,9 @@ var cli_default = () => ({
|
|
|
95
94
|
});
|
|
96
95
|
},
|
|
97
96
|
collectServerPlugins({ plugins }) {
|
|
98
|
-
plugins.push(
|
|
97
|
+
plugins.push({
|
|
98
|
+
"@modern-js/plugin-server": "@modern-js/plugin-server/server"
|
|
99
|
+
});
|
|
99
100
|
return { plugins };
|
|
100
101
|
}
|
|
101
102
|
})
|
|
@@ -126,7 +126,6 @@ import fs from "fs";
|
|
|
126
126
|
import path from "path";
|
|
127
127
|
import { compile } from "@modern-js/server-utils";
|
|
128
128
|
import { SHARED_DIR, SERVER_DIR } from "@modern-js/utils";
|
|
129
|
-
import { SERVER_PLUGIN_SERVER } from "@modern-js/utils/constants";
|
|
130
129
|
var TS_CONFIG_FILENAME = "tsconfig.json";
|
|
131
130
|
var cli_default = function() {
|
|
132
131
|
return {
|
|
@@ -188,7 +187,9 @@ var cli_default = function() {
|
|
|
188
187
|
},
|
|
189
188
|
collectServerPlugins: function collectServerPlugins(param) {
|
|
190
189
|
var plugins = param.plugins;
|
|
191
|
-
plugins.push(
|
|
190
|
+
plugins.push({
|
|
191
|
+
"@modern-js/plugin-server": "@modern-js/plugin-server/server"
|
|
192
|
+
});
|
|
192
193
|
return {
|
|
193
194
|
plugins: plugins
|
|
194
195
|
};
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-20221216065658",
|
|
15
15
|
"types": "./dist/types/server.d.ts",
|
|
16
16
|
"jsnext:source": "./src/cli",
|
|
17
17
|
"main": "./dist/js/node/cli.js",
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@babel/runtime": "^7.18.0",
|
|
47
|
-
"@modern-js/babel-compiler": "0.0.0-next-
|
|
48
|
-
"@modern-js/utils": "0.0.0-next-
|
|
49
|
-
"@modern-js/
|
|
47
|
+
"@modern-js/babel-compiler": "0.0.0-next-20221216065658",
|
|
48
|
+
"@modern-js/server-utils": "0.0.0-next-20221216065658",
|
|
49
|
+
"@modern-js/utils": "0.0.0-next-20221216065658"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"typescript": "^4",
|
|
53
53
|
"@types/jest": "^27",
|
|
54
54
|
"@types/node": "^14",
|
|
55
55
|
"jest": "^27",
|
|
56
|
-
"@modern-js/server-core": "0.0.0-next-
|
|
57
|
-
"@modern-js/app-tools": "0.0.0-next-
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"@modern-js/types": "0.0.0-next-
|
|
61
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
56
|
+
"@modern-js/server-core": "0.0.0-next-20221216065658",
|
|
57
|
+
"@modern-js/app-tools": "0.0.0-next-20221216065658",
|
|
58
|
+
"@modern-js/core": "0.0.0-next-20221216065658",
|
|
59
|
+
"@scripts/build": "0.0.0-next-20221216065658",
|
|
60
|
+
"@modern-js/types": "0.0.0-next-20221216065658",
|
|
61
|
+
"@scripts/jest-config": "0.0.0-next-20221216065658"
|
|
62
62
|
},
|
|
63
63
|
"sideEffects": [
|
|
64
64
|
"*.css",
|