Skip to content

Commit

Permalink
fix: don't ship test files
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed Nov 6, 2024
1 parent 06e315c commit 848df62
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 18 deletions.
3 changes: 2 additions & 1 deletion packages/eslint-plugin-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"sideEffects": false,
"files": [
"dist",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@typescript-eslint/utils": "^8.3.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/query-async-storage-persister/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-persist-client-core": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/query-broadcast-client-experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-core": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/query-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
]
}
3 changes: 2 additions & 1 deletion packages/query-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
},
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"devDependencies": {
"@kobalte/core": "^0.13.4",
Expand Down
3 changes: 2 additions & 1 deletion packages/query-persist-client-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-core": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/query-sync-storage-persister/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-core": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/react-query-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-devtools": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/react-query-next-experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"devDependencies": {
"@tanstack/react-query": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/react-query-persist-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-persist-client-core": "workspace:*"
Expand Down
1 change: 1 addition & 0 deletions packages/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"files": [
"build",
"src",
"!src/__tests__",
"!build/codemods/node_modules",
"!build/codemods/vite.config.ts",
"!build/codemods/**/__testfixtures__",
Expand Down
3 changes: 2 additions & 1 deletion packages/solid-query-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
},
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-devtools": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/solid-query-persist-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-persist-client-core": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/solid-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
},
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-core": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/svelte-query-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
},
"files": [
"dist",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-devtools": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/svelte-query-persist-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"sideEffects": false,
"files": [
"dist",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-persist-client-core": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/svelte-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"sideEffects": false,
"files": [
"dist",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-core": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/vue-query-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"sideEffects": false,
"files": [
"dist",
"src"
"src",
"!src/__tests__"
],
"dependencies": {
"@tanstack/query-devtools": "workspace:*"
Expand Down
3 changes: 2 additions & 1 deletion packages/vue-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"sideEffects": false,
"files": [
"build",
"src"
"src",
"!src/__tests__"
],
"nx": {
"targets": {
Expand Down

0 comments on commit 848df62

Please sign in to comment.