Skip to content

Commit b834a18

Browse files
committed
chore: update build configuration and add npmignore to exclude development files from package distribution
1 parent a4f3c1e commit b834a18

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

.npmignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Development files
2+
src/
3+
scripts/
4+
esbuild.config.js
5+
tsconfig.json
6+
tsconfig.build.json
7+
eslint.config.js
8+
.prettierrc
9+
.prettierrc.json
10+
AGENTS.md
11+
.git/
12+
.vscode/
13+
.DS_Store
14+
15+
# Dependencies (đã có trong package.json)
16+
node_modules/

tsconfig.build.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"emitDeclarationOnly": true,
66
"outDir": "./dist",
77
"declaration": true,
8-
"declarationMap": false
8+
"declarationMap": false,
9+
"rootDir": "./src",
10+
"ignoreDeprecations": "6.0"
911
},
1012
"include": ["src/**/*"]
1113
}

0 commit comments

Comments
 (0)