easy-soft-develop 2.1.214 → 2.1.218
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-soft-develop",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.218",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -91,19 +91,19 @@
|
|
|
91
91
|
"@commitlint/config-pnpm-scopes": "^19.1.0",
|
|
92
92
|
"commitizen": "^4.3.0",
|
|
93
93
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
94
|
-
"cz-git": "^1.9.
|
|
94
|
+
"cz-git": "^1.9.4",
|
|
95
95
|
"eslint": "^8.57.0",
|
|
96
96
|
"eslint-config-prettier": "^9.1.0",
|
|
97
97
|
"eslint-formatter-pretty": "^6.0.1",
|
|
98
98
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
99
99
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
100
100
|
"eslint-plugin-import": "^2.29.1",
|
|
101
|
-
"eslint-plugin-prettier": "^5.1
|
|
102
|
-
"eslint-plugin-promise": "^6.
|
|
103
|
-
"husky": "^9.
|
|
101
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
102
|
+
"eslint-plugin-promise": "^6.6.0",
|
|
103
|
+
"husky": "^9.1.1",
|
|
104
104
|
"lint-staged": "^15.2.7",
|
|
105
105
|
"npm-check-updates": "^16.14.20",
|
|
106
106
|
"prettier": "^3.3.3",
|
|
107
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
107
|
+
"prettier-plugin-packagejson": "^2.5.1"
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -136,10 +136,7 @@ function createPackageJsonFile(name) {
|
|
|
136
136
|
function createHusky() {
|
|
137
137
|
mkdirSync(`./.husky`);
|
|
138
138
|
|
|
139
|
-
const commitMsg =
|
|
140
|
-
. "$(dirname "$0")/_/husky.sh"
|
|
141
|
-
|
|
142
|
-
echo ---------------------
|
|
139
|
+
const commitMsg = `echo ---------------------
|
|
143
140
|
echo exec husky commit-msg by use \\"npx commitlint -e \\$HUSKY_GIT_PARAMS -V\\"
|
|
144
141
|
|
|
145
142
|
npx commitlint -E $HUSKY_GIT_PARAMS -V
|
|
@@ -147,10 +144,7 @@ npx commitlint -E $HUSKY_GIT_PARAMS -V
|
|
|
147
144
|
|
|
148
145
|
writeFileSync(`./.husky/commit-msg`, commitMsg, { coverFile: true });
|
|
149
146
|
|
|
150
|
-
const precommit =
|
|
151
|
-
. "$(dirname "$0")/_/husky.sh"
|
|
152
|
-
|
|
153
|
-
echo ---------------------
|
|
147
|
+
const precommit = `echo ---------------------
|
|
154
148
|
echo exec husky pre-commit by use \\"npm run z:lint:staged\\"
|
|
155
149
|
`;
|
|
156
150
|
|
|
@@ -63,6 +63,12 @@ function handlePackage(projectPath, zipPath) {
|
|
|
63
63
|
filepath: 'generatorConfig/general/',
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
+
copyFolderSync({
|
|
67
|
+
sourceMainPath,
|
|
68
|
+
targetMainPath,
|
|
69
|
+
filepath: 'generatorTemplate/',
|
|
70
|
+
});
|
|
71
|
+
|
|
66
72
|
copyFileSync({
|
|
67
73
|
sourceMainPath,
|
|
68
74
|
targetMainPath,
|