Skip to content

Commit

Permalink
feat: switch to tanstack/query-core (#217)
Browse files Browse the repository at this point in the history
* feat: switch to tanstack/query-core

* chore: cleanup
  • Loading branch information
DamianOsipiuk authored Jul 19, 2022
1 parent 85a183c commit ce4fcff
Show file tree
Hide file tree
Showing 37 changed files with 1,434 additions and 4,544 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Hooks for fetching, caching and updating asynchronous data in Vue.

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

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

# Documentation

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

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.
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.

# Quick Features

Expand Down
6 changes: 0 additions & 6 deletions examples/multi-client/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions examples/multi-client/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions examples/multi-client/index.html

This file was deleted.

18 changes: 0 additions & 18 deletions examples/multi-client/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions examples/multi-client/sandbox.config.json

This file was deleted.

15 changes: 0 additions & 15 deletions examples/multi-client/src/App.vue

This file was deleted.

56 changes: 0 additions & 56 deletions examples/multi-client/src/Todos.vue

This file was deleted.

22 changes: 0 additions & 22 deletions examples/multi-client/src/main.ts

This file was deleted.

5 changes: 0 additions & 5 deletions examples/multi-client/src/shims-vue.d.ts

This file was deleted.

15 changes: 0 additions & 15 deletions examples/multi-client/tsconfig.json

This file was deleted.

9 changes: 0 additions & 9 deletions examples/multi-client/vite.config.ts

This file was deleted.

7 changes: 2 additions & 5 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@ import type { Config } from "@jest/types";

const config: Config.InitialOptions = {
preset: "ts-jest",
transform: {
"^.+\\.vue$": "@vue/vue3-jest",
},
moduleFileExtensions: ["js", "ts", "vue"],
moduleFileExtensions: ["js", "ts"],
moduleNameMapper: {
"^vue-query": "<rootDir>/src/index.ts",
},
testEnvironment: "jsdom",
testPathIgnorePatterns: ["test-utils.ts"],
collectCoverage: true,
collectCoverageFrom: [
"src/**/*.{ts,vue}",
"src/**/*.ts",
// Exclude types
"!src/**/*.d.ts",
// Exlude devtools
Expand Down
Loading

0 comments on commit ce4fcff

Please sign in to comment.