@modern-js/repo-generator 0.0.0-canary-20220725095320 → 0.0.0-canary-20220725102515

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 +29 -2
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -130548,6 +130548,7 @@ var require_constants6 = __commonJSMin((exports) => {
130548
130548
  cli: "@modern-js/plugin-nest/cli",
130549
130549
  server: "@modern-js/plugin-nest/server"
130550
130550
  },
130551
+ "@modern-js/plugin-unbundle": { cli: "@modern-js/plugin-unbundle" },
130551
130552
  "@modern-js/plugin-server": {
130552
130553
  cli: "@modern-js/plugin-server/cli",
130553
130554
  server: "@modern-js/plugin-server/server"
@@ -130555,6 +130556,7 @@ var require_constants6 = __commonJSMin((exports) => {
130555
130556
  "@modern-js/plugin-garfish": {
130556
130557
  cli: "@modern-js/plugin-garfish/cli"
130557
130558
  },
130559
+ "@modern-js/plugin-jarvis": { cli: "@modern-js/plugin-jarvis/cli" },
130558
130560
  "@modern-js/plugin-tailwindcss": { cli: "@modern-js/plugin-tailwindcss/cli" },
130559
130561
  "@modern-js/plugin-lambda-fc": { cli: "@modern-js/plugin-lambda-fc/cli" },
130560
130562
  "@modern-js/plugin-lambda-scf": { cli: "@modern-js/plugin-lambda-scf/cli" },
@@ -130640,6 +130642,27 @@ var require_constants6 = __commonJSMin((exports) => {
130640
130642
  schema: { typeof: ["string", "object"] }
130641
130643
  }
130642
130644
  ],
130645
+ "@modern-js/plugin-unbundle": [
130646
+ {
130647
+ target: "output.disableAutoImportStyle",
130648
+ schema: { type: "boolean" }
130649
+ },
130650
+ {
130651
+ target: "dev.unbundle",
130652
+ schema: {
130653
+ type: "object",
130654
+ properties: {
130655
+ ignore: {
130656
+ type: ["string", "array"],
130657
+ items: { type: "string" }
130658
+ },
130659
+ ignoreModuleCache: { type: "boolean" },
130660
+ clearPdnCache: { type: "boolean" },
130661
+ pdnHost: { type: "string" }
130662
+ }
130663
+ }
130664
+ }
130665
+ ],
130643
130666
  "@modern-js/plugin-ssg": [
130644
130667
  {
130645
130668
  target: "output.ssg",
@@ -133222,9 +133245,13 @@ var require_monorepo3 = __commonJSMin((exports) => {
133222
133245
  }
133223
133246
  const plugins = plugin.map((plugin2) => {
133224
133247
  try {
133225
- return _path.default.join(__require.resolve(plugin2), "../../../../");
133248
+ return _path.default.join(__require.resolve(plugin2), "../../");
133226
133249
  } catch (e) {
133227
- return plugin2;
133250
+ try {
133251
+ return _path.default.join(__require.resolve(plugin2), "../../../../");
133252
+ } catch (e2) {
133253
+ return plugin2;
133254
+ }
133228
133255
  }
133229
133256
  });
133230
133257
  const finalConfig = (0, _lodash.merge)(UserConfig, {
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-canary-20220725095320",
14
+ "version": "0.0.0-canary-20220725102515",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/index.js",
17
17
  "files": [
@@ -25,14 +25,14 @@
25
25
  "@babel/runtime": "^7.18.0",
26
26
  "@modern-js/codesmith": "^1.4.0",
27
27
  "@modern-js/codesmith-api-app": "^1.3.0",
28
- "@modern-js/generator-common": "0.0.0-canary-20220725095320",
29
- "@modern-js/generator-utils": "0.0.0-canary-20220725095320",
30
- "@modern-js/module-generator": "0.0.0-canary-20220725095320",
31
- "@modern-js/monorepo-generator": "0.0.0-canary-20220725095320",
32
- "@modern-js/mwa-generator": "0.0.0-canary-20220725095320",
33
- "@modern-js/base-generator": "0.0.0-canary-20220725095320",
34
- "@modern-js/generator-plugin": "0.0.0-canary-20220725095320",
35
- "@modern-js/utils": "0.0.0-canary-20220725095320",
28
+ "@modern-js/generator-common": "0.0.0-canary-20220725102515",
29
+ "@modern-js/generator-utils": "0.0.0-canary-20220725102515",
30
+ "@modern-js/module-generator": "0.0.0-canary-20220725102515",
31
+ "@modern-js/monorepo-generator": "0.0.0-canary-20220725102515",
32
+ "@modern-js/mwa-generator": "0.0.0-canary-20220725102515",
33
+ "@modern-js/base-generator": "0.0.0-canary-20220725102515",
34
+ "@modern-js/generator-plugin": "0.0.0-canary-20220725102515",
35
+ "@modern-js/utils": "1.7.12",
36
36
  "@types/jest": "^27",
37
37
  "@types/node": "^14",
38
38
  "typescript": "^4",