fix: npm tarball 빌드 경로 및 포함 파일 정정

tsconfig.cli.json + tsconfig.lib.json outDir을 out/cli→out, out/lib→out으로 변경.
bin out/cli/index.js, main out/lib/index.js 경로와 일치시킴.
files에서 resources/** 제거 (아이콘 파일 npm 사용자 불필요).
files에 out/core/** 추가, !out/core/__tests__/**로 테스트 파일 제외.
tarball 크기 1.8MB → 8.4KB.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-09 15:55:36 +09:00
parent 6fe306e7b1
commit 952e74de2f
3 changed files with 4 additions and 3 deletions

View File

@@ -16,7 +16,8 @@
"files": [
"out/cli/**",
"out/lib/**",
"resources/**",
"out/core/**",
"!out/core/__tests__/**",
"README.md",
"LICENSE"
],

View File

@@ -3,7 +3,7 @@
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "node",
"outDir": "out/cli",
"outDir": "out",
"rootDir": "src",
"declaration": false,
"types": ["node"]

View File

@@ -3,7 +3,7 @@
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "node",
"outDir": "out/lib",
"outDir": "out",
"rootDir": "src",
"declaration": true,
"declarationMap": true,