easy-soft-develop 2.1.214 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-soft-develop",
3
- "version": "2.1.214",
3
+ "version": "2.1.216",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -136,10 +136,7 @@ function createPackageJsonFile(name) {
136
136
  function createHusky() {
137
137
  mkdirSync(`./.husky`);
138
138
 
139
- const commitMsg = `#!/bin/sh
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 = `#!/bin/sh
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