@modern-js/repo-generator 3.1.27 → 3.1.29
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 +15 -11
- package/package.json +12 -12
package/dist/index.js
CHANGED
@@ -145015,7 +145015,7 @@ var MWANewActionPluginName = {
|
|
145015
145015
|
[ActionElement.Server]: "serverPlugin"
|
145016
145016
|
},
|
145017
145017
|
[ActionType.Function]: {
|
145018
|
-
[ActionFunction.TailwindCSS]: "
|
145018
|
+
[ActionFunction.TailwindCSS]: "tailwindcssPlugin",
|
145019
145019
|
[ActionFunction.BFF]: "bffPlugin",
|
145020
145020
|
[ActionFunction.MicroFrontend]: "garfishPlugin",
|
145021
145021
|
[ActionFunction.Test]: "testPlugin",
|
@@ -145132,7 +145132,7 @@ var ModuleNewActionGenerators = {
|
|
145132
145132
|
};
|
145133
145133
|
var ModuleNewActionPluginName = {
|
145134
145134
|
[ActionType.Function]: {
|
145135
|
-
[ActionFunction.TailwindCSS]: "
|
145135
|
+
[ActionFunction.TailwindCSS]: "tailwindcssPlugin",
|
145136
145136
|
[ActionFunction.Storybook]: "storybookPlugin",
|
145137
145137
|
[ActionFunction.Test]: "testPlugin"
|
145138
145138
|
}
|
@@ -145425,16 +145425,20 @@ var import_utils25 = __toESM(require_cjs2());
|
|
145425
145425
|
function isPackageExist(packageName, registry2) {
|
145426
145426
|
return __async(this, null, function* () {
|
145427
145427
|
if (yield (0, import_utils25.canUseNpm)()) {
|
145428
|
-
|
145429
|
-
|
145430
|
-
|
145431
|
-
|
145432
|
-
|
145433
|
-
|
145434
|
-
|
145428
|
+
try {
|
145429
|
+
const args = [
|
145430
|
+
"view",
|
145431
|
+
packageName,
|
145432
|
+
"version"
|
145433
|
+
];
|
145434
|
+
if (registry2) {
|
145435
|
+
args.push(`--registry=${registry2}`);
|
145436
|
+
}
|
145437
|
+
const result = yield (0, import_utils25.execa)("npm", args);
|
145438
|
+
return (0, import_utils25.stripAnsi)(result.stdout);
|
145439
|
+
} catch (e) {
|
145440
|
+
return false;
|
145435
145441
|
}
|
145436
|
-
const result = yield (0, import_utils25.execa)("npm", args);
|
145437
|
-
return (0, import_utils25.stripAnsi)(result.stdout);
|
145438
145442
|
}
|
145439
145443
|
throw new Error("not found npm, please install npm before");
|
145440
145444
|
});
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "3.1.
|
18
|
+
"version": "3.1.29",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"main": "./dist/index.js",
|
21
21
|
"files": [
|
@@ -29,17 +29,17 @@
|
|
29
29
|
"@types/node": "^14",
|
30
30
|
"jest": "^29",
|
31
31
|
"typescript": "^5",
|
32
|
-
"@modern-js/generator-common": "3.1.
|
33
|
-
"@modern-js/module-generator": "3.1.
|
34
|
-
"@modern-js/monorepo-generator": "3.1.
|
35
|
-
"@modern-js/mwa-generator": "3.1.
|
36
|
-
"@modern-js/doc-generator": "3.1.
|
37
|
-
"@modern-js/utils": "2.
|
38
|
-
"@modern-js/generator-plugin": "3.1.
|
39
|
-
"@modern-js/generator
|
40
|
-
"@modern-js/
|
41
|
-
"@scripts/jest-config": "2.
|
42
|
-
"@scripts/build": "2.
|
32
|
+
"@modern-js/generator-common": "3.1.29",
|
33
|
+
"@modern-js/module-generator": "3.1.29",
|
34
|
+
"@modern-js/monorepo-generator": "3.1.29",
|
35
|
+
"@modern-js/mwa-generator": "3.1.29",
|
36
|
+
"@modern-js/doc-generator": "3.1.29",
|
37
|
+
"@modern-js/utils": "2.27.0",
|
38
|
+
"@modern-js/generator-plugin": "3.1.29",
|
39
|
+
"@modern-js/base-generator": "3.1.29",
|
40
|
+
"@modern-js/generator-utils": "3.1.29",
|
41
|
+
"@scripts/jest-config": "2.27.0",
|
42
|
+
"@scripts/build": "2.27.0"
|
43
43
|
},
|
44
44
|
"sideEffects": false,
|
45
45
|
"publishConfig": {
|