easy-soft-develop 2.1.209 → 2.1.216
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
|
@@ -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
|
|
|
@@ -117,6 +117,12 @@ function handlePackage(projectPath, zipPath) {
|
|
|
117
117
|
filepath: 'src/locales/zh-CN/menu.js',
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
+
copyFolderSync({
|
|
121
|
+
sourceMainPath,
|
|
122
|
+
targetMainPath,
|
|
123
|
+
filepath: 'src/pageBases/',
|
|
124
|
+
});
|
|
125
|
+
|
|
120
126
|
copyFolderSync({
|
|
121
127
|
sourceMainPath,
|
|
122
128
|
targetMainPath,
|