@su-record/vibe 1.0.13 → 1.0.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/bin/vibe +5 -10
- package/package.json +1 -1
package/bin/vibe
CHANGED
|
@@ -306,17 +306,14 @@ function setupCollaboratorAutoInstall(projectRoot) {
|
|
|
306
306
|
|
|
307
307
|
let modified = false;
|
|
308
308
|
|
|
309
|
-
// devDependencies
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
if (!pkg.devDependencies['@su-record/vibe']) {
|
|
314
|
-
pkg.devDependencies['@su-record/vibe'] = `^${vibeVersion}`;
|
|
309
|
+
// 기존 devDependencies에서 @su-record/vibe 제거 (npm install 블로킹 원인)
|
|
310
|
+
// vibe는 전역 설치로만 사용해야 함
|
|
311
|
+
if (pkg.devDependencies && pkg.devDependencies['@su-record/vibe']) {
|
|
312
|
+
delete pkg.devDependencies['@su-record/vibe'];
|
|
315
313
|
modified = true;
|
|
316
314
|
}
|
|
317
315
|
|
|
318
316
|
// 기존 postinstall/prepare에서 vibe update 제거 (CI/prd 블로킹 문제)
|
|
319
|
-
// vibe update는 개발자가 직접 실행해야 함
|
|
320
317
|
if (pkg.scripts) {
|
|
321
318
|
const oldPatterns = [
|
|
322
319
|
/\s*&&\s*npx @su-record\/vibe update[^&|;]*/g,
|
|
@@ -344,9 +341,7 @@ function setupCollaboratorAutoInstall(projectRoot) {
|
|
|
344
341
|
|
|
345
342
|
if (modified) {
|
|
346
343
|
fs.writeFileSync(packageJsonPath, JSON.stringify(pkg, null, 2) + '\n');
|
|
347
|
-
log(' ✅ package.json
|
|
348
|
-
} else {
|
|
349
|
-
log(' ℹ️ package.json 협업 설정 이미 존재\n');
|
|
344
|
+
log(' ✅ package.json 정리 완료 (vibe 관련 스크립트/의존성 제거)\n');
|
|
350
345
|
}
|
|
351
346
|
} catch (e) {
|
|
352
347
|
log(' ⚠️ package.json 수정 실패: ' + e.message + '\n');
|