mirror of
https://github.com/jung-geun/NFD2NFC.git
synced 2026-06-21 04:15:14 +09:00
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:
@@ -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"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user