瀏覽代碼

chore: add react-query dev tools and update lock file

Nicolas Meienberger 2 年之前
父節點
當前提交
20baa4e5e1
共有 4 個文件被更改,包括 298 次插入249 次删除
  1. 1 0
      package.json
  2. 294 248
      pnpm-lock.yaml
  3. 1 1
      public/mockServiceWorker.js
  4. 2 0
      src/pages/_app.tsx

+ 1 - 0
package.json

@@ -35,6 +35,7 @@
     "@tabler/core": "1.0.0-beta17",
     "@tabler/core": "1.0.0-beta17",
     "@tabler/icons-react": "^2.11.0",
     "@tabler/icons-react": "^2.11.0",
     "@tanstack/react-query": "^4.27.0",
     "@tanstack/react-query": "^4.27.0",
+    "@tanstack/react-query-devtools": "^4.27.0",
     "@trpc/client": "^10.16.0",
     "@trpc/client": "^10.16.0",
     "@trpc/next": "^10.16.0",
     "@trpc/next": "^10.16.0",
     "@trpc/react-query": "^10.16.0",
     "@trpc/react-query": "^10.16.0",

File diff suppressed because it is too large
+ 294 - 248
pnpm-lock.yaml


+ 1 - 1
public/mockServiceWorker.js

@@ -2,7 +2,7 @@
 /* tslint:disable */
 /* tslint:disable */
 
 
 /**
 /**
- * Mock Service Worker (1.0.1).
+ * Mock Service Worker (1.1.0).
  * @see https://github.com/mswjs/msw
  * @see https://github.com/mswjs/msw
  * - Please do NOT modify this file.
  * - Please do NOT modify this file.
  * - Please do NOT serve this file on production.
  * - Please do NOT serve this file on production.

+ 2 - 0
src/pages/_app.tsx

@@ -1,4 +1,5 @@
 import React, { useEffect } from 'react';
 import React, { useEffect } from 'react';
+import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
 import type { AppProps } from 'next/app';
 import type { AppProps } from 'next/app';
 import Head from 'next/head';
 import Head from 'next/head';
 import '../client/styles/global.css';
 import '../client/styles/global.css';
@@ -46,6 +47,7 @@ function MyApp({ Component, pageProps }: AppProps) {
           <Component {...pageProps} />
           <Component {...pageProps} />
         </StatusProvider>
         </StatusProvider>
       </ToastProvider>
       </ToastProvider>
+      <ReactQueryDevtools />
     </main>
     </main>
   );
   );
 }
 }

Some files were not shown because too many files changed in this diff