@modern-js/server-generator 2.3.4 → 2.4.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/dist/index.js +3 -2
- package/package.json +6 -7
package/dist/index.js
CHANGED
|
@@ -36190,7 +36190,8 @@ var require_chainId = __commonJSMin((exports) => {
|
|
|
36190
36190
|
REACT_FAST_REFRESH: "react-fast-refresh",
|
|
36191
36191
|
NODE_POLYFILL_PROVIDE: "node-polyfill-provide",
|
|
36192
36192
|
SUBRESOURCE_INTEGRITY: "subresource-integrity",
|
|
36193
|
-
ASSETS_RETRY: "ASSETS_RETRY"
|
|
36193
|
+
ASSETS_RETRY: "ASSETS_RETRY",
|
|
36194
|
+
AUTO_SET_ROOT_SIZE: "auto-set-root-size"
|
|
36194
36195
|
},
|
|
36195
36196
|
MINIMIZER: {
|
|
36196
36197
|
JS: "js",
|
|
@@ -36784,7 +36785,7 @@ var init_solution = __esmMin(() => {
|
|
|
36784
36785
|
mutualExclusion: true,
|
|
36785
36786
|
items: function items(_data, extra) {
|
|
36786
36787
|
var _extra$customPlugin, _extra$customPlugin$c;
|
|
36787
|
-
var items5 = Object.values(Solution).filter(function(solution) {
|
|
36788
|
+
var items5 = ((extra === null || extra === void 0 ? void 0 : extra.solutions) || Object.values(Solution)).filter(function(solution) {
|
|
36788
36789
|
return !(extra !== null && extra !== void 0 && extra.isSubProject && solution === Solution.Monorepo);
|
|
36789
36790
|
}).map(function(solution) {
|
|
36790
36791
|
return {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.
|
|
14
|
+
"version": "2.4.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./src/index.ts",
|
|
17
17
|
"main": "./dist/index.js",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@modern-js/codesmith": "^1.5.0",
|
|
25
25
|
"@modern-js/codesmith-api-app": "^1.5.0",
|
|
26
26
|
"@modern-js/codesmith-api-json": "^1.5.0",
|
|
27
|
-
"@modern-js/generator-common": "2.
|
|
28
|
-
"@modern-js/generator-utils": "2.
|
|
29
|
-
"@scripts/build": "1.
|
|
30
|
-
"@scripts/jest-config": "1.
|
|
27
|
+
"@modern-js/generator-common": "2.4.0",
|
|
28
|
+
"@modern-js/generator-utils": "2.4.0",
|
|
29
|
+
"@scripts/build": "1.19.0",
|
|
30
|
+
"@scripts/jest-config": "1.19.0",
|
|
31
31
|
"@types/jest": "^27",
|
|
32
32
|
"@types/node": "^14",
|
|
33
33
|
"jest": "^27",
|
|
@@ -73,6 +73,5 @@
|
|
|
73
73
|
"new": "modern new",
|
|
74
74
|
"build": "wireit",
|
|
75
75
|
"test": "wireit"
|
|
76
|
-
}
|
|
77
|
-
"readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
|
|
76
|
+
}
|
|
78
77
|
}
|