Skip to content

Commit

Permalink
feat: update to esm compliant query-core (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianOsipiuk authored Sep 10, 2022
1 parent dab6c6c commit 9092a63
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"vue": "3.2.39",
"vue-query": "2.0.0-beta.7"
"vue-query": "^2.0.0-beta.9"
},
"devDependencies": {
"@vitejs/plugin-vue": "3.1.0",
Expand Down
5 changes: 2 additions & 3 deletions examples/basic/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
// For dev purpose, when using `npm link`. This breaks codesandbox somehow.
optimizeDeps: {
// include: ["remove-accents"],
// exclude: ["vue-query", "vue-demi"],
include: ["remove-accents"],
exclude: ["vue-query", "vue-demi"],
},
});
28 changes: 14 additions & 14 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"homepage": "https://github.com/DamianOsipiuk/vue-query#readme",
"dependencies": {
"@vue/devtools-api": "^6.2.1",
"@tanstack/query-core": "^4.2.3",
"@tanstack/query-core": "^4.3.1",
"match-sorter": "^6.3.1",
"vue-demi": "^0.13.5"
"vue-demi": "^0.13.11"
},
"peerDependencies": {
"@vue/composition-api": "^1.1.2",
Expand Down

0 comments on commit 9092a63

Please sign in to comment.