easy-soft-develop 2.1.66 → 2.1.68

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,7 +1,6 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
2
  "name": "easy-soft-develop",
4
- "version": "2.1.66",
3
+ "version": "2.1.68",
5
4
  "description": "",
6
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
7
6
  "bugs": {
@@ -28,8 +27,9 @@
28
27
  ],
29
28
  "scripts": {
30
29
  "commitlint": "npx commitlint --edit",
30
+ "postinstall": "pnpm changeset init && npm run z:husky",
31
31
  "precommit": "npm run z:lint:staged:quiet",
32
- "prepare": "pnpm changeset init && npm run z:husky:install && echo do other prepare work with here before run z:husky:install",
32
+ "prepare": "echo do other prepare work with here before install package",
33
33
  "test:bin:check-all-package-version": "node ./bin/cli.js check-all-package-version",
34
34
  "test:bin:code": "node ./bin/cli.js code --dataPath ./develop/generatorCodeSource/code.json",
35
35
  "test:bin:create-assist-scripts": "node ./bin/cli.js create-assist-scripts",
@@ -50,7 +50,7 @@
50
50
  "prez:cz": "node ./bin/cli.js commit-refresh && npm run z:prettier:format:change && npm run z:tsc:build && git stage -A",
51
51
  "z:cz": "git-cz",
52
52
  "postz:cz": "git push",
53
- "z:husky:install": "npx husky install",
53
+ "z:husky": "npx husky",
54
54
  "z:install": "pnpm install",
55
55
  "z:lint:staged": "npx lint-staged",
56
56
  "z:lint:staged:quiet": "npx lint-staged --quiet",
@@ -220,9 +220,9 @@ function initialEnvironment() {
220
220
 
221
221
  promptEmptyLine();
222
222
 
223
- promptInfo('husky install');
223
+ promptInfo('exec husky');
224
224
 
225
- exec('npx husky install');
225
+ exec('npx husky');
226
226
  }
227
227
 
228
228
  function createRepositoryProject(name) {
@@ -103,19 +103,19 @@ const environmentScript = {
103
103
 
104
104
  const repositoryScript = {
105
105
  "z:repository:publish": "pnpm -r publish",
106
- "z:bootstrap": "npm run z:clean && git pull && npm run z:install && npm run z:husky:install",
106
+ "z:bootstrap": "npm run z:clean && git pull && npm run z:install",
107
107
  };
108
108
 
109
109
  const installScript = {
110
110
  "z:reinstall": 'npm run z:bootstrap',
111
- "postinstall": "pnpm changeset init && npm run z:husky:install && npm run z:initial:environment && npm run z:post:extra:install",
111
+ "postinstall": "pnpm changeset init && npm run z:husky && npm run z:initial:environment && npm run z:post:extra:install",
112
112
  "prez:install.global.develop.dependence": "npm run z:change:npm:registry:local",
113
113
  "z:install.global.develop.dependence": "node ./develop/assists/install.global.develop.dependence",
114
114
  "postz:install.global.develop.dependence": "npm run z:install",
115
115
  "prez:install": "npm run z:change:npm:registry:local",
116
116
  "z:install": "pnpm install",
117
117
  "z:post:extra:install": "echo do other postinstall work with here",
118
- "z:husky:install": "npx husky install"
118
+ "z:husky": "npx husky"
119
119
  };
120
120
 
121
121
  const nrmScript = {