@tanstack/react-devtools 0.6.10 → 0.7.1

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.
@@ -1,3 +1,3 @@
1
1
  import * as Devtools from './devtools.js';
2
- export declare const TanStackDevtools: (typeof Devtools)['TanStackDevtools'];
2
+ export declare const TanStackDevtools: ({ plugins, config, eventBusConfig, }: Devtools.TanStackDevtoolsReactInit) => import('react').ReactElement | null;
3
3
  export type { TanStackDevtoolsReactPlugin, TanStackDevtoolsReactInit, } from './devtools.js';
package/dist/esm/index.js CHANGED
@@ -1,8 +1,6 @@
1
1
  "use client";
2
2
  import { TanStackDevtools as TanStackDevtools$1 } from "./devtools.js";
3
- const TanStackDevtools = process.env.NODE_ENV !== "development" ? function() {
4
- return null;
5
- } : TanStackDevtools$1;
3
+ const TanStackDevtools = TanStackDevtools$1;
6
4
  export {
7
5
  TanStackDevtools
8
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["'use client'\n\nimport * as Devtools from './devtools'\n\nexport const TanStackDevtools: (typeof Devtools)['TanStackDevtools'] =\n process.env.NODE_ENV !== 'development'\n ? function () {\n return null\n }\n : Devtools.TanStackDevtools\n\nexport type {\n TanStackDevtoolsReactPlugin,\n TanStackDevtoolsReactInit,\n} from './devtools'\n"],"names":[],"mappings":";;AAIO;AAGC;AACF;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["'use client'\n\nimport * as Devtools from './devtools'\n\nexport const TanStackDevtools = Devtools.TanStackDevtools\n\nexport type {\n TanStackDevtoolsReactPlugin,\n TanStackDevtoolsReactInit,\n} from './devtools'\n"],"names":[],"mappings":";;AAIO;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-devtools",
3
- "version": "0.6.10",
3
+ "version": "0.7.1",
4
4
  "description": "TanStack Devtools is a set of tools for building advanced devtools for your React application.",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -28,12 +28,6 @@
28
28
  "default": "./dist/esm/index.js"
29
29
  }
30
30
  },
31
- "./production": {
32
- "import": {
33
- "types": "./dist/esm/production.d.ts",
34
- "default": "./dist/esm/production.js"
35
- }
36
- },
37
31
  "./package.json": "./package.json"
38
32
  },
39
33
  "sideEffects": false,
@@ -45,15 +39,15 @@
45
39
  "src"
46
40
  ],
47
41
  "dependencies": {
48
- "@tanstack/devtools": "0.6.14"
42
+ "@tanstack/devtools": "0.6.15"
49
43
  },
50
44
  "devDependencies": {
51
- "@eslint-react/eslint-plugin": "^1.48.5",
52
- "@types/react": "^19.1.12",
53
- "@vitejs/plugin-react": "^4.5.2",
54
- "eslint-plugin-react-compiler": "19.1.0-rc.1",
45
+ "@eslint-react/eslint-plugin": "^1.53.1",
46
+ "@types/react": "^19.1.13",
47
+ "@vitejs/plugin-react": "^4.7.0",
48
+ "eslint-plugin-react-compiler": "19.1.0-rc.2",
55
49
  "eslint-plugin-react-hooks": "^5.2.0",
56
- "react": "19.1.0"
50
+ "react": "19.1.1"
57
51
  },
58
52
  "peerDependencies": {
59
53
  "@types/react": ">=16.8",
package/src/index.ts CHANGED
@@ -2,12 +2,7 @@
2
2
 
3
3
  import * as Devtools from './devtools'
4
4
 
5
- export const TanStackDevtools: (typeof Devtools)['TanStackDevtools'] =
6
- process.env.NODE_ENV !== 'development'
7
- ? function () {
8
- return null
9
- }
10
- : Devtools.TanStackDevtools
5
+ export const TanStackDevtools = Devtools.TanStackDevtools
11
6
 
12
7
  export type {
13
8
  TanStackDevtoolsReactPlugin,
@@ -1,3 +0,0 @@
1
- import * as Devtools from './devtools.js';
2
- export declare const TanStackDevtools: ({ plugins, config, eventBusConfig, }: Devtools.TanStackDevtoolsReactInit) => import('react').ReactElement | null;
3
- export type { TanStackDevtoolsReactPlugin, TanStackDevtoolsReactInit, } from './devtools.js';
@@ -1,7 +0,0 @@
1
- "use client";
2
- import { TanStackDevtools as TanStackDevtools$1 } from "./devtools.js";
3
- const TanStackDevtools = TanStackDevtools$1;
4
- export {
5
- TanStackDevtools
6
- };
7
- //# sourceMappingURL=production.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"production.js","sources":["../../src/production.ts"],"sourcesContent":["'use client'\n\nimport * as Devtools from './devtools'\n\nexport const TanStackDevtools = Devtools.TanStackDevtools\n\nexport type {\n TanStackDevtoolsReactPlugin,\n TanStackDevtoolsReactInit,\n} from './devtools'\n"],"names":[],"mappings":";;AAIO;;;;"}
package/src/production.ts DELETED
@@ -1,10 +0,0 @@
1
- 'use client'
2
-
3
- import * as Devtools from './devtools'
4
-
5
- export const TanStackDevtools = Devtools.TanStackDevtools
6
-
7
- export type {
8
- TanStackDevtoolsReactPlugin,
9
- TanStackDevtoolsReactInit,
10
- } from './devtools'