@modernpoacher/deps 1.6.21 → 1.6.24
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/bin/deps.sh +1 -1
- package/bin/execute/app.js +9 -1
- package/bin/get-default-branch.sh +1 -1
- package/bin/head.sh +1 -1
- package/bin/push.sh +1 -1
- package/bin/wipe.sh +1 -1
- package/package.json +1 -1
package/bin/deps.sh
CHANGED
package/bin/execute/app.js
CHANGED
|
@@ -139,6 +139,8 @@ async function iterate ([directory, ...directories] = [], registry, force, messa
|
|
|
139
139
|
const path = resolve(directory)
|
|
140
140
|
|
|
141
141
|
try {
|
|
142
|
+
log({ path })
|
|
143
|
+
|
|
142
144
|
if (path === await gitRevParse(path)) {
|
|
143
145
|
await execute(path, registry, force, message, author || await getAuthorFromConfiguration(path))
|
|
144
146
|
}
|
|
@@ -178,6 +180,8 @@ async function executeFrom (directory, registry, force, message, author) {
|
|
|
178
180
|
const path = resolve(directory)
|
|
179
181
|
|
|
180
182
|
try {
|
|
183
|
+
log({ path })
|
|
184
|
+
|
|
181
185
|
if (path === await gitRevParse(path)) {
|
|
182
186
|
return (
|
|
183
187
|
await execute(path, registry, force, message, author || await getAuthorFromConfiguration(path))
|
|
@@ -194,6 +198,8 @@ async function executeOnly (directory, registry, force, message, author) {
|
|
|
194
198
|
const path = resolve(directory)
|
|
195
199
|
|
|
196
200
|
try {
|
|
201
|
+
log({ path })
|
|
202
|
+
|
|
197
203
|
if (path === await gitRevParse(path)) {
|
|
198
204
|
return (
|
|
199
205
|
await execute(path, registry, force, message, author || await getAuthorFromConfiguration(path))
|
|
@@ -210,6 +216,8 @@ async function executePath (directory, registry, force, message, author) {
|
|
|
210
216
|
const path = resolve(directory)
|
|
211
217
|
|
|
212
218
|
try {
|
|
219
|
+
log({ path })
|
|
220
|
+
|
|
213
221
|
if (path === await gitRevParse(path)) {
|
|
214
222
|
return (
|
|
215
223
|
await execute(path, registry, force, message, author || await getAuthorFromConfiguration(path))
|
|
@@ -244,7 +252,7 @@ async function app () {
|
|
|
244
252
|
*/
|
|
245
253
|
commander
|
|
246
254
|
.version(VERSION)
|
|
247
|
-
.option('-p, --path [path]', 'Update path')
|
|
255
|
+
.option('-p, --path [path]', 'Update path', '.')
|
|
248
256
|
.option('-f, --from [from]', 'Update from directory')
|
|
249
257
|
.option('-o, --only [only]', 'Update only directory')
|
|
250
258
|
.option('--registry [registry]', 'Installation registry')
|
package/bin/head.sh
CHANGED
package/bin/push.sh
CHANGED
package/bin/wipe.sh
CHANGED