Skip to content

Commit

Permalink
fix: subpackage dependencies (#4013)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianOsipiuk authored Aug 10, 2022
1 parent 2af9174 commit 9172eab
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
3 changes: 3 additions & 0 deletions packages/query-async-storage-persister/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"scripts": {
"clean": "rm -rf ./build",
"test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src"
},
"dependencies": {
"@tanstack/react-query-persist-client": "^4.0.10"
}
}
1 change: 1 addition & 0 deletions packages/query-broadcast-client-experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src"
},
"dependencies": {
"@tanstack/query-core": "^4.0.10",
"broadcast-channel": "^3.4.1"
}
}
3 changes: 3 additions & 0 deletions packages/query-sync-storage-persister/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"scripts": {
"clean": "rm -rf ./build",
"test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src"
},
"dependencies": {
"@tanstack/react-query-persist-client": "^4.0.10"
}
}
11 changes: 6 additions & 5 deletions packages/react-query-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
".": {
"development": {
"types": "./build/lib/index.d.ts",
"require": "./build/lib/index.js",
"default": "./build/lib/index.mjs"
"import": "./build/lib/index.mjs",
"default": "./build/lib/index.js"
},
"default": {
"types": "./build/lib/index.d.ts",
"require": "./build/lib/noop.js",
"default": "./build/lib/noop.mjs"
"import": "./build/lib/noop.mjs",
"default": "./build/lib/noop.js"
}
},
"./production": {
Expand All @@ -44,7 +44,8 @@
"test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src"
},
"dependencies": {
"@tanstack/match-sorter-utils": "^8.0.0-alpha.82",
"@tanstack/match-sorter-utils": "^8.1.1",
"@tanstack/react-query": "^4.0.10",
"@types/use-sync-external-store": "^0.0.3",
"use-sync-external-store": "^1.2.0"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/react-query-persist-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@
"scripts": {
"clean": "rm -rf ./build",
"test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src"
},
"dependencies": {
"@tanstack/query-core": "^4.0.10",
"@tanstack/react-query": "^4.0.10"
}
}
2 changes: 1 addition & 1 deletion packages/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react-error-boundary": "^3.1.4"
},
"dependencies": {
"@tanstack/query-core": "^4.0.0-beta.1",
"@tanstack/query-core": "^4.0.10",
"@types/use-sync-external-store": "^0.0.3",
"use-sync-external-store": "^1.2.0"
},
Expand Down
1 change: 1 addition & 0 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export default function rollup(options: RollupOptions): RollupOptions[] {
entryFile: 'src/index.ts',
globals: {
react: 'React',
'@tanstack/query-core': 'QueryCore',
'@tanstack/react-query': 'ReactQuery',
},
}),
Expand Down

0 comments on commit 9172eab

Please sign in to comment.