@clazic/urban 0.2.8 → 0.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clazic/urban",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "도시계획연구 보고서 자동 수집·지식베이스 데몬",
5
5
  "type": "module",
6
6
  "engines": {
@@ -39,14 +39,20 @@ try {
39
39
  if (installResult.ok) {
40
40
  console.log(`[urban] 데몬 등록 완료: ${installResult.message}`);
41
41
  const startResult = await startDaemon();
42
- console.log(`[urban] 데몬 시작: ${startResult.message}`);
43
- console.log(`\n[urban] 설치 완료 → http://localhost:${URBAN_PORT}\n`);
42
+ if (startResult.ok) {
43
+ console.log(`[urban] 데몬 시작 완료`);
44
+ console.log(`\n✅ 설치 완료 → http://localhost:${URBAN_PORT}\n`);
45
+ } else {
46
+ console.warn(`[urban] 데몬 등록은 완료됐지만 시작 실패: ${startResult.message}`);
47
+ console.warn(`\n👉 시작하려면: urban start\n`);
48
+ }
44
49
  } else {
45
- console.warn(`[urban] 데몬 자동 등록 실패 'urban install && urban start' 로 수동 시작`);
46
- console.warn(` 원인: ${installResult.message}`);
50
+ console.warn(`\n⚠️ 데몬 자동 등록 실패 (원인: ${installResult.message})`);
51
+ console.warn(`👉 설치 후 수동으로 실행하세요: urban start\n`);
47
52
  }
48
53
  } catch (err) {
49
- console.warn(`[urban] 데몬 자동 시작 건너뜀 'urban install && urban start' 로 수동 시작`);
54
+ console.warn(`\n⚠️ 데몬 자동 시작 건너뜀 (원인: ${err.message})`);
55
+ console.warn(`👉 설치 후 수동으로 실행하세요: urban start\n`);
50
56
  }
51
57
  } catch (err) {
52
58
  // postinstall 전체 실패해도 npm install은 성공으로 처리