Skip to content

Commit 2adb9b1

Browse files
thomasballingerConvex, Inc.
authored andcommitted
Stop using .npmignore (#30609)
Use the package.json "files" property instead of a .npmignore file. GitOrigin-RevId: 10ab0b8280067a8553970d0b27d217ff61d04ae3
1 parent 3d96b9e commit 2adb9b1

File tree

2 files changed

+25
-42
lines changed

2 files changed

+25
-42
lines changed

.npmignore

Lines changed: 0 additions & 40 deletions
This file was deleted.

package.json

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,32 @@
195195
"test": "vitest --silent",
196196
"test-not-silent": "vitest",
197197
"new-test": "vitest",
198-
"test-esm": "node ./scripts/test-esm.mjs && ./scripts/checkdeps.mjs && ./scripts/checkimports.mjs",
199-
"pack-internal": "echo TODO maybe set an environment variable"
198+
"test-esm": "node ./scripts/test-esm.mjs && ./scripts/checkdeps.mjs && ./scripts/checkimports.mjs"
200199
},
200+
"files": [
201+
"bin",
202+
"browser",
203+
"config",
204+
"dist",
205+
"nextjs",
206+
"react",
207+
"react-auth0",
208+
"react-clerk",
209+
"server",
210+
"src",
211+
"values",
212+
"CHANGELOG.md",
213+
"LICENSE",
214+
"README.md",
215+
"browser-bundle.js",
216+
"package.json",
217+
"tsconfig.json",
218+
"!*.test.*",
219+
"!test",
220+
"!test_fixtures",
221+
"!client_node_test_helpers.*",
222+
"!src/bundler/.eslintrc.cjs"
223+
],
201224
"keywords": [
202225
"convex",
203226
"database",

0 commit comments

Comments
 (0)