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": [ "files": [
"out/cli/**", "out/cli/**",
"out/lib/**", "out/lib/**",
"resources/**", "out/core/**",
"!out/core/__tests__/**",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

View File

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

View File

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