diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 1217955..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index 99669e3..aeb0261 100644 --- a/.gitignore +++ b/.gitignore @@ -135,6 +135,7 @@ public/ # macOS *.DS_Store +.DS_Store *.AppleDouble *.LSOverride diff --git a/License.md b/License.md new file mode 100644 index 0000000..d3e695c --- /dev/null +++ b/License.md @@ -0,0 +1,7 @@ +# Released under MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 2f945bc..81411b1 100644 --- a/README.md +++ b/README.md @@ -35,18 +35,37 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c 1. Download npm package into your application. + **React** + ```sh npm i -D react-query-rewind ``` -2. Import the ReactQueryRewind component into the root of your applicaiton. + **Svelte** + + ```sh + npm i --save-dev @react-query-rewind/svelte-query-rewind + ``` + + **Vue** + + ```sh + npm i --save-dev @react-query-rewind/vue-query-rewind + ``` - _picture of importing the component_ +2. Import the ReactQueryRewind component into the root of your applicaiton. ```javascript import ReactQueryRewind from "react-query-rewind"; ``` + _Note: Some older versions of NextJS default to the commonJS version of the package, causing apps to error_ + _If you encounter this error, import the component with:_ + + ```javascript + import ReactQueryRewind from "../../node_modules/react-query-rewind/dist/esm/index.js"; + ``` + 3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component. ```javascript @@ -108,7 +127,9 @@ Rui Fan - [GitHub](https://github.com/ruifan-IU) - [LinkedIn](https://www.linked [![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@teeringe/react-query-rewind-time-travel-debugging-made-simple-46aaeeafd497) [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/react-query-rewind/) -Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind-chrome) +Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind) + +Website: [reactqueryrewind.com](https://reactqueryrewind.com/) # License [MIT](https://www.mit.edu/~amini/LICENSE.md) diff --git a/package-react/README.md b/package-react/README.md index 2f945bc..a9f3acd 100644 --- a/package-react/README.md +++ b/package-react/README.md @@ -41,12 +41,17 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c 2. Import the ReactQueryRewind component into the root of your applicaiton. - _picture of importing the component_ - ```javascript import ReactQueryRewind from "react-query-rewind"; ``` + _Note: Some older versions of NextJS default to the commonJS version of the package, causing apps to error_ + _If you encounter this error, import the component with:_ + + ```javascript + import ReactQueryRewind from "../../node_modules/react-query-rewind/dist/esm/index.js"; + ``` + 3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component. ```javascript @@ -108,7 +113,9 @@ Rui Fan - [GitHub](https://github.com/ruifan-IU) - [LinkedIn](https://www.linked [![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@teeringe/react-query-rewind-time-travel-debugging-made-simple-46aaeeafd497) [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/react-query-rewind/) -Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind-chrome) +Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind) + +Website: [reactqueryrewind.com](https://reactqueryrewind.com/) # License [MIT](https://www.mit.edu/~amini/LICENSE.md) diff --git a/package-react/package.json b/package-react/package.json index 90dcc26..9bb3015 100644 --- a/package-react/package.json +++ b/package-react/package.json @@ -18,7 +18,7 @@ "type": "git", "url": "git+https://github.com/oslabs-beta/react-query-rewind.git" }, - "version": "2.1.9", + "version": "2.1.11", "description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools", "keywords": [ "react", diff --git a/package-svelte/README.md b/package-svelte/README.md index f86be26..1666cc9 100644 --- a/package-svelte/README.md +++ b/package-svelte/README.md @@ -36,15 +36,13 @@ Svelte Query Rewind introduces a powerful DevTool extension designed to work in 1. Download npm package into your application as a dev dependency. ```sh - npm i --save-dev react-query-rewind + npm i --save-dev @react-query-rewind/svelte-query-rewind ``` 2. Import the ReactQueryRewind component into the root of your applicaiton. - _picture of importing the component_ - ```javascript - import ReactQueryRewind from 'react-query-rewind'; + import ReactQueryRewind from '@react-query-rewind/svelte-query-rewind;` ``` 3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component. @@ -97,7 +95,9 @@ Rui Fan - [GitHub](https://github.com/ruifan-IU) - [LinkedIn](https://www.linked [![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@teeringe/react-query-rewind-time-travel-debugging-made-simple-46aaeeafd497) [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/react-query-rewind/) -Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind-chrome) +Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind) + +Website: [reactqueryrewind.com](https://reactqueryrewind.com/) # License diff --git a/package-svelte/package-lock.json b/package-svelte/package-lock.json index 4382c76..04bbe39 100644 --- a/package-svelte/package-lock.json +++ b/package-svelte/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-query-rewind", - "version": "1.1.1", + "version": "1.1.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-query-rewind", - "version": "1.1.1", + "version": "1.1.7", "license": "MIT", "devDependencies": { "@babel/preset-env": "^7.23.5", diff --git a/package-svelte/package.json b/package-svelte/package.json index 3f538c8..60d2490 100644 --- a/package-svelte/package.json +++ b/package-svelte/package.json @@ -1,5 +1,5 @@ { - "name": "react-query-rewind", + "name": "@react-query-rewind/svelte-query-rewind", "contributors": [ { "name": "John Dunn" @@ -16,12 +16,12 @@ ], "repository": { "type": "git", - "url": "git+https://github.com/oslabs-beta/react-query-rewind" + "url": "git+https://github.com/oslabs-beta/react-query-rewind.git" }, - "version": "1.1.6", + "version": "1.1.8", "description": "Svelte Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools", "keywords": [ - "react", + "svelte", "react query", "tanstack query", "@tanstack", diff --git a/package-vue/README.md b/package-vue/README.md index f58dd56..e50a9c8 100644 --- a/package-vue/README.md +++ b/package-vue/README.md @@ -36,26 +36,20 @@ Vue Query Rewind introduces a powerful DevTool extension designed to work in con 1. Download npm package into your application as a dev dependency. ```sh - npm i --save-dev react-query-rewind + npm i --save-dev @react-query-rewind/vue-query-rewind ``` 2. Import the ReactQueryRewind component into the root of your applicaiton. - _picture of importing the component_ - ```javascript - import ReactQueryRewind from 'react-query-rewind'; + import VueQueryRewind from '@react-query-rewind/vue-query-rewind'; ``` -3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component. +3. Use the VueQuery plugins ```javascript - ReactDOM.createRoot(document.getElementById('root')!).render( - - - - - ); + app.use(VueQueryPlugin, { queryClient }); // from Tanstack + app.use(VueQueryRewind); ``` 4. Open the Chrome DevTool Extension and start coding! @@ -97,7 +91,9 @@ Rui Fan - [GitHub](https://github.com/ruifan-IU) - [LinkedIn](https://www.linked [![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@teeringe/react-query-rewind-time-travel-debugging-made-simple-46aaeeafd497) [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/react-query-rewind/) -Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind-chrome) +Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind) + +Website: [reactqueryrewind.com](https://reactqueryrewind.com/) # License diff --git a/package-vue/package.json b/package-vue/package.json index 82a97e1..8766b59 100644 --- a/package-vue/package.json +++ b/package-vue/package.json @@ -1,6 +1,6 @@ { "name": "@react-query-rewind/vue-query-rewind", - "version": "1.1.6", + "version": "1.1.9", "description": "Vue Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools", "type": "module", "files": [ @@ -8,7 +8,7 @@ ], "repository": { "type": "git", - "url": "git+https://github.com/oslabs-beta/react-query-rewind" + "url": "git+https://github.com/oslabs-beta/react-query-rewind.git" }, "main": "./dist/VueQueryRewind.cjs.js", "module": "./dist/VueQueryRewind.es.js", @@ -47,6 +47,7 @@ "vue-plugin", "tanstack" ], + "license": "MIT", "contributors": [ { "name": "John Dunn"