@tanstack/react-query-devtools 5.0.0-alpha.38 → 5.0.0-alpha.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-query-devtools",
3
- "version": "5.0.0-alpha.38",
3
+ "version": "5.0.0-alpha.42",
4
4
  "description": "Developer tools to interact with and visualize the TanStack/react-query cache",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -38,20 +38,20 @@
38
38
  "src"
39
39
  ],
40
40
  "devDependencies": {
41
- "@types/react": "^18.0.14",
42
- "@types/react-dom": "^18.0.5",
41
+ "@types/react": "^18.2.4",
42
+ "@types/react-dom": "^18.2.4",
43
43
  "react": "^18.2.0",
44
44
  "react-dom": "^18.2.0",
45
45
  "react-error-boundary": "^3.1.4",
46
- "@tanstack/react-query": "5.0.0-alpha.38"
46
+ "@tanstack/react-query": "5.0.0-alpha.42"
47
47
  },
48
48
  "dependencies": {
49
- "@tanstack/query-devtools": "5.0.0-alpha.38"
49
+ "@tanstack/query-devtools": "5.0.0-alpha.42"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": "^18.0.0",
53
53
  "react-dom": "^18.0.0",
54
- "@tanstack/react-query": "5.0.0-alpha.38"
54
+ "@tanstack/react-query": "5.0.0-alpha.42"
55
55
  },
56
56
  "scripts": {
57
57
  "clean": "rimraf ./build",
@@ -59,6 +59,8 @@
59
59
  "test:types": "tsc",
60
60
  "test:lib": "vitest run --coverage",
61
61
  "test:lib:dev": "pnpm run test:lib --watch",
62
+ "build": "pnpm build:rollup && pnpm build:types",
63
+ "build:rollup": "rollup --config rollup.config.mjs",
62
64
  "build:types": "tsc --build && cpy build/lib/index.d.ts build/lib/index.prod.d.ts"
63
65
  }
64
66
  }
package/src/devtools.tsx CHANGED
@@ -9,6 +9,7 @@ import type {
9
9
  } from '@tanstack/query-devtools'
10
10
  import { TanstackQueryDevtools } from '@tanstack/query-devtools'
11
11
  import React from 'react'
12
+
12
13
  export interface DevtoolsOptions {
13
14
  /**
14
15
  * Set this true if you want the dev tools to default to being open