@modernpoacher/deps 2.2.12 → 2.2.14
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 -18
- package/src/install/index.mjs +6 -2
package/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -83,11 +83,9 @@ export function use (key) {
|
|
|
83
83
|
export function getInstallSaveExactCommands (deps, r, f) {
|
|
84
84
|
log('getInstallSaveExactCommands')
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
return commands
|
|
86
|
+
return normalizeCommands(
|
|
87
|
+
getRegistryParameter(r, getForceParameter(f, getSaveExactParameter(`npm i ${transform(deps)}`)))
|
|
88
|
+
)
|
|
91
89
|
}
|
|
92
90
|
|
|
93
91
|
/**
|
|
@@ -104,11 +102,9 @@ export function getInstallSaveExactCommands (deps, r, f) {
|
|
|
104
102
|
export function getInstallCommands (deps, r, f) {
|
|
105
103
|
log('getInstallCommands')
|
|
106
104
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
return commands
|
|
105
|
+
return normalizeCommands(
|
|
106
|
+
getRegistryParameter(r, getForceParameter(f, `npm i ${transform(deps)}`))
|
|
107
|
+
)
|
|
112
108
|
}
|
|
113
109
|
|
|
114
110
|
/**
|
|
@@ -125,7 +121,9 @@ export function getInstallCommands (deps, r, f) {
|
|
|
125
121
|
export function getInstallSaveBundleSaveExactCommands (deps, r, f) {
|
|
126
122
|
log('getInstallSaveBundleSaveExactCommands')
|
|
127
123
|
|
|
128
|
-
const commands = normalizeCommands(
|
|
124
|
+
const commands = normalizeCommands(
|
|
125
|
+
getSaveBundleParameter(getInstallSaveExactCommands(deps, r, f))
|
|
126
|
+
)
|
|
129
127
|
|
|
130
128
|
info(commands)
|
|
131
129
|
|
|
@@ -146,7 +144,9 @@ export function getInstallSaveBundleSaveExactCommands (deps, r, f) {
|
|
|
146
144
|
export function getInstallSaveBundleCommands (deps, r, f) {
|
|
147
145
|
log('getInstallSaveBundleCommands')
|
|
148
146
|
|
|
149
|
-
const commands = normalizeCommands(
|
|
147
|
+
const commands = normalizeCommands(
|
|
148
|
+
getSaveBundleParameter(getInstallCommands(deps, r, f))
|
|
149
|
+
)
|
|
150
150
|
|
|
151
151
|
info(commands)
|
|
152
152
|
|
|
@@ -167,7 +167,9 @@ export function getInstallSaveBundleCommands (deps, r, f) {
|
|
|
167
167
|
export function getInstallSaveOptionalSaveExactCommands (deps, r, f) {
|
|
168
168
|
log('getInstallSaveOptionalSaveExactCommands')
|
|
169
169
|
|
|
170
|
-
const commands = normalizeCommands(
|
|
170
|
+
const commands = normalizeCommands(
|
|
171
|
+
getSaveOptionalParameter(getInstallSaveExactCommands(deps, r, f))
|
|
172
|
+
)
|
|
171
173
|
|
|
172
174
|
info(commands)
|
|
173
175
|
|
|
@@ -188,7 +190,9 @@ export function getInstallSaveOptionalSaveExactCommands (deps, r, f) {
|
|
|
188
190
|
export function getInstallSaveOptionalCommands (deps, r, f) {
|
|
189
191
|
log('getInstallSaveOptionalCommands')
|
|
190
192
|
|
|
191
|
-
const commands = normalizeCommands(
|
|
193
|
+
const commands = normalizeCommands(
|
|
194
|
+
getSaveOptionalParameter(getInstallCommands(deps, r, f))
|
|
195
|
+
)
|
|
192
196
|
|
|
193
197
|
info(commands)
|
|
194
198
|
|
|
@@ -209,7 +213,9 @@ export function getInstallSaveOptionalCommands (deps, r, f) {
|
|
|
209
213
|
export function getInstallSaveDevSaveExactCommands (deps, r, f) {
|
|
210
214
|
log('getInstallSaveDevSaveExactCommands')
|
|
211
215
|
|
|
212
|
-
const commands = normalizeCommands(
|
|
216
|
+
const commands = normalizeCommands(
|
|
217
|
+
getSaveDevParameter(getInstallSaveExactCommands(deps, r, f))
|
|
218
|
+
)
|
|
213
219
|
|
|
214
220
|
info(commands)
|
|
215
221
|
|
|
@@ -230,7 +236,9 @@ export function getInstallSaveDevSaveExactCommands (deps, r, f) {
|
|
|
230
236
|
export function getInstallSaveDevCommands (deps, r, f) {
|
|
231
237
|
log('getInstallSaveDevCommands')
|
|
232
238
|
|
|
233
|
-
const commands = normalizeCommands(
|
|
239
|
+
const commands = normalizeCommands(
|
|
240
|
+
getSaveDevParameter(getInstallCommands(deps, r, f))
|
|
241
|
+
)
|
|
234
242
|
|
|
235
243
|
info(commands)
|
|
236
244
|
|
|
@@ -251,7 +259,9 @@ export function getInstallSaveDevCommands (deps, r, f) {
|
|
|
251
259
|
export function getInstallSaveProdSaveExactCommands (deps, r, f) {
|
|
252
260
|
log('getInstallSaveProdSaveExactCommands')
|
|
253
261
|
|
|
254
|
-
const commands = normalizeCommands(
|
|
262
|
+
const commands = normalizeCommands(
|
|
263
|
+
getSaveProdParameter(getInstallSaveExactCommands(deps, r, f))
|
|
264
|
+
)
|
|
255
265
|
|
|
256
266
|
info(commands)
|
|
257
267
|
|
|
@@ -272,7 +282,9 @@ export function getInstallSaveProdSaveExactCommands (deps, r, f) {
|
|
|
272
282
|
export function getInstallSaveProdCommands (deps, r, f) {
|
|
273
283
|
log('getInstallSaveProdCommands')
|
|
274
284
|
|
|
275
|
-
const commands = normalizeCommands(
|
|
285
|
+
const commands = normalizeCommands(
|
|
286
|
+
getSaveProdParameter(getInstallCommands(deps, r, f))
|
|
287
|
+
)
|
|
276
288
|
|
|
277
289
|
info(commands)
|
|
278
290
|
|
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
|
|