Skip to content

Commit ecb2ccc

Browse files
committed
chore: add npm ignore to reduce package size
1 parent 2a58e75 commit ecb2ccc

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

.npmignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.DS_Store
2+
Thumbs.db
3+
**/node_modules
4+
**/temp-*
5+
**/tsconfig.tsbuildinfo
6+
.parcel-cache
7+
**/exe/
8+
**/log
9+
**/exe
10+
**/cache
11+
**/.cache
12+
**/coverage
13+
**/.turbo
14+
**/assets
15+
**/build
16+
**/__tests__
17+
**/dev/cpp_vcpkg_project
18+
**/packages/*/dist/
19+
**/*.tgz
20+
**/.eslintrc.json
21+
**/jest.config.mjs
22+
.vscode/
23+
.github/
24+
biome.jsonc

package.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,6 @@
1111
"bin": {
1212
"setup-cpp": "dist/legacy/setup-cpp.js"
1313
},
14-
"files": [
15-
"action.yml",
16-
".dockerignore",
17-
"dist",
18-
"src",
19-
"packages",
20-
"dev/docker",
21-
"README.md",
22-
"LICENSE.txt",
23-
"LICENSE.dependencies.txt",
24-
"package.json",
25-
"package-version.json",
26-
"tsconfig.json"
27-
],
2814
"scripts": {
2915
"build": "turbo build && run-p build.types.modern lint.root.tsc build.cli.modern build.cli.legacy build.library && run-p build.json build.bash",
3016
"build.cli.modern": "cross-env NODE_ENV=production vite build --mode cli-modern",

0 commit comments

Comments
 (0)