Skip to content

Commit ce4fcff

Browse files
feat: switch to tanstack/query-core (#217)
* feat: switch to tanstack/query-core * chore: cleanup
1 parent 85a183c commit ce4fcff

37 files changed

+1434
-4544
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Hooks for fetching, caching and updating asynchronous data in Vue.
1414

1515
Support for Vue 2.x via [vue-demi](https://github.com/vueuse/vue-demi)
1616

17-
Based on [react-query](https://github.com/tannerlinsley/react-query)
17+
Based on [TanStack/query](https://github.com/TanStack/query)
1818

1919
# Documentation
2020

2121
Visit https://vue-query.vercel.app
2222

23-
For topics not covered in `vue-query` docs visit [react-query docs](https://react-query.tanstack.com/reference/useQuery) as most of the concepts and APIs are the same.
23+
For topics not covered in `vue-query` docs visit [TanStack/query docs](https://tanstack.com/query/v4/docs/reference/useQuery) as most of the concepts and APIs are the same.
2424

2525
# Quick Features
2626

examples/multi-client/.gitignore

-6
This file was deleted.

examples/multi-client/README.md

-6
This file was deleted.

examples/multi-client/index.html

-12
This file was deleted.

examples/multi-client/package.json

-18
This file was deleted.

examples/multi-client/sandbox.config.json

-5
This file was deleted.

examples/multi-client/src/App.vue

-15
This file was deleted.

examples/multi-client/src/Todos.vue

-56
This file was deleted.

examples/multi-client/src/main.ts

-22
This file was deleted.

examples/multi-client/src/shims-vue.d.ts

-5
This file was deleted.

examples/multi-client/tsconfig.json

-15
This file was deleted.

examples/multi-client/vite.config.ts

-9
This file was deleted.

jest.config.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@ import type { Config } from "@jest/types";
22

33
const config: Config.InitialOptions = {
44
preset: "ts-jest",
5-
transform: {
6-
"^.+\\.vue$": "@vue/vue3-jest",
7-
},
8-
moduleFileExtensions: ["js", "ts", "vue"],
5+
moduleFileExtensions: ["js", "ts"],
96
moduleNameMapper: {
107
"^vue-query": "<rootDir>/src/index.ts",
118
},
129
testEnvironment: "jsdom",
1310
testPathIgnorePatterns: ["test-utils.ts"],
1411
collectCoverage: true,
1512
collectCoverageFrom: [
16-
"src/**/*.{ts,vue}",
13+
"src/**/*.ts",
1714
// Exclude types
1815
"!src/**/*.d.ts",
1916
// Exlude devtools

0 commit comments

Comments
 (0)