@modern-js/repo-generator 0.0.0-next-20230208120929 → 0.0.0-next-20230208140603
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 +2 -11
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -136422,7 +136422,7 @@ var require_is2 = __commonJS({
|
|
|
136422
136422
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
136423
136423
|
};
|
|
136424
136424
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
136425
|
-
exports.isFastRefresh = exports.
|
|
136425
|
+
exports.isFastRefresh = exports.isUseSSRBundle = exports.isSSR = exports.isEmpty = exports.isTypescript = exports.isDepExists = void 0;
|
|
136426
136426
|
var fs_1 = __importDefault(require("fs"));
|
|
136427
136427
|
var path_1 = __importDefault(require("path"));
|
|
136428
136428
|
var debug_1 = require_debug5();
|
|
@@ -136466,14 +136466,6 @@ var require_is2 = __commonJS({
|
|
|
136466
136466
|
return (0, exports.isSSR)(config);
|
|
136467
136467
|
};
|
|
136468
136468
|
exports.isUseSSRBundle = isUseSSRBundle;
|
|
136469
|
-
var isServerWorker = (config) => {
|
|
136470
|
-
const { output: output2, server } = config;
|
|
136471
|
-
if ((server === null || server === void 0 ? void 0 : server.worker) && ((output2 === null || output2 === void 0 ? void 0 : output2.ssg) || (0, exports.isSSR)(config))) {
|
|
136472
|
-
return true;
|
|
136473
|
-
}
|
|
136474
|
-
return false;
|
|
136475
|
-
};
|
|
136476
|
-
exports.isServerWorker = isServerWorker;
|
|
136477
136469
|
var isFastRefresh = () => (0, node_env_1.isDev)() && process.env.FAST_REFRESH !== "false";
|
|
136478
136470
|
exports.isFastRefresh = isFastRefresh;
|
|
136479
136471
|
__exportStar(require_node_env2(), exports);
|
|
@@ -136531,13 +136523,12 @@ var require_constants6 = __commonJS({
|
|
|
136531
136523
|
"../../../toolkit/utils/dist/constants.js"(exports) {
|
|
136532
136524
|
"use strict";
|
|
136533
136525
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
136534
|
-
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.
|
|
136526
|
+
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;
|
|
136535
136527
|
exports.HMR_SOCK_PATH = "/webpack-hmr";
|
|
136536
136528
|
exports.ROUTE_SPEC_FILE = "route.json";
|
|
136537
136529
|
exports.MAIN_ENTRY_NAME = "main";
|
|
136538
136530
|
exports.LAUNCH_EDITOR_ENDPOINT = "/__open-stack-frame-in-editor";
|
|
136539
136531
|
exports.SERVER_BUNDLE_DIRECTORY = "bundles";
|
|
136540
|
-
exports.SERVER_WORKER_BUNDLE_DIRECTORY = "worker";
|
|
136541
136532
|
exports.ENTRY_NAME_PATTERN = "^[a-zA-Z0-9_-]+$";
|
|
136542
136533
|
exports.SERVER_RENDER_FUNCTION_NAME = "serverRender";
|
|
136543
136534
|
exports.LOADABLE_STATS_FILE = "loadable-stats.json";
|
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-20230208140603",
|
|
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-20230208140603",
|
|
30
|
+
"@modern-js/generator-common": "0.0.0-next-20230208140603",
|
|
31
|
+
"@modern-js/generator-plugin": "0.0.0-next-20230208140603",
|
|
32
|
+
"@modern-js/generator-utils": "0.0.0-next-20230208140603",
|
|
33
|
+
"@modern-js/module-generator": "0.0.0-next-20230208140603",
|
|
34
|
+
"@modern-js/monorepo-generator": "0.0.0-next-20230208140603",
|
|
35
|
+
"@modern-js/mwa-generator": "0.0.0-next-20230208140603",
|
|
36
|
+
"@modern-js/utils": "0.0.0-next-20230208140603",
|
|
37
|
+
"@scripts/build": "0.0.0-next-20230208140603",
|
|
38
|
+
"@scripts/jest-config": "0.0.0-next-20230208140603"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"publishConfig": {
|