easy-soft-develop 2.1.110 → 2.1.116
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.116",
|
|
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
|
|
52
|
+
"z:check:all-package-version": "npx npm-check-updates",
|
|
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
|
|
73
|
-
"z:update:package-from-package": "npx
|
|
72
|
+
"z:update:all-package-version": "npx npm-check-updates -u",
|
|
73
|
+
"z:update:package-from-package": "npx npm-check-updates -u"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"commander": "^12.0.0",
|
|
@@ -215,7 +215,7 @@ function initialEnvironment() {
|
|
|
215
215
|
|
|
216
216
|
promptInfo('add global dev packages');
|
|
217
217
|
|
|
218
|
-
exec('npx
|
|
218
|
+
exec('npx npm-check-updates -u --packageFile ./**/package.json');
|
|
219
219
|
|
|
220
220
|
promptInfo('install dependence packages');
|
|
221
221
|
|
|
@@ -17,11 +17,11 @@ function adjustChildrenPackageJsonByCommand(cmd) {
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
function checkEasySoftDevelopVersion() {
|
|
21
|
-
|
|
20
|
+
// function checkEasySoftDevelopVersion() {
|
|
21
|
+
// promptInfo('check easy-soft-develop global version');
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
}
|
|
23
|
+
// exec('npm-check-updates -g easy-soft-develop');
|
|
24
|
+
// }
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* update special package version
|
|
@@ -32,7 +32,7 @@ function updateSpecialPackageVersion(packageList) {
|
|
|
32
32
|
|
|
33
33
|
const packages = packageList.join(' ');
|
|
34
34
|
|
|
35
|
-
const ncuCommand = `npx
|
|
35
|
+
const ncuCommand = `npx npm-check-updates -u ${packages} --packageFile package.json`;
|
|
36
36
|
|
|
37
37
|
promptInfo(`${packageList.join()} will check update`);
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ function updateSpecialPackageVersion(packageList) {
|
|
|
40
40
|
|
|
41
41
|
adjustChildrenPackageJsonByCommand(ncuCommand);
|
|
42
42
|
|
|
43
|
-
checkEasySoftDevelopVersion();
|
|
43
|
+
// checkEasySoftDevelopVersion();
|
|
44
44
|
|
|
45
45
|
promptSuccess('check success');
|
|
46
46
|
}
|
|
@@ -48,7 +48,7 @@ function updateSpecialPackageVersion(packageList) {
|
|
|
48
48
|
function updateAllPackageVersion() {
|
|
49
49
|
exec('npm run z:initial:environment');
|
|
50
50
|
|
|
51
|
-
const ncuCommand = `npx
|
|
51
|
+
const ncuCommand = `npx npm-check-updates -u --packageFile package.json`;
|
|
52
52
|
|
|
53
53
|
promptInfo(`all packages version will update`);
|
|
54
54
|
|
|
@@ -60,11 +60,11 @@ function updateAllPackageVersion() {
|
|
|
60
60
|
|
|
61
61
|
exec('npm run z:install');
|
|
62
62
|
|
|
63
|
-
checkEasySoftDevelopVersion();
|
|
63
|
+
// checkEasySoftDevelopVersion();
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
function checkAllPackageVersion() {
|
|
67
|
-
const ncuCommand = `npx
|
|
67
|
+
const ncuCommand = `npx npm-check-updates --packageFile package.json`;
|
|
68
68
|
|
|
69
69
|
promptEmptyLine();
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ function checkAllPackageVersion() {
|
|
|
78
78
|
|
|
79
79
|
exec('npm run z:install');
|
|
80
80
|
|
|
81
|
-
checkEasySoftDevelopVersion();
|
|
81
|
+
// checkEasySoftDevelopVersion();
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
module.exports = {
|