@modern-js/repo-generator 0.0.0-next-20221116034249 → 0.0.0-next-20221116121040
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 +10 -2
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -139013,9 +139013,16 @@ var require_is2 = __commonJSMin((exports) => {
|
|
|
139013
139013
|
exports.isFastRefresh = exports.isUseSSRBundle = exports.isSSR = exports.isEmpty = exports.isTypescript = exports.isDepExists = void 0;
|
|
139014
139014
|
var fs_1 = __importDefault(__require("fs"));
|
|
139015
139015
|
var path_1 = __importDefault(__require("path"));
|
|
139016
|
+
var debug_1 = require_debug5();
|
|
139016
139017
|
var node_env_1 = require_node_env2();
|
|
139018
|
+
var debug = (0, debug_1.createDebugger)("judge-depExists");
|
|
139017
139019
|
var isDepExists = (appDirectory, name5) => {
|
|
139018
|
-
const
|
|
139020
|
+
const pkgPath = path_1.default.resolve(appDirectory, "./package.json");
|
|
139021
|
+
if (!fs_1.default.existsSync(pkgPath)) {
|
|
139022
|
+
debug(`can't find package.json under: %s`, appDirectory);
|
|
139023
|
+
return false;
|
|
139024
|
+
}
|
|
139025
|
+
const json = __require(pkgPath);
|
|
139019
139026
|
const { dependencies: dependencies3 = {}, devDependencies: devDependencies3 = {} } = json;
|
|
139020
139027
|
return dependencies3.hasOwnProperty(name5) || devDependencies3.hasOwnProperty(name5);
|
|
139021
139028
|
};
|
|
@@ -140268,7 +140275,8 @@ var require_chainId2 = __commonJSMin((exports) => {
|
|
|
140268
140275
|
NODE_POLYFILL_PROVIDE: "node-polyfill-provide",
|
|
140269
140276
|
SUBRESOURCE_INTEGRITY: "subresource-integrity",
|
|
140270
140277
|
ASSETS_RETRY: "ASSETS_RETRY",
|
|
140271
|
-
AUTO_SET_ROOT_SIZE: "auto-set-root-size"
|
|
140278
|
+
AUTO_SET_ROOT_SIZE: "auto-set-root-size",
|
|
140279
|
+
HTML_ASYNC_CHUNK: "html-async-chunk"
|
|
140272
140280
|
},
|
|
140273
140281
|
MINIMIZER: {
|
|
140274
140282
|
JS: "js",
|
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-20221116121040",
|
|
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-next-
|
|
26
|
+
"@modern-js/base-generator": "0.0.0-next-20221116121040",
|
|
27
27
|
"@modern-js/codesmith": "2.0.0",
|
|
28
28
|
"@modern-js/codesmith-api-app": "2.0.0",
|
|
29
|
-
"@modern-js/generator-common": "0.0.0-next-
|
|
30
|
-
"@modern-js/generator-plugin": "0.0.0-next-
|
|
31
|
-
"@modern-js/generator-utils": "0.0.0-next-
|
|
32
|
-
"@modern-js/module-generator": "0.0.0-next-
|
|
33
|
-
"@modern-js/monorepo-generator": "0.0.0-next-
|
|
34
|
-
"@modern-js/mwa-generator": "0.0.0-next-
|
|
35
|
-
"@modern-js/utils": "0.0.0-next-
|
|
36
|
-
"@scripts/build": "0.0.0-next-
|
|
37
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
29
|
+
"@modern-js/generator-common": "0.0.0-next-20221116121040",
|
|
30
|
+
"@modern-js/generator-plugin": "0.0.0-next-20221116121040",
|
|
31
|
+
"@modern-js/generator-utils": "0.0.0-next-20221116121040",
|
|
32
|
+
"@modern-js/module-generator": "0.0.0-next-20221116121040",
|
|
33
|
+
"@modern-js/monorepo-generator": "0.0.0-next-20221116121040",
|
|
34
|
+
"@modern-js/mwa-generator": "0.0.0-next-20221116121040",
|
|
35
|
+
"@modern-js/utils": "0.0.0-next-20221116121040",
|
|
36
|
+
"@scripts/build": "0.0.0-next-20221116121040",
|
|
37
|
+
"@scripts/jest-config": "0.0.0-next-20221116121040",
|
|
38
38
|
"@types/jest": "^27",
|
|
39
39
|
"@types/node": "^14",
|
|
40
40
|
"jest": "^27",
|