@modern-js/repo-generator 0.0.0-next-20240930065356 → 0.0.0-next-20240930085540
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 +6 -6
- package/package.json +9 -9
- package/src/index.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -34968,7 +34968,7 @@ function encode_char(c) {
|
|
|
34968
34968
|
});
|
|
34969
34969
|
// src/index.ts
|
|
34970
34970
|
var import_codesmith_api_app = __toESM(require_codesmith_api_app());
|
|
34971
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-
|
|
34971
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-20240930083622/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
|
|
34972
34972
|
var import_lodash = __toESM(require_lodash());
|
|
34973
34973
|
var import_lodash2 = __toESM(require_lodash2());
|
|
34974
34974
|
var import_lodash3 = __toESM(require_lodash3());
|
|
@@ -35983,9 +35983,9 @@ function encode_char(c) {
|
|
|
35983
35983
|
}
|
|
35984
35984
|
// ../../generator-plugin/dist/esm/index.js
|
|
35985
35985
|
var import_codesmith6 = __toESM(require_codesmith());
|
|
35986
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-
|
|
35986
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-20240930083622/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
|
|
35987
35987
|
var import_fs_extra = __toESM(require_lib());
|
|
35988
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-
|
|
35988
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-20240930083622/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
|
|
35989
35989
|
var import_execa = __toESM(require_execa());
|
|
35990
35990
|
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/esm/_async_to_generator.js
|
|
35991
35991
|
function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key2, arg) {
|
|
@@ -36106,7 +36106,7 @@ function encode_char(c) {
|
|
|
36106
36106
|
};
|
|
36107
36107
|
}
|
|
36108
36108
|
}
|
|
36109
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-
|
|
36109
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-20240930083622/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
|
|
36110
36110
|
var import_execa2 = __toESM(require_execa());
|
|
36111
36111
|
function canUseNpm() {
|
|
36112
36112
|
return _canUseNpm.apply(this, arguments);
|
|
@@ -36196,7 +36196,7 @@ function encode_char(c) {
|
|
|
36196
36196
|
});
|
|
36197
36197
|
return _canUsePnpm.apply(this, arguments);
|
|
36198
36198
|
}
|
|
36199
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-
|
|
36199
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-20240930083622/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
|
|
36200
36200
|
var import_ora = __toESM(require_ora());
|
|
36201
36201
|
// ../../generator-utils/dist/esm/locale/index.js
|
|
36202
36202
|
var import_plugin_i18n2 = __toESM(require_plugin_i18n());
|
|
@@ -36224,7 +36224,7 @@ function encode_char(c) {
|
|
|
36224
36224
|
zh: ZH_LOCALE2,
|
|
36225
36225
|
en: EN_LOCALE2
|
|
36226
36226
|
});
|
|
36227
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-
|
|
36227
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@0.0.0-canary-20240930083622/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
36228
36228
|
var import_semver = __toESM(require_semver2());
|
|
36229
36229
|
// ../../generator-utils/dist/esm/utils/stripAnsi.js
|
|
36230
36230
|
function ansiRegex({ onlyFirst = false } = {}) {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-20240930085540",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"@types/node": "^14",
|
|
31
31
|
"jest": "^29",
|
|
32
32
|
"typescript": "^5",
|
|
33
|
-
"@modern-js/base-generator": "0.0.0-next-
|
|
34
|
-
"@modern-js/generator-common": "0.0.0-next-
|
|
35
|
-
"@modern-js/generator-
|
|
36
|
-
"@modern-js/generator-
|
|
37
|
-
"@modern-js/
|
|
38
|
-
"@
|
|
39
|
-
"@scripts/
|
|
40
|
-
"@
|
|
33
|
+
"@modern-js/base-generator": "0.0.0-next-20240930085540",
|
|
34
|
+
"@modern-js/generator-common": "0.0.0-next-20240930085540",
|
|
35
|
+
"@modern-js/generator-plugin": "0.0.0-next-20240930085540",
|
|
36
|
+
"@modern-js/generator-utils": "0.0.0-next-20240930085540",
|
|
37
|
+
"@modern-js/module-generator": "0.0.0-next-20240930085540",
|
|
38
|
+
"@modern-js/mwa-generator": "0.0.0-next-20240930085540",
|
|
39
|
+
"@scripts/build": "0.0.0-next-20240930085540",
|
|
40
|
+
"@scripts/jest-config": "0.0.0-next-20240930085540"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|
package/src/index.ts
CHANGED
|
@@ -99,6 +99,7 @@ export default async (context: GeneratorContext, generator: GeneratorCore) => {
|
|
|
99
99
|
if (!(await appApi.checkEnvironment())) {
|
|
100
100
|
process.exit(1);
|
|
101
101
|
}
|
|
102
|
+
|
|
102
103
|
generator.logger.debug(`🚀 [Start Run Repo Generator]`);
|
|
103
104
|
generator.logger.debug(
|
|
104
105
|
'💡 [Current Config]:',
|