@modern-js/dependence-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 +6 -7
package/dist/index.js CHANGED
@@ -100930,7 +100930,7 @@ var init_solution = __esmMin(() => {
100930
100930
  mutualExclusion: true,
100931
100931
  items: function items(_data, extra) {
100932
100932
  var _extra$customPlugin, _extra$customPlugin$c;
100933
- var items5 = Object.values(Solution).filter(function(solution) {
100933
+ var items5 = ((extra === null || extra === void 0 ? void 0 : extra.solutions) || Object.values(Solution)).filter(function(solution) {
100934
100934
  return !(extra !== null && extra !== void 0 && extra.isSubProject && solution === Solution.Monorepo);
100935
100935
  }).map(function(solution) {
100936
100936
  return {
@@ -132532,7 +132532,8 @@ var require_chainId2 = __commonJSMin((exports) => {
132532
132532
  REACT_FAST_REFRESH: "react-fast-refresh",
132533
132533
  NODE_POLYFILL_PROVIDE: "node-polyfill-provide",
132534
132534
  SUBRESOURCE_INTEGRITY: "subresource-integrity",
132535
- ASSETS_RETRY: "ASSETS_RETRY"
132535
+ ASSETS_RETRY: "ASSETS_RETRY",
132536
+ AUTO_SET_ROOT_SIZE: "auto-set-root-size"
132536
132537
  },
132537
132538
  MINIMIZER: {
132538
132539
  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,10 +23,10 @@
23
23
  "@modern-js/codesmith": "^1.5.0",
24
24
  "@modern-js/codesmith-api-app": "^1.5.0",
25
25
  "@modern-js/codesmith-api-json": "^1.5.0",
26
- "@modern-js/generator-common": "2.3.4-alpha.0",
27
- "@modern-js/generator-utils": "2.3.4-alpha.0",
28
- "@scripts/build": "1.18.1-alpha.0",
29
- "@scripts/jest-config": "1.18.1-alpha.0",
26
+ "@modern-js/generator-common": "2.4.0",
27
+ "@modern-js/generator-utils": "2.4.0",
28
+ "@scripts/build": "1.19.0",
29
+ "@scripts/jest-config": "1.19.0",
30
30
  "@types/jest": "^27",
31
31
  "@types/node": "^14",
32
32
  "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
  }