@modern-js/create 1.22.2 → 1.22.3
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 +3 -3
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -75784,7 +75784,7 @@ function getDefaultConfig(projectDir = import_path.default.basename(process.cwd(
|
|
|
75784
75784
|
return initialConfig;
|
|
75785
75785
|
}
|
|
75786
75786
|
async function createAction(projectDir, options3) {
|
|
75787
|
-
const { debug, registry
|
|
75787
|
+
const { debug, registry } = options3;
|
|
75788
75788
|
const smith = new import_codesmith.CodeSmith({
|
|
75789
75789
|
debug,
|
|
75790
75790
|
registryUrl: registry
|
|
@@ -75801,8 +75801,8 @@ async function createAction(projectDir, options3) {
|
|
|
75801
75801
|
let generator = REPO_GENERATOR;
|
|
75802
75802
|
if (process.env.CODESMITH_ENV === "development") {
|
|
75803
75803
|
generator = __require.resolve(REPO_GENERATOR);
|
|
75804
|
-
} else if (distTag) {
|
|
75805
|
-
generator = `${REPO_GENERATOR}@${distTag}`;
|
|
75804
|
+
} else if (config.distTag) {
|
|
75805
|
+
generator = `${REPO_GENERATOR}@${config.distTag}`;
|
|
75806
75806
|
}
|
|
75807
75807
|
const task = [
|
|
75808
75808
|
{
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.22.
|
|
14
|
+
"version": "1.22.3",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/index.js",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"jest": "^27",
|
|
41
41
|
"ts-node": "^10.1.0",
|
|
42
42
|
"typescript": "^4",
|
|
43
|
-
"@modern-js/generator-plugin-plugin": "2.4.
|
|
44
|
-
"@modern-js/plugin-i18n": "1.22.
|
|
45
|
-
"@modern-js/repo-generator": "2.4.
|
|
46
|
-
"@modern-js/utils": "1.22.
|
|
47
|
-
"@scripts/build": "1.22.
|
|
48
|
-
"@scripts/jest-config": "1.22.
|
|
43
|
+
"@modern-js/generator-plugin-plugin": "2.4.14",
|
|
44
|
+
"@modern-js/plugin-i18n": "1.22.3",
|
|
45
|
+
"@modern-js/repo-generator": "2.4.14",
|
|
46
|
+
"@modern-js/utils": "1.22.3",
|
|
47
|
+
"@scripts/build": "1.22.3",
|
|
48
|
+
"@scripts/jest-config": "1.22.3"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": false,
|
|
51
51
|
"publishConfig": {
|