@modernpoacher/deps 2.2.12 → 2.2.13
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 +1 -1
- package/src/index.mjs +30 -10
- package/src/install/index.mjs +6 -2
package/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -83,7 +83,9 @@ export function use (key) {
|
|
|
83
83
|
export function getInstallSaveExactCommands (deps, r, f) {
|
|
84
84
|
log('getInstallSaveExactCommands')
|
|
85
85
|
|
|
86
|
-
const commands = normalizeCommands(
|
|
86
|
+
const commands = normalizeCommands(
|
|
87
|
+
getRegistryParameter(r, getForceParameter(f, getSaveExactParameter(`npm i ${transform(deps)}`)))
|
|
88
|
+
)
|
|
87
89
|
|
|
88
90
|
info(commands)
|
|
89
91
|
|
|
@@ -104,7 +106,9 @@ export function getInstallSaveExactCommands (deps, r, f) {
|
|
|
104
106
|
export function getInstallCommands (deps, r, f) {
|
|
105
107
|
log('getInstallCommands')
|
|
106
108
|
|
|
107
|
-
const commands = normalizeCommands(
|
|
109
|
+
const commands = normalizeCommands(
|
|
110
|
+
getRegistryParameter(r, getForceParameter(f, `npm i ${transform(deps)}`))
|
|
111
|
+
)
|
|
108
112
|
|
|
109
113
|
info(commands)
|
|
110
114
|
|
|
@@ -125,7 +129,9 @@ export function getInstallCommands (deps, r, f) {
|
|
|
125
129
|
export function getInstallSaveBundleSaveExactCommands (deps, r, f) {
|
|
126
130
|
log('getInstallSaveBundleSaveExactCommands')
|
|
127
131
|
|
|
128
|
-
const commands = normalizeCommands(
|
|
132
|
+
const commands = normalizeCommands(
|
|
133
|
+
getSaveBundleParameter(getInstallSaveExactCommands(deps, r, f))
|
|
134
|
+
)
|
|
129
135
|
|
|
130
136
|
info(commands)
|
|
131
137
|
|
|
@@ -146,7 +152,9 @@ export function getInstallSaveBundleSaveExactCommands (deps, r, f) {
|
|
|
146
152
|
export function getInstallSaveBundleCommands (deps, r, f) {
|
|
147
153
|
log('getInstallSaveBundleCommands')
|
|
148
154
|
|
|
149
|
-
const commands = normalizeCommands(
|
|
155
|
+
const commands = normalizeCommands(
|
|
156
|
+
getSaveBundleParameter(getInstallCommands(deps, r, f))
|
|
157
|
+
)
|
|
150
158
|
|
|
151
159
|
info(commands)
|
|
152
160
|
|
|
@@ -167,7 +175,9 @@ export function getInstallSaveBundleCommands (deps, r, f) {
|
|
|
167
175
|
export function getInstallSaveOptionalSaveExactCommands (deps, r, f) {
|
|
168
176
|
log('getInstallSaveOptionalSaveExactCommands')
|
|
169
177
|
|
|
170
|
-
const commands = normalizeCommands(
|
|
178
|
+
const commands = normalizeCommands(
|
|
179
|
+
getSaveOptionalParameter(getInstallSaveExactCommands(deps, r, f))
|
|
180
|
+
)
|
|
171
181
|
|
|
172
182
|
info(commands)
|
|
173
183
|
|
|
@@ -188,7 +198,9 @@ export function getInstallSaveOptionalSaveExactCommands (deps, r, f) {
|
|
|
188
198
|
export function getInstallSaveOptionalCommands (deps, r, f) {
|
|
189
199
|
log('getInstallSaveOptionalCommands')
|
|
190
200
|
|
|
191
|
-
const commands = normalizeCommands(
|
|
201
|
+
const commands = normalizeCommands(
|
|
202
|
+
getSaveOptionalParameter(getInstallCommands(deps, r, f))
|
|
203
|
+
)
|
|
192
204
|
|
|
193
205
|
info(commands)
|
|
194
206
|
|
|
@@ -209,7 +221,9 @@ export function getInstallSaveOptionalCommands (deps, r, f) {
|
|
|
209
221
|
export function getInstallSaveDevSaveExactCommands (deps, r, f) {
|
|
210
222
|
log('getInstallSaveDevSaveExactCommands')
|
|
211
223
|
|
|
212
|
-
const commands = normalizeCommands(
|
|
224
|
+
const commands = normalizeCommands(
|
|
225
|
+
getSaveDevParameter(getInstallSaveExactCommands(deps, r, f))
|
|
226
|
+
)
|
|
213
227
|
|
|
214
228
|
info(commands)
|
|
215
229
|
|
|
@@ -230,7 +244,9 @@ export function getInstallSaveDevSaveExactCommands (deps, r, f) {
|
|
|
230
244
|
export function getInstallSaveDevCommands (deps, r, f) {
|
|
231
245
|
log('getInstallSaveDevCommands')
|
|
232
246
|
|
|
233
|
-
const commands = normalizeCommands(
|
|
247
|
+
const commands = normalizeCommands(
|
|
248
|
+
getSaveDevParameter(getInstallCommands(deps, r, f))
|
|
249
|
+
)
|
|
234
250
|
|
|
235
251
|
info(commands)
|
|
236
252
|
|
|
@@ -251,7 +267,9 @@ export function getInstallSaveDevCommands (deps, r, f) {
|
|
|
251
267
|
export function getInstallSaveProdSaveExactCommands (deps, r, f) {
|
|
252
268
|
log('getInstallSaveProdSaveExactCommands')
|
|
253
269
|
|
|
254
|
-
const commands = normalizeCommands(
|
|
270
|
+
const commands = normalizeCommands(
|
|
271
|
+
getSaveProdParameter(getInstallSaveExactCommands(deps, r, f))
|
|
272
|
+
)
|
|
255
273
|
|
|
256
274
|
info(commands)
|
|
257
275
|
|
|
@@ -272,7 +290,9 @@ export function getInstallSaveProdSaveExactCommands (deps, r, f) {
|
|
|
272
290
|
export function getInstallSaveProdCommands (deps, r, f) {
|
|
273
291
|
log('getInstallSaveProdCommands')
|
|
274
292
|
|
|
275
|
-
const commands = normalizeCommands(
|
|
293
|
+
const commands = normalizeCommands(
|
|
294
|
+
getSaveProdParameter(getInstallCommands(deps, r, f))
|
|
295
|
+
)
|
|
276
296
|
|
|
277
297
|
info(commands)
|
|
278
298
|
|
package/src/install/index.mjs
CHANGED
|
@@ -61,7 +61,9 @@ log(`\`install\` (${VERSION} - ${PLATFORM}) is awake`)
|
|
|
61
61
|
export function getInstallSaveExactCommands (p, s, r, f) {
|
|
62
62
|
log('getInstallSaveExactCommands')
|
|
63
63
|
|
|
64
|
-
const commands = normalizeCommands(
|
|
64
|
+
const commands = normalizeCommands(
|
|
65
|
+
getNoSaveParameter(s, getRegistryParameter(r, getForceParameter(f, getSaveExactParameter(`npm i ${transform(p)}`))))
|
|
66
|
+
)
|
|
65
67
|
|
|
66
68
|
info(commands)
|
|
67
69
|
|
|
@@ -83,7 +85,9 @@ export function getInstallSaveExactCommands (p, s, r, f) {
|
|
|
83
85
|
export function getInstallCommands (p, s, r, f) {
|
|
84
86
|
log('getInstallCommands')
|
|
85
87
|
|
|
86
|
-
const commands = normalizeCommands(
|
|
88
|
+
const commands = normalizeCommands(
|
|
89
|
+
getNoSaveParameter(s, getRegistryParameter(r, getForceParameter(f, `npm i ${transform(p)}`)))
|
|
90
|
+
)
|
|
87
91
|
|
|
88
92
|
info(commands)
|
|
89
93
|
|