@modern-js/repo-generator 2.3.4-alpha.0 → 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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +12 -13
package/dist/index.js CHANGED
@@ -99991,7 +99991,7 @@ var init_solution = __esmMin(() => {
99991
99991
  mutualExclusion: true,
99992
99992
  items: function items(_data, extra) {
99993
99993
  var _extra$customPlugin, _extra$customPlugin$c;
99994
- var items5 = Object.values(Solution).filter(function(solution) {
99994
+ var items5 = ((extra === null || extra === void 0 ? void 0 : extra.solutions) || Object.values(Solution)).filter(function(solution) {
99995
99995
  return !(extra !== null && extra !== void 0 && extra.isSubProject && solution === Solution.Monorepo);
99996
99996
  }).map(function(solution) {
99997
99997
  return {
@@ -131593,7 +131593,8 @@ var require_chainId2 = __commonJSMin((exports) => {
131593
131593
  REACT_FAST_REFRESH: "react-fast-refresh",
131594
131594
  NODE_POLYFILL_PROVIDE: "node-polyfill-provide",
131595
131595
  SUBRESOURCE_INTEGRITY: "subresource-integrity",
131596
- ASSETS_RETRY: "ASSETS_RETRY"
131596
+ ASSETS_RETRY: "ASSETS_RETRY",
131597
+ AUTO_SET_ROOT_SIZE: "auto-set-root-size"
131597
131598
  },
131598
131599
  MINIMIZER: {
131599
131600
  JS: "js",
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.3.4-alpha.0",
14
+ "version": "2.4.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/index.js",
17
17
  "files": [
@@ -23,18 +23,18 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@babel/runtime": "^7.18.0",
26
- "@modern-js/base-generator": "2.3.4-alpha.0",
26
+ "@modern-js/base-generator": "2.4.0",
27
27
  "@modern-js/codesmith": "^1.5.0",
28
28
  "@modern-js/codesmith-api-app": "^1.5.0",
29
- "@modern-js/generator-common": "2.3.4-alpha.0",
30
- "@modern-js/generator-plugin": "2.3.4-alpha.0",
31
- "@modern-js/generator-utils": "2.3.4-alpha.0",
32
- "@modern-js/module-generator": "2.3.4-alpha.0",
33
- "@modern-js/monorepo-generator": "2.3.4-alpha.0",
34
- "@modern-js/mwa-generator": "2.3.4-alpha.0",
35
- "@modern-js/utils": "1.18.1-alpha.0",
36
- "@scripts/build": "1.18.1-alpha.0",
37
- "@scripts/jest-config": "1.18.1-alpha.0",
29
+ "@modern-js/generator-common": "2.4.0",
30
+ "@modern-js/generator-plugin": "2.4.0",
31
+ "@modern-js/generator-utils": "2.4.0",
32
+ "@modern-js/module-generator": "2.4.0",
33
+ "@modern-js/monorepo-generator": "2.4.0",
34
+ "@modern-js/mwa-generator": "2.4.0",
35
+ "@modern-js/utils": "1.19.0",
36
+ "@scripts/build": "1.19.0",
37
+ "@scripts/jest-config": "1.19.0",
38
38
  "@types/jest": "^27",
39
39
  "@types/node": "^14",
40
40
  "jest": "^27",
@@ -81,6 +81,5 @@
81
81
  "new": "modern new",
82
82
  "build": "wireit",
83
83
  "test": "wireit"
84
- },
85
- "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"
84
+ }
86
85
  }