easy-soft-develop 2.1.157 → 2.1.163

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.157",
3
+ "version": "2.1.163",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -49,7 +49,7 @@
49
49
  "test:inner:rimraf": "node ./test/rimraf.test.js",
50
50
  "z:change:npm:registry:local": "nrm use local",
51
51
  "z:change:npm:registry:npm": "nrm use npm",
52
- "z:check:all-package-version": "npx npm-check-updates",
52
+ "z:check:all-package-version": "npx npm-check-updates --configFilePath ./.ncurc.js",
53
53
  "prez:cz": "node ./bin/cli.js commit-refresh && npm run z:prettier:format:change && npm run z:tsc:build && git stage -A",
54
54
  "z:cz": "git-cz",
55
55
  "postz:cz": "git push",
@@ -69,8 +69,8 @@
69
69
  "postz:publish:patch:npm": "npm run z:change:npm:registry:local && npm publish",
70
70
  "z:reinstall": "rimraf ./node_modules && npm run z:install",
71
71
  "z:tsc:build": "echo show tsc version and create declaration file && tsc -v && tsc -p ./tsconfig.types.json && echo declaration file generate complete",
72
- "z:update:all-package-version": "npx npm-check-updates -u",
73
- "z:update:package-from-package": "npx npm-check-updates -u"
72
+ "z:update:all-package-version": "npx npm-check-updates --configFilePath ./.ncurc.js -u",
73
+ "z:update:package-from-package": "npx npm-check-updates --configFilePath ./.ncurc.js -u"
74
74
  },
75
75
  "dependencies": {
76
76
  "commander": "^12.1.0",
@@ -215,7 +215,9 @@ function initialEnvironment() {
215
215
 
216
216
  promptInfo('add global dev packages');
217
217
 
218
- exec('npx npm-check-updates -u --packageFile ./**/package.json');
218
+ exec(
219
+ 'npx npm-check-updates --configFilePath ./.ncurc.js --packageFile ./**/package.json -u',
220
+ );
219
221
 
220
222
  promptInfo('install dependence packages');
221
223
 
@@ -40,7 +40,7 @@ function updateSpecialPackageVersion(packageList) {
40
40
 
41
41
  const packages = packageList.join(' ');
42
42
 
43
- const ncuCommand = `npx npm-check-updates -u ${packages} --packageFile package.json`;
43
+ const ncuCommand = `npx npm-check-updates --configFilePath ./.ncurc.js --packageFile package.json -u ${packages}`;
44
44
 
45
45
  promptInfo(`${packageList.join()} will check update`);
46
46
 
@@ -56,7 +56,7 @@ function updateSpecialPackageVersion(packageList) {
56
56
  function updateAllPackageVersion() {
57
57
  exec('npm run z:initial:environment');
58
58
 
59
- const ncuCommand = `npx npm-check-updates -u --packageFile package.json`;
59
+ const ncuCommand = `npx npm-check-updates --configFilePath ./.ncurc.js --packageFile package.json -u`;
60
60
 
61
61
  promptInfo(`all packages version will update`);
62
62
 
@@ -72,7 +72,7 @@ function updateAllPackageVersion() {
72
72
  }
73
73
 
74
74
  function checkAllPackageVersion() {
75
- const ncuCommand = `npx npm-check-updates --packageFile package.json`;
75
+ const ncuCommand = `npx npm-check-updates --configFilePath ./.ncurc.js --packageFile package.json`;
76
76
 
77
77
  promptEmptyLine();
78
78