easy-soft-develop 2.1.39 → 2.1.41
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
|
@@ -142,8 +142,9 @@ const prettierScript = {
|
|
|
142
142
|
|
|
143
143
|
const ncuScript = {
|
|
144
144
|
'z:check:all-package-version': 'npx easy-soft-develop check-all-package-version',
|
|
145
|
+
'prez:update:all-package-version': 'node ./develop/assists/install.global.develop.dependence',
|
|
145
146
|
'z:update:all-package-version': 'npx easy-soft-develop update-all-package-version',
|
|
146
|
-
'postz:update:all-package-version': 'npm run z:install
|
|
147
|
+
'postz:update:all-package-version': 'npm run z:install',
|
|
147
148
|
'z:update:special-package-version': 'node ./develop/assists/package.update.special.version.js',
|
|
148
149
|
'postz:update:special-package-version': 'npm run z:install',
|
|
149
150
|
};
|
|
@@ -99,30 +99,36 @@ function installDevelopDependencePackages({
|
|
|
99
99
|
|
|
100
100
|
promptInfo(`${packages.join()} will install`);
|
|
101
101
|
|
|
102
|
+
const adjustMainDevelopPackageList = isArray(mainDevelopPackageList)
|
|
103
|
+
? mainDevelopPackageList
|
|
104
|
+
: [];
|
|
105
|
+
|
|
106
|
+
const adjustChildrenDevelopPackageList = isArray(childrenDevelopPackageList)
|
|
107
|
+
? childrenDevelopPackageList
|
|
108
|
+
: [];
|
|
109
|
+
|
|
110
|
+
const adjustChildrenSpecialDevelopPackageList = isArray(
|
|
111
|
+
childrenSpecialDevelopPackageList,
|
|
112
|
+
)
|
|
113
|
+
? childrenSpecialDevelopPackageList
|
|
114
|
+
: [];
|
|
115
|
+
|
|
102
116
|
adjustChildrenPackageJson(
|
|
103
|
-
packages.concat(
|
|
104
|
-
|
|
105
|
-
),
|
|
106
|
-
isArray(childrenSpecialDevelopPackageList)
|
|
107
|
-
? childrenSpecialDevelopPackageList
|
|
108
|
-
: [],
|
|
117
|
+
packages.concat(adjustChildrenDevelopPackageList),
|
|
118
|
+
adjustChildrenSpecialDevelopPackageList,
|
|
109
119
|
);
|
|
110
120
|
|
|
111
|
-
adjustMainPackageJson(
|
|
112
|
-
packages.concat(
|
|
113
|
-
isArray(mainDevelopPackageList) ? mainDevelopPackageList : [],
|
|
114
|
-
),
|
|
115
|
-
);
|
|
121
|
+
adjustMainPackageJson(packages.concat(adjustMainDevelopPackageList));
|
|
116
122
|
|
|
117
123
|
prettierAllPackageJson();
|
|
118
124
|
|
|
119
125
|
let packageListAll = [
|
|
120
126
|
...packages,
|
|
121
|
-
...
|
|
122
|
-
...
|
|
127
|
+
...adjustMainDevelopPackageList,
|
|
128
|
+
...adjustChildrenDevelopPackageList,
|
|
123
129
|
];
|
|
124
130
|
|
|
125
|
-
|
|
131
|
+
adjustChildrenSpecialDevelopPackageList.forEach((o) => {
|
|
126
132
|
if (isArray(o.packages)) {
|
|
127
133
|
packageListAll = [...packageListAll, ...o.packages];
|
|
128
134
|
}
|