@su-record/vibe 1.0.11 → 1.0.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/bin/vibe +25 -25
- package/package.json +1 -1
package/bin/vibe
CHANGED
|
@@ -315,31 +315,31 @@ function setupCollaboratorAutoInstall(projectRoot) {
|
|
|
315
315
|
modified = true;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
// 기존 postinstall/prepare에서 vibe update 제거 (CI/prd
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
318
|
+
// 기존 postinstall/prepare에서 vibe update 제거 (CI/prd 블로킹 문제)
|
|
319
|
+
// vibe update는 개발자가 직접 실행해야 함
|
|
320
|
+
if (pkg.scripts) {
|
|
321
|
+
const oldPatterns = [
|
|
322
|
+
/\s*&&\s*npx @su-record\/vibe update[^&|;]*/g,
|
|
323
|
+
/npx @su-record\/vibe update[^&|;]*\s*&&\s*/g,
|
|
324
|
+
/npx @su-record\/vibe update[^&|;]*/g,
|
|
325
|
+
/\s*&&\s*node_modules\/\.bin\/vibe update[^&|;]*/g,
|
|
326
|
+
/node_modules\/\.bin\/vibe update[^&|;]*\s*&&\s*/g,
|
|
327
|
+
/node_modules\/\.bin\/vibe update[^&|;]*/g
|
|
328
|
+
];
|
|
329
|
+
|
|
330
|
+
['postinstall', 'prepare'].forEach(script => {
|
|
331
|
+
if (pkg.scripts[script] && pkg.scripts[script].includes('vibe update')) {
|
|
332
|
+
let cleaned = pkg.scripts[script];
|
|
333
|
+
oldPatterns.forEach(p => { cleaned = cleaned.replace(p, ''); });
|
|
334
|
+
cleaned = cleaned.trim();
|
|
335
|
+
if (cleaned) {
|
|
336
|
+
pkg.scripts[script] = cleaned;
|
|
337
|
+
} else {
|
|
338
|
+
delete pkg.scripts[script];
|
|
339
|
+
}
|
|
340
|
+
modified = true;
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
if (modified) {
|