Skip to content

Commit d92d6a9

Browse files
julianrichieclaude
andcommitted
build: restrict published files to dist
Add a files whitelist so the npm tarball ships only the compiled dist/ output (plus package.json/README/LICENSE), excluding src, tests, and local config that 0.1.6 inadvertently published. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 77f02e3 commit d92d6a9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
77
"types": "dist/index.d.ts",
8+
"files": [
9+
"dist"
10+
],
811
"sideEffects": false,
912
"engines": {
1013
"node": ">=18"

0 commit comments

Comments
 (0)