easy-soft-develop 2.1.39 → 2.1.40
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
|
@@ -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
|
}
|