@su-record/vibe 1.0.10 → 1.0.11
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/vibe +13 -12
- package/package.json +1 -1
package/bin/vibe
CHANGED
|
@@ -315,29 +315,30 @@ function setupCollaboratorAutoInstall(projectRoot) {
|
|
|
315
315
|
modified = true;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
//
|
|
318
|
+
// 기존 postinstall/prepare에서 vibe update 제거 (CI/prd에서 멈춤 문제)
|
|
319
319
|
if (!pkg.scripts) {
|
|
320
320
|
pkg.scripts = {};
|
|
321
321
|
}
|
|
322
|
-
// postinstall에서 prepare로 변경 (npm install --production에서 스킵됨)
|
|
323
322
|
if (pkg.scripts.postinstall && pkg.scripts.postinstall.includes('vibe update')) {
|
|
324
|
-
// 기존 postinstall에서 vibe update 제거
|
|
325
323
|
pkg.scripts.postinstall = pkg.scripts.postinstall
|
|
326
|
-
.replace(/\s*&&\s*npx @su-record\/vibe update --silent
|
|
327
|
-
.replace(/npx @su-record\/vibe update --silent
|
|
328
|
-
.replace(/npx @su-record\/vibe update
|
|
324
|
+
.replace(/\s*&&\s*npx @su-record\/vibe update --silent[^&]*/g, '')
|
|
325
|
+
.replace(/npx @su-record\/vibe update --silent[^&]*\s*&&\s*/g, '')
|
|
326
|
+
.replace(/npx @su-record\/vibe update[^&]*/g, '')
|
|
329
327
|
.trim();
|
|
330
328
|
if (!pkg.scripts.postinstall) {
|
|
331
329
|
delete pkg.scripts.postinstall;
|
|
332
330
|
}
|
|
333
331
|
modified = true;
|
|
334
332
|
}
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
333
|
+
if (pkg.scripts.prepare && pkg.scripts.prepare.includes('vibe update')) {
|
|
334
|
+
pkg.scripts.prepare = pkg.scripts.prepare
|
|
335
|
+
.replace(/\s*&&\s*npx @su-record\/vibe update --silent[^&]*/g, '')
|
|
336
|
+
.replace(/npx @su-record\/vibe update --silent[^&]*\s*&&\s*/g, '')
|
|
337
|
+
.replace(/npx @su-record\/vibe update[^&]*/g, '')
|
|
338
|
+
.trim();
|
|
339
|
+
if (!pkg.scripts.prepare) {
|
|
340
|
+
delete pkg.scripts.prepare;
|
|
341
|
+
}
|
|
341
342
|
modified = true;
|
|
342
343
|
}
|
|
343
344
|
|