@modern-js/server-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
|
@@ -38003,13 +38003,13 @@ var require_node = __commonJSMin((exports) => {
|
|
|
38003
38003
|
spinner.stop();
|
|
38004
38004
|
throw new Error("not found npm, please install npm before");
|
|
38005
38005
|
}
|
|
38006
|
-
async function getModernVersion(solution, registry2, distTag = "
|
|
38006
|
+
async function getModernVersion(solution, registry2, distTag = "modern-1") {
|
|
38007
38007
|
const dep = _generatorCommon.SolutionToolsMap[solution];
|
|
38008
38008
|
const modernVersion = await getPackageVersion2(`${dep}@${distTag}`, registry2);
|
|
38009
38009
|
return modernVersion;
|
|
38010
38010
|
}
|
|
38011
38011
|
async function getModernPluginVersion2(solution, packageName, options3 = {
|
|
38012
|
-
distTag: "
|
|
38012
|
+
distTag: "modern-1"
|
|
38013
38013
|
}) {
|
|
38014
38014
|
const {
|
|
38015
38015
|
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",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@types/node": "^14",
|
|
29
29
|
"jest": "^27",
|
|
30
30
|
"typescript": "^4",
|
|
31
|
-
"@modern-js/generator-
|
|
32
|
-
"@
|
|
33
|
-
"@scripts/
|
|
34
|
-
"@
|
|
31
|
+
"@modern-js/generator-utils": "2.4.14",
|
|
32
|
+
"@scripts/build": "1.22.3",
|
|
33
|
+
"@scripts/jest-config": "1.22.3",
|
|
34
|
+
"@modern-js/generator-common": "2.4.14"
|
|
35
35
|
},
|
|
36
36
|
"sideEffects": false,
|
|
37
37
|
"modernConfig": {
|