@modern-js/repo-generator 0.0.0-next-20241015030726 → 0.0.0-next-20241015033921
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 -0
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -21833,6 +21833,7 @@ function encode_char(c) {
|
|
|
21833
21833
|
};
|
|
21834
21834
|
// ../../new-action/dist/esm/mwa.js
|
|
21835
21835
|
var MWANewAction = (options)=>__async(void 0, null, function*() {
|
|
21836
|
+
var _smith_logger, _smith_logger1;
|
|
21836
21837
|
const { locale = "zh", distTag = "", debug = false, registry = "", config = "{}", cwd = process.cwd(), needInstall = true } = options;
|
|
21837
21838
|
let UserConfig = {};
|
|
21838
21839
|
try {
|
|
@@ -21851,6 +21852,7 @@ function encode_char(c) {
|
|
|
21851
21852
|
if (!alreadyRepo(cwd)) {
|
|
21852
21853
|
smith.logger.warn("not valid modern.js repo");
|
|
21853
21854
|
}
|
|
21855
|
+
(_smith_logger = smith.logger) === null || _smith_logger === void 0 ? void 0 : _smith_logger.timing("🕒 Run MWA New Tools");
|
|
21854
21856
|
const prepareGlobalPromise = smith.prepareGlobal();
|
|
21855
21857
|
const prepareGeneratorPromise = smith.prepareGenerators([
|
|
21856
21858
|
`@modern-js/dependence-generator@${distTag || "latest"}`,
|
|
@@ -21937,12 +21939,14 @@ function encode_char(c) {
|
|
|
21937
21939
|
})),
|
|
21938
21940
|
pwd: cwd
|
|
21939
21941
|
});
|
|
21942
|
+
(_smith_logger1 = smith.logger) === null || _smith_logger1 === void 0 ? void 0 : _smith_logger1.timing("🕒 Run MWA New Tools", true);
|
|
21940
21943
|
});
|
|
21941
21944
|
// ../../new-action/dist/esm/module.js
|
|
21942
21945
|
var import_codesmith4 = __toESM(require_codesmith());
|
|
21943
21946
|
var import_codesmith_formily2 = __toESM(require_codesmith_formily());
|
|
21944
21947
|
var import_lodash3 = __toESM(require_lodash());
|
|
21945
21948
|
var ModuleNewAction = (options)=>__async(void 0, null, function*() {
|
|
21949
|
+
var _smith_logger, _smith_logger1;
|
|
21946
21950
|
const { locale = "zh", distTag = "", debug = false, registry = "", config = "{}", cwd = process.cwd(), needInstall = true } = options;
|
|
21947
21951
|
let UserConfig = {};
|
|
21948
21952
|
try {
|
|
@@ -21961,6 +21965,7 @@ function encode_char(c) {
|
|
|
21961
21965
|
if (!alreadyRepo(cwd)) {
|
|
21962
21966
|
smith.logger.warn("not valid modern.js repo");
|
|
21963
21967
|
}
|
|
21968
|
+
(_smith_logger = smith.logger) === null || _smith_logger === void 0 ? void 0 : _smith_logger.timing("🕒 Run Module New Tools");
|
|
21964
21969
|
const prepareGlobalPromise = smith.prepareGlobal();
|
|
21965
21970
|
const prepareGeneratorPromise = smith.prepareGenerators([
|
|
21966
21971
|
`@modern-js/dependence-generator@${distTag || "latest"}`,
|
|
@@ -22050,6 +22055,7 @@ function encode_char(c) {
|
|
|
22050
22055
|
})),
|
|
22051
22056
|
pwd: cwd
|
|
22052
22057
|
});
|
|
22058
|
+
(_smith_logger1 = smith.logger) === null || _smith_logger1 === void 0 ? void 0 : _smith_logger1.timing("🕒 Run Module New Tools", true);
|
|
22053
22059
|
});
|
|
22054
22060
|
// ../../generator-plugin/dist/esm/context/new.js
|
|
22055
22061
|
var PluginNewAPI = /* @__PURE__ */ function() {
|
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-20241015033921",
|
|
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-
|
|
35
|
-
"@modern-js/generator-
|
|
36
|
-
"@modern-js/generator
|
|
37
|
-
"@modern-js/
|
|
38
|
-
"@scripts/build": "0.0.0-next-
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
33
|
+
"@modern-js/base-generator": "0.0.0-next-20241015033921",
|
|
34
|
+
"@modern-js/generator-plugin": "0.0.0-next-20241015033921",
|
|
35
|
+
"@modern-js/generator-utils": "0.0.0-next-20241015033921",
|
|
36
|
+
"@modern-js/module-generator": "0.0.0-next-20241015033921",
|
|
37
|
+
"@modern-js/generator-common": "0.0.0-next-20241015033921",
|
|
38
|
+
"@scripts/build": "0.0.0-next-20241015033921",
|
|
39
|
+
"@modern-js/mwa-generator": "0.0.0-next-20241015033921",
|
|
40
|
+
"@scripts/jest-config": "0.0.0-next-20241015033921"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|