@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.
Files changed (2) hide show
  1. package/bin/vibe +25 -25
  2. 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
- if (!pkg.scripts) {
320
- pkg.scripts = {};
321
- }
322
- if (pkg.scripts.postinstall && pkg.scripts.postinstall.includes('vibe update')) {
323
- pkg.scripts.postinstall = pkg.scripts.postinstall
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, '')
327
- .trim();
328
- if (!pkg.scripts.postinstall) {
329
- delete pkg.scripts.postinstall;
330
- }
331
- modified = true;
332
- }
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
- }
342
- modified = true;
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework",
5
5
  "bin": {
6
6
  "vibe": "./bin/vibe"