@modern-js/repo-generator 0.0.0-next-20221218140542 → 0.0.0-next-20221219034957
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
|
@@ -134249,7 +134249,7 @@ var require_constants6 = __commonJS({
|
|
|
134249
134249
|
"../../../toolkit/utils/dist/constants.js"(exports) {
|
|
134250
134250
|
"use strict";
|
|
134251
134251
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
134252
|
-
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;
|
|
134252
|
+
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;
|
|
134253
134253
|
exports.HMR_SOCK_PATH = "/webpack-hmr";
|
|
134254
134254
|
exports.ROUTE_SPEC_FILE = "route.json";
|
|
134255
134255
|
exports.MAIN_ENTRY_NAME = "main";
|
|
@@ -134270,7 +134270,6 @@ var require_constants6 = __commonJS({
|
|
|
134270
134270
|
exports.LOADER_ROUTES_DIR = `loader-routes`;
|
|
134271
134271
|
exports.INTERNAL_APP_TOOLS_PLUGINS = {
|
|
134272
134272
|
"@modern-js/app-tools": "@modern-js/app-tools/cli",
|
|
134273
|
-
"@modern-js/runtime": "@modern-js/runtime/cli",
|
|
134274
134273
|
"@modern-js/plugin-proxy": "@modern-js/plugin-proxy/cli",
|
|
134275
134274
|
"@modern-js/plugin-ssg": "@modern-js/plugin-ssg/cli",
|
|
134276
134275
|
"@modern-js/plugin-bff": "@modern-js/plugin-bff/cli",
|
|
@@ -134286,6 +134285,9 @@ var require_constants6 = __commonJS({
|
|
|
134286
134285
|
"@modern-js/plugin-polyfill": "@modern-js/plugin-polyfill/cli",
|
|
134287
134286
|
"@modern-js/plugin-router-legacy": "@modern-js/plugin-router-legacy/cli"
|
|
134288
134287
|
};
|
|
134288
|
+
exports.INTERNAL_APP_TOOLS_RUNTIME_PLUGINS = {
|
|
134289
|
+
"@modern-js/runtime": "@modern-js/runtime/cli"
|
|
134290
|
+
};
|
|
134289
134291
|
exports.INTERNAL_MODULE_TOOLS_PLUGINS = {
|
|
134290
134292
|
"@modern-js/module-tools": "@modern-js/module-tools",
|
|
134291
134293
|
"@modern-js/doc-tools": "@modern-js/doc-tools",
|
|
@@ -134327,14 +134329,21 @@ var require_constants6 = __commonJS({
|
|
|
134327
134329
|
"@modern-js/plugin-nocode": "@modern-js/plugin-nocode/cli",
|
|
134328
134330
|
"@modern-js/plugin-router-legacy": "@modern-js/plugin-router-legacy/cli"
|
|
134329
134331
|
};
|
|
134332
|
+
exports.SERVER_PLUGIN_BFF = "@modern-js/plugin-bff";
|
|
134333
|
+
exports.SERVER_PLUGIN_EXPRESS = "@modern-js/plugin-express";
|
|
134334
|
+
exports.SERVER_PLUGIN_EGG = "@modern-js/plugin-egg";
|
|
134335
|
+
exports.SERVER_PLUGIN_KOA = "@modern-js/plugin-koa";
|
|
134336
|
+
exports.SERVER_PLUGIN_NEST = "@modern-js/plugin-nest";
|
|
134337
|
+
exports.SERVER_PLUGIN_SERVER = "@modern-js/plugin-server";
|
|
134338
|
+
exports.SERVER_PLUGIN_POLYFILL = "@modern-js/plugin-polyfill";
|
|
134330
134339
|
exports.INTERNAL_SERVER_PLUGINS = {
|
|
134331
|
-
|
|
134332
|
-
|
|
134333
|
-
|
|
134334
|
-
|
|
134335
|
-
|
|
134336
|
-
|
|
134337
|
-
|
|
134340
|
+
[exports.SERVER_PLUGIN_BFF]: "@modern-js/plugin-bff/server",
|
|
134341
|
+
[exports.SERVER_PLUGIN_EXPRESS]: "@modern-js/plugin-express/server",
|
|
134342
|
+
[exports.SERVER_PLUGIN_EGG]: "@modern-js/plugin-egg/server",
|
|
134343
|
+
[exports.SERVER_PLUGIN_KOA]: "@modern-js/plugin-koa/server",
|
|
134344
|
+
[exports.SERVER_PLUGIN_NEST]: "@modern-js/plugin-nest/server",
|
|
134345
|
+
[exports.SERVER_PLUGIN_SERVER]: "@modern-js/plugin-server/server",
|
|
134346
|
+
[exports.SERVER_PLUGIN_POLYFILL]: "@modern-js/plugin-polyfill/server"
|
|
134338
134347
|
};
|
|
134339
134348
|
exports.PLUGIN_SCHEMAS = {
|
|
134340
134349
|
"@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-20221219034957",
|
|
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/mwa-generator": "0.0.0-next-
|
|
36
|
-
"@modern-js/utils": "0.0.0-next-
|
|
37
|
-
"@scripts/build": "0.0.0-next-
|
|
38
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
29
|
+
"@modern-js/base-generator": "0.0.0-next-20221219034957",
|
|
30
|
+
"@modern-js/generator-common": "0.0.0-next-20221219034957",
|
|
31
|
+
"@modern-js/generator-plugin": "0.0.0-next-20221219034957",
|
|
32
|
+
"@modern-js/generator-utils": "0.0.0-next-20221219034957",
|
|
33
|
+
"@modern-js/module-generator": "0.0.0-next-20221219034957",
|
|
34
|
+
"@modern-js/monorepo-generator": "0.0.0-next-20221219034957",
|
|
35
|
+
"@modern-js/mwa-generator": "0.0.0-next-20221219034957",
|
|
36
|
+
"@modern-js/utils": "0.0.0-next-20221219034957",
|
|
37
|
+
"@scripts/build": "0.0.0-next-20221219034957",
|
|
38
|
+
"@scripts/jest-config": "0.0.0-next-20221219034957"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"publishConfig": {
|