Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/fix-tanstack-db-peerdeps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tanstack/query-db-collection": patch
"@tanstack/offline-transactions": patch
---

Use regular dependency for @tanstack/db instead of peerDependency to match the standard pattern used by other TanStack DB packages and prevent duplicate installations
8 changes: 3 additions & 5 deletions packages/offline-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,13 @@
"typecheck": "tsc --noEmit",
"lint": "eslint src"
},
"dependencies": {},
"dependencies": {
"@tanstack/db": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@tanstack/db": "workspace:*",
"eslint": "^8.57.1",
"typescript": "^5.5.4",
"vitest": "^3.2.4"
},
"peerDependencies": {
"@tanstack/db": "*"
}
}
5 changes: 2 additions & 3 deletions packages/query-db-collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"description": "TanStack Query collection for TanStack DB",
"version": "1.0.5",
"dependencies": {
"@standard-schema/spec": "^1.0.0"
"@standard-schema/spec": "^1.0.0",
"@tanstack/db": "workspace:*"
},
"devDependencies": {
"@tanstack/db": "workspace:*",
"@tanstack/query-core": "^5.90.11",
"@vitest/coverage-istanbul": "^3.2.4"
},
Expand All @@ -31,7 +31,6 @@
"module": "dist/esm/index.js",
"packageManager": "[email protected]",
"peerDependencies": {
"@tanstack/db": "*",
"@tanstack/query-core": "^5.0.0",
"typescript": ">=4.7"
},
Expand Down
16 changes: 6 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading