@modern-js/packages-generator 2.4.12 → 2.4.13
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
|
@@ -145961,13 +145961,13 @@ var require_node10 = __commonJSMin((exports) => {
|
|
|
145961
145961
|
spinner.stop();
|
|
145962
145962
|
throw new Error("not found npm, please install npm before");
|
|
145963
145963
|
}
|
|
145964
|
-
async function getModernVersion(solution, registry2, distTag = "
|
|
145964
|
+
async function getModernVersion(solution, registry2, distTag = "modern-1") {
|
|
145965
145965
|
const dep = _generatorCommon.SolutionToolsMap[solution];
|
|
145966
145966
|
const modernVersion = await getPackageVersion(`${dep}@${distTag}`, registry2);
|
|
145967
145967
|
return modernVersion;
|
|
145968
145968
|
}
|
|
145969
145969
|
async function getModernPluginVersion(solution, packageName, options3 = {
|
|
145970
|
-
distTag: "
|
|
145970
|
+
distTag: "modern-1"
|
|
145971
145971
|
}) {
|
|
145972
145972
|
const {
|
|
145973
145973
|
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.13",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -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
|
-
"@modern-js/generator-utils": "2.4.
|
|
32
|
-
"@scripts/build": "1.22.
|
|
33
|
-
"@scripts/jest-config": "1.22.
|
|
30
|
+
"@modern-js/generator-common": "2.4.13",
|
|
31
|
+
"@modern-js/generator-utils": "2.4.13",
|
|
32
|
+
"@scripts/build": "1.22.2",
|
|
33
|
+
"@scripts/jest-config": "1.22.2"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"modernConfig": {
|