cmyr-template-cli 1.30.4 → 1.30.5
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/plopfile.js +2 -1
- package/package.json +2 -2
package/dist/plopfile.js
CHANGED
|
@@ -853,7 +853,7 @@ async function getProjectInfo(projectPath, answers) {
|
|
|
853
853
|
var _a, _b, _c, _d, _e, _f;
|
|
854
854
|
const loading = ora__default["default"]('正在获取项目信息 ……').start();
|
|
855
855
|
try {
|
|
856
|
-
const { name, author, description, template, isOpenSource, isPublishToNpm, license = 'UNLICENSED', isPrivateScopePackage, scopeName } = answers;
|
|
856
|
+
const { name, author, description, template, isOpenSource, isPublishToNpm, license = 'UNLICENSED', isPrivateScopePackage, scopeName, isInitDocker = false } = answers;
|
|
857
857
|
const templateMeta = getTemplateMeta(template);
|
|
858
858
|
const projectName = name;
|
|
859
859
|
const packageManager = 'npm';
|
|
@@ -948,6 +948,7 @@ async function getProjectInfo(projectPath, answers) {
|
|
|
948
948
|
dockerUsername,
|
|
949
949
|
templateMeta,
|
|
950
950
|
mainFile,
|
|
951
|
+
isInitDocker,
|
|
951
952
|
};
|
|
952
953
|
loading.succeed('项目信息 初始化成功!');
|
|
953
954
|
return projectInfos;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmyr-template-cli",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.5",
|
|
4
4
|
"description": "草梅友仁自制的项目模板创建器",
|
|
5
5
|
"author": "CaoMeiYouRen",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@types/node": "^22.0.0",
|
|
48
48
|
"@types/promise.any": "^2.0.0",
|
|
49
49
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
50
|
-
"@typescript-eslint/parser": "7.
|
|
50
|
+
"@typescript-eslint/parser": "7.18.0",
|
|
51
51
|
"commitizen": "^4.2.2",
|
|
52
52
|
"conventional-changelog-cli": "^5.0.0",
|
|
53
53
|
"conventional-changelog-cmyr-config": "^2.1.1",
|