Skip to content

Commit b49dcee

Browse files
committed
chore(publish): exclude all test files from npm package
Update the files exclusion pattern from `!example/*.test.ts` to `!**/*.test.ts` to exclude all test files in src/ directory from being published to npm. Previously only example test files were excluded, leaving 12 test files in src/ included in the package.
1 parent 80c638d commit b49dcee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"module": "./dist/index.mjs",
2929
"types": "./dist/index.d.mts",
3030
"files": [
31-
"!example/*.test.ts",
31+
"!**/*.test.ts",
3232
"LICENSE",
3333
"README.md",
3434
"dist",

0 commit comments

Comments
 (0)