@modern-js/repo-generator 0.0.0-next-20221215072333 → 0.0.0-next-20221215084159
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 +18 -9
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -134241,7 +134241,7 @@ var require_constants6 = __commonJS({
|
|
|
134241
134241
|
"../../../toolkit/utils/dist/constants.js"(exports) {
|
|
134242
134242
|
"use strict";
|
|
134243
134243
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
134244
|
-
exports.PLUGIN_SCHEMAS = exports.INTERNAL_SERVER_PLUGINS = exports.INTERNAL_CLI_PLUGINS = exports.INTERNAL_DOC_TOOLS_PLUGINS = exports.INTERNAL_MONOREPO_TOOLS_PLUGINS = exports.INTERNAL_MODULE_TOOLS_PLUGINS = exports.INTERNAL_APP_TOOLS_PLUGINS = exports.LOADER_ROUTES_DIR = exports.ROUTE_MANIFEST = exports.ROUTE_MINIFEST_FILE = 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;
|
|
134244
|
+
exports.PLUGIN_SCHEMAS = exports.INTERNAL_SERVER_PLUGINS = exports.SERVER_PLUGIN_POLYFILL = exports.SERVER_PLUGIN_SERVER = exports.SERVER_PLUGIN_NEST = exports.SERVER_PLUGIN_KOA = exports.SERVER_PLUGIN_EGG = exports.SERVER_PLUGIN_EXPRESS = exports.SERVER_PLUGIN_BFF = exports.INTERNAL_CLI_PLUGINS = exports.INTERNAL_DOC_TOOLS_PLUGINS = exports.INTERNAL_MONOREPO_TOOLS_PLUGINS = exports.INTERNAL_MODULE_TOOLS_PLUGINS = exports.INTERNAL_APP_TOOLS_RUNTIME_PLUGINS = exports.INTERNAL_APP_TOOLS_PLUGINS = exports.LOADER_ROUTES_DIR = exports.ROUTE_MANIFEST = exports.ROUTE_MINIFEST_FILE = 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;
|
|
134245
134245
|
exports.HMR_SOCK_PATH = "/webpack-hmr";
|
|
134246
134246
|
exports.ROUTE_SPEC_FILE = "route.json";
|
|
134247
134247
|
exports.MAIN_ENTRY_NAME = "main";
|
|
@@ -134262,7 +134262,6 @@ var require_constants6 = __commonJS({
|
|
|
134262
134262
|
exports.LOADER_ROUTES_DIR = `loader-routes`;
|
|
134263
134263
|
exports.INTERNAL_APP_TOOLS_PLUGINS = {
|
|
134264
134264
|
"@modern-js/app-tools": "@modern-js/app-tools/cli",
|
|
134265
|
-
"@modern-js/runtime": "@modern-js/runtime/cli",
|
|
134266
134265
|
"@modern-js/plugin-proxy": "@modern-js/plugin-proxy/cli",
|
|
134267
134266
|
"@modern-js/plugin-ssg": "@modern-js/plugin-ssg/cli",
|
|
134268
134267
|
"@modern-js/plugin-bff": "@modern-js/plugin-bff/cli",
|
|
@@ -134278,6 +134277,9 @@ var require_constants6 = __commonJS({
|
|
|
134278
134277
|
"@modern-js/plugin-polyfill": "@modern-js/plugin-polyfill/cli",
|
|
134279
134278
|
"@modern-js/plugin-router-legacy": "@modern-js/plugin-router-legacy/cli"
|
|
134280
134279
|
};
|
|
134280
|
+
exports.INTERNAL_APP_TOOLS_RUNTIME_PLUGINS = {
|
|
134281
|
+
"@modern-js/runtime": "@modern-js/runtime/cli"
|
|
134282
|
+
};
|
|
134281
134283
|
exports.INTERNAL_MODULE_TOOLS_PLUGINS = {
|
|
134282
134284
|
"@modern-js/module-tools": "@modern-js/module-tools",
|
|
134283
134285
|
"@modern-js/doc-tools": "@modern-js/doc-tools",
|
|
@@ -134319,14 +134321,21 @@ var require_constants6 = __commonJS({
|
|
|
134319
134321
|
"@modern-js/plugin-nocode": "@modern-js/plugin-nocode/cli",
|
|
134320
134322
|
"@modern-js/plugin-router-legacy": "@modern-js/plugin-router-legacy/cli"
|
|
134321
134323
|
};
|
|
134324
|
+
exports.SERVER_PLUGIN_BFF = "@modern-js/plugin-bff";
|
|
134325
|
+
exports.SERVER_PLUGIN_EXPRESS = "@modern-js/plugin-express";
|
|
134326
|
+
exports.SERVER_PLUGIN_EGG = "@modern-js/plugin-egg";
|
|
134327
|
+
exports.SERVER_PLUGIN_KOA = "@modern-js/plugin-koa";
|
|
134328
|
+
exports.SERVER_PLUGIN_NEST = "@modern-js/plugin-nest";
|
|
134329
|
+
exports.SERVER_PLUGIN_SERVER = "@modern-js/plugin-server";
|
|
134330
|
+
exports.SERVER_PLUGIN_POLYFILL = "@modern-js/plugin-polyfill";
|
|
134322
134331
|
exports.INTERNAL_SERVER_PLUGINS = {
|
|
134323
|
-
|
|
134324
|
-
|
|
134325
|
-
|
|
134326
|
-
|
|
134327
|
-
|
|
134328
|
-
|
|
134329
|
-
|
|
134332
|
+
[exports.SERVER_PLUGIN_BFF]: "@modern-js/plugin-bff/server",
|
|
134333
|
+
[exports.SERVER_PLUGIN_EXPRESS]: "@modern-js/plugin-express/server",
|
|
134334
|
+
[exports.SERVER_PLUGIN_EGG]: "@modern-js/plugin-egg/server",
|
|
134335
|
+
[exports.SERVER_PLUGIN_KOA]: "@modern-js/plugin-koa/server",
|
|
134336
|
+
[exports.SERVER_PLUGIN_NEST]: "@modern-js/plugin-nest/server",
|
|
134337
|
+
[exports.SERVER_PLUGIN_SERVER]: "@modern-js/plugin-server/server",
|
|
134338
|
+
[exports.SERVER_PLUGIN_POLYFILL]: "@modern-js/plugin-polyfill/server"
|
|
134330
134339
|
};
|
|
134331
134340
|
exports.PLUGIN_SCHEMAS = {
|
|
134332
134341
|
"@modern-js/runtime": [
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-20221215084159",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"@types/node": "^14",
|
|
27
27
|
"jest": "^27",
|
|
28
28
|
"typescript": "^4",
|
|
29
|
-
"@modern-js/base-generator": "0.0.0-next-
|
|
30
|
-
"@modern-js/generator-common": "0.0.0-next-
|
|
31
|
-
"@modern-js/generator-plugin": "0.0.0-next-
|
|
32
|
-
"@modern-js/generator-utils": "0.0.0-next-
|
|
33
|
-
"@modern-js/module-generator": "0.0.0-next-
|
|
34
|
-
"@modern-js/monorepo-generator": "0.0.0-next-
|
|
35
|
-
"@modern-js/
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@scripts/build": "0.0.0-next-
|
|
38
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
29
|
+
"@modern-js/base-generator": "0.0.0-next-20221215084159",
|
|
30
|
+
"@modern-js/generator-common": "0.0.0-next-20221215084159",
|
|
31
|
+
"@modern-js/generator-plugin": "0.0.0-next-20221215084159",
|
|
32
|
+
"@modern-js/generator-utils": "0.0.0-next-20221215084159",
|
|
33
|
+
"@modern-js/module-generator": "0.0.0-next-20221215084159",
|
|
34
|
+
"@modern-js/monorepo-generator": "0.0.0-next-20221215084159",
|
|
35
|
+
"@modern-js/mwa-generator": "0.0.0-next-20221215084159",
|
|
36
|
+
"@modern-js/utils": "0.0.0-next-20221215084159",
|
|
37
|
+
"@scripts/build": "0.0.0-next-20221215084159",
|
|
38
|
+
"@scripts/jest-config": "0.0.0-next-20221215084159"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"publishConfig": {
|