Skip to content

Commit 0cd10f0

Browse files
committed
Expand .npmignore to exclude editor, build, config, and environment files; include types directory in package.json files array
1 parent 26217f5 commit 0cd10f0

File tree

2 files changed

+40
-4
lines changed

2 files changed

+40
-4
lines changed

.npmignore

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1-
dev/smoke-node.js
2-
dev/smoke-browser.html
3-
dev/
1+
# OS / editor
2+
.DS_Store
3+
.vscode/
4+
.idea/
5+
6+
# node / build
7+
node_modules/
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
12+
# source & dev
13+
src/
14+
dev/
15+
examples/
16+
tests/
17+
test/
18+
coverage/
19+
.nyc_output/
20+
*.log
21+
22+
# configs (opzionale)
23+
.eslintrc*
24+
.prettierrc*
25+
.editorconfig
26+
27+
# environment
28+
.env
29+
.env.local
30+
.env.*.local
31+
32+
# git / github
33+
.git/
34+
.gitignore
35+
.github/
36+
37+
# maps (opzionale)
38+
*.map

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
}
1414
},
1515
"files": [
16-
"dist"
16+
"dist",
17+
"types"
1718
],
1819
"scripts": {
1920
"build": "vite build",

0 commit comments

Comments
 (0)