@modern-js/repo-generator 0.0.0-canary-20221021072500 → 0.0.0-canary-20221021093131

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 +52 -54
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -143382,7 +143382,7 @@ var require_compatRequire2 = __commonJSMin((exports) => {
143382
143382
  var require_constants6 = __commonJSMin((exports) => {
143383
143383
  "use strict";
143384
143384
  Object.defineProperty(exports, "__esModule", { value: true });
143385
- exports.PLUGIN_SCHEMAS = exports.INTERNAL_SERVER_PLUGINS = exports.INTERNAL_CLI_PLUGINS = exports.DEFAULT_SERVER_CONFIG = exports.OUTPUT_CONFIG_FILE = exports.CONFIG_FILE_EXTENSIONS = exports.CONFIG_CACHE_DIR = exports.SHARED_DIR = exports.SERVER_DIR = exports.API_DIR = exports.LOADABLE_STATS_FILE = exports.SERVER_RENDER_FUNCTION_NAME = exports.ENTRY_NAME_PATTERN = exports.SERVER_BUNDLE_DIRECTORY = exports.LAUNCH_EDITOR_ENDPOINT = exports.MAIN_ENTRY_NAME = exports.ROUTE_SPEC_FILE = exports.HMR_SOCK_PATH = void 0;
143385
+ exports.PLUGIN_SCHEMAS = exports.INTERNAL_PLUGINS = exports.DEFAULT_SERVER_CONFIG = exports.OUTPUT_CONFIG_FILE = exports.CONFIG_FILE_EXTENSIONS = exports.CONFIG_CACHE_DIR = exports.SHARED_DIR = exports.SERVER_DIR = exports.API_DIR = exports.LOADABLE_STATS_FILE = exports.SERVER_RENDER_FUNCTION_NAME = exports.ENTRY_NAME_PATTERN = exports.SERVER_BUNDLE_DIRECTORY = exports.LAUNCH_EDITOR_ENDPOINT = exports.MAIN_ENTRY_NAME = exports.ROUTE_SPEC_FILE = exports.HMR_SOCK_PATH = void 0;
143386
143386
  exports.HMR_SOCK_PATH = "/webpack-hmr";
143387
143387
  exports.ROUTE_SPEC_FILE = "route.json";
143388
143388
  exports.MAIN_ENTRY_NAME = "main";
@@ -143398,39 +143398,57 @@ var require_constants6 = __commonJSMin((exports) => {
143398
143398
  exports.CONFIG_FILE_EXTENSIONS = [".js", ".ts", ".ejs", ".mjs"];
143399
143399
  exports.OUTPUT_CONFIG_FILE = "modern.config.json";
143400
143400
  exports.DEFAULT_SERVER_CONFIG = "modern.server-runtime.config";
143401
- exports.INTERNAL_CLI_PLUGINS = {
143402
- "@modern-js/app-tools": "@modern-js/app-tools/cli",
143403
- "@modern-js/monorepo-tools": "@modern-js/monorepo-tools/cli",
143404
- "@modern-js/module-tools": "@modern-js/module-tools/cli",
143405
- "@modern-js/module-tools-v2": "@modern-js/module-tools-v2",
143406
- "@modern-js/runtime": "@modern-js/runtime/cli",
143407
- "@modern-js/plugin-less": "@modern-js/plugin-less/cli",
143408
- "@modern-js/plugin-sass": "@modern-js/plugin-sass/cli",
143409
- "@modern-js/plugin-esbuild": "@modern-js/plugin-esbuild/cli",
143410
- "@modern-js/plugin-proxy": "@modern-js/plugin-proxy/cli",
143411
- "@modern-js/plugin-ssg": "@modern-js/plugin-ssg/cli",
143412
- "@modern-js/plugin-bff": "@modern-js/plugin-bff/cli",
143413
- "@modern-js/plugin-testing": "@modern-js/plugin-testing/cli",
143414
- "@modern-js/plugin-storybook": "@modern-js/plugin-storybook/cli",
143415
- "@modern-js/plugin-express": "@modern-js/plugin-express/cli",
143416
- "@modern-js/plugin-egg": "@modern-js/plugin-egg/cli",
143417
- "@modern-js/plugin-koa": "@modern-js/plugin-koa/cli",
143418
- "@modern-js/plugin-nest": "@modern-js/plugin-nest/cli",
143419
- "@modern-js/plugin-server": "@modern-js/plugin-server/cli",
143420
- "@modern-js/plugin-garfish": "@modern-js/plugin-garfish/cli",
143421
- "@modern-js/plugin-tailwindcss": "@modern-js/plugin-tailwindcss/cli",
143422
- "@modern-js/plugin-polyfill": "@modern-js/plugin-polyfill/cli",
143423
- "@modern-js/plugin-nocode": "@modern-js/plugin-nocode/cli",
143424
- "@modern-js/plugin-router-legacy": "@modern-js/plugin-router-legacy/cli"
143425
- };
143426
- exports.INTERNAL_SERVER_PLUGINS = {
143427
- "@modern-js/plugin-bff": "@modern-js/plugin-bff/server",
143428
- "@modern-js/plugin-express": "@modern-js/plugin-express",
143429
- "@modern-js/plugin-egg": "@modern-js/plugin-egg",
143430
- "@modern-js/plugin-koa": "@modern-js/plugin-koa",
143431
- "@modern-js/plugin-nest": "@modern-js/plugin-nest/server",
143432
- "@modern-js/plugin-server": "@modern-js/plugin-server/server",
143433
- "@modern-js/plugin-polyfill": "@modern-js/plugin-polyfill"
143401
+ exports.INTERNAL_PLUGINS = {
143402
+ "@modern-js/app-tools": { cli: "@modern-js/app-tools/cli" },
143403
+ "@modern-js/monorepo-tools": { cli: "@modern-js/monorepo-tools/cli" },
143404
+ "@modern-js/module-tools": { cli: "@modern-js/module-tools/cli" },
143405
+ "@modern-js/module-tools-v2": { cli: "@modern-js/module-tools-v2" },
143406
+ "@modern-js/runtime": { cli: "@modern-js/runtime/cli" },
143407
+ "@modern-js/plugin-less": { cli: "@modern-js/plugin-less/cli" },
143408
+ "@modern-js/plugin-sass": { cli: "@modern-js/plugin-sass/cli" },
143409
+ "@modern-js/plugin-esbuild": { cli: "@modern-js/plugin-esbuild/cli" },
143410
+ "@modern-js/plugin-proxy": { cli: "@modern-js/plugin-proxy/cli" },
143411
+ "@modern-js/plugin-ssg": { cli: "@modern-js/plugin-ssg/cli" },
143412
+ "@modern-js/plugin-bff": {
143413
+ cli: "@modern-js/plugin-bff/cli",
143414
+ server: "@modern-js/plugin-bff/server"
143415
+ },
143416
+ "@modern-js/plugin-electron": { cli: "@modern-js/plugin-electron/cli" },
143417
+ "@modern-js/plugin-testing": { cli: "@modern-js/plugin-testing/cli" },
143418
+ "@modern-js/plugin-storybook": { cli: "@modern-js/plugin-storybook/cli" },
143419
+ "@modern-js/plugin-express": {
143420
+ cli: "@modern-js/plugin-express/cli",
143421
+ server: "@modern-js/plugin-express"
143422
+ },
143423
+ "@modern-js/plugin-egg": {
143424
+ cli: "@modern-js/plugin-egg/cli",
143425
+ server: "@modern-js/plugin-egg"
143426
+ },
143427
+ "@modern-js/plugin-koa": {
143428
+ cli: "@modern-js/plugin-koa/cli",
143429
+ server: "@modern-js/plugin-koa"
143430
+ },
143431
+ "@modern-js/plugin-nest": {
143432
+ cli: "@modern-js/plugin-nest/cli",
143433
+ server: "@modern-js/plugin-nest/server"
143434
+ },
143435
+ "@modern-js/plugin-unbundle": { cli: "@modern-js/plugin-unbundle" },
143436
+ "@modern-js/plugin-server": {
143437
+ cli: "@modern-js/plugin-server/cli",
143438
+ server: "@modern-js/plugin-server/server"
143439
+ },
143440
+ "@modern-js/plugin-garfish": {
143441
+ cli: "@modern-js/plugin-garfish/cli"
143442
+ },
143443
+ "@modern-js/plugin-tailwindcss": { cli: "@modern-js/plugin-tailwindcss/cli" },
143444
+ "@modern-js/plugin-polyfill": {
143445
+ cli: "@modern-js/plugin-polyfill/cli",
143446
+ server: "@modern-js/plugin-polyfill"
143447
+ },
143448
+ "@modern-js/plugin-nocode": { cli: "@modern-js/plugin-nocode/cli" },
143449
+ "@modern-js/plugin-router-legacy": {
143450
+ cli: "@modern-js/plugin-router-legacy/cli"
143451
+ }
143434
143452
  };
143435
143453
  exports.PLUGIN_SCHEMAS = {
143436
143454
  "@modern-js/runtime": [
@@ -144574,25 +144592,6 @@ var require_version2 = __commonJSMin((exports) => {
144574
144592
  };
144575
144593
  exports.isReact18 = isReact18;
144576
144594
  });
144577
- var require_plugin = __commonJSMin((exports) => {
144578
- "use strict";
144579
- Object.defineProperty(exports, "__esModule", { value: true });
144580
- exports.getInternalPlugins = void 0;
144581
- var constants_1 = require_constants6();
144582
- var is_1 = require_is2();
144583
- function getInternalPlugins(appDirectory, internalPlugins = constants_1.INTERNAL_CLI_PLUGINS) {
144584
- return [
144585
- ...Object.keys(internalPlugins).filter((name5) => {
144586
- const config = internalPlugins[name5];
144587
- if (typeof config !== "string" && config.forced === true) {
144588
- return true;
144589
- }
144590
- return (0, is_1.isDepExists)(appDirectory, name5);
144591
- }).map((name5) => internalPlugins[name5])
144592
- ];
144593
- }
144594
- exports.getInternalPlugins = getInternalPlugins;
144595
- });
144596
144595
  var require_dist2 = __commonJSMin((exports) => {
144597
144596
  "use strict";
144598
144597
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -144653,7 +144652,6 @@ var require_dist2 = __commonJSMin((exports) => {
144653
144652
  __exportStar(require_analyzeProject2(), exports);
144654
144653
  __exportStar(require_chainId2(), exports);
144655
144654
  __exportStar(require_version2(), exports);
144656
- __exportStar(require_plugin(), exports);
144657
144655
  });
144658
144656
  var require_strip_ansi4 = __commonJSMin((exports) => {
144659
144657
  "use strict";
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-canary-20221021072500",
14
+ "version": "0.0.0-canary-20221021093131",
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": "0.0.0-canary-20221021072500",
26
+ "@modern-js/base-generator": "0.0.0-canary-20221021093131",
27
27
  "@modern-js/codesmith": "1.6.3",
28
28
  "@modern-js/codesmith-api-app": "1.6.3",
29
- "@modern-js/generator-common": "0.0.0-canary-20221021072500",
30
- "@modern-js/generator-plugin": "0.0.0-canary-20221021072500",
31
- "@modern-js/generator-utils": "0.0.0-canary-20221021072500",
32
- "@modern-js/module-generator": "0.0.0-canary-20221021072500",
33
- "@modern-js/monorepo-generator": "0.0.0-canary-20221021072500",
34
- "@modern-js/mwa-generator": "0.0.0-canary-20221021072500",
35
- "@modern-js/utils": "0.0.0-canary-20221021072500",
36
- "@scripts/build": "0.0.0-canary-20221021072500",
37
- "@scripts/jest-config": "0.0.0-canary-20221021072500",
29
+ "@modern-js/generator-common": "0.0.0-canary-20221021093131",
30
+ "@modern-js/generator-plugin": "0.0.0-canary-20221021093131",
31
+ "@modern-js/generator-utils": "0.0.0-canary-20221021093131",
32
+ "@modern-js/module-generator": "0.0.0-canary-20221021093131",
33
+ "@modern-js/monorepo-generator": "0.0.0-canary-20221021093131",
34
+ "@modern-js/mwa-generator": "0.0.0-canary-20221021093131",
35
+ "@modern-js/utils": "0.0.0-canary-20221021093131",
36
+ "@scripts/build": "0.0.0-canary-20221021093131",
37
+ "@scripts/jest-config": "0.0.0-canary-20221021093131",
38
38
  "@types/jest": "^27",
39
39
  "@types/node": "^14",
40
40
  "jest": "^27",