@modern-js/base-generator 2.4.12 → 2.4.14
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 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -145018,13 +145018,13 @@ var require_node9 = __commonJSMin((exports) => {
|
|
|
145018
145018
|
spinner.stop();
|
|
145019
145019
|
throw new Error("not found npm, please install npm before");
|
|
145020
145020
|
}
|
|
145021
|
-
async function getModernVersion(solution, registry2, distTag = "
|
|
145021
|
+
async function getModernVersion(solution, registry2, distTag = "modern-1") {
|
|
145022
145022
|
const dep = _generatorCommon.SolutionToolsMap[solution];
|
|
145023
145023
|
const modernVersion = await getPackageVersion(`${dep}@${distTag}`, registry2);
|
|
145024
145024
|
return modernVersion;
|
|
145025
145025
|
}
|
|
145026
145026
|
async function getModernPluginVersion(solution, packageName, options3 = {
|
|
145027
|
-
distTag: "
|
|
145027
|
+
distTag: "modern-1"
|
|
145028
145028
|
}) {
|
|
145029
145029
|
const {
|
|
145030
145030
|
cwd = process.cwd(),
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.4.
|
|
14
|
+
"version": "2.4.14",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./src/index.ts",
|
|
17
17
|
"main": "./dist/index.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@types/node": "^14",
|
|
28
28
|
"jest": "^27",
|
|
29
29
|
"typescript": "^4",
|
|
30
|
-
"@modern-js/generator-common": "2.4.
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@scripts/jest-config": "1.22.
|
|
30
|
+
"@modern-js/generator-common": "2.4.14",
|
|
31
|
+
"@modern-js/generator-utils": "2.4.14",
|
|
32
|
+
"@scripts/build": "1.22.3",
|
|
33
|
+
"@scripts/jest-config": "1.22.3"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"modernConfig": {
|