@tanstack/react-devtools 0.6.9 → 0.7.0
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/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -9
- package/src/index.ts +1 -6
- package/dist/esm/production.d.ts +0 -3
- package/dist/esm/production.js +0 -7
- package/dist/esm/production.js.map +0 -1
- package/src/production.ts +0 -10
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as Devtools from './devtools.js';
|
|
2
|
-
export declare const 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 =
|
|
4
|
-
return null;
|
|
5
|
-
} : TanStackDevtools$1;
|
|
3
|
+
const TanStackDevtools = TanStackDevtools$1;
|
|
6
4
|
export {
|
|
7
5
|
TanStackDevtools
|
|
8
6
|
};
|
package/dist/esm/index.js.map
CHANGED
|
@@ -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
|
|
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.
|
|
3
|
+
"version": "0.7.0",
|
|
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,7 +39,7 @@
|
|
|
45
39
|
"src"
|
|
46
40
|
],
|
|
47
41
|
"dependencies": {
|
|
48
|
-
"@tanstack/devtools": "0.6.
|
|
42
|
+
"@tanstack/devtools": "0.6.14"
|
|
49
43
|
},
|
|
50
44
|
"devDependencies": {
|
|
51
45
|
"@eslint-react/eslint-plugin": "^1.48.5",
|
|
@@ -53,7 +47,7 @@
|
|
|
53
47
|
"@vitejs/plugin-react": "^4.5.2",
|
|
54
48
|
"eslint-plugin-react-compiler": "19.1.0-rc.1",
|
|
55
49
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
56
|
-
"react": "
|
|
50
|
+
"react": "19.1.0"
|
|
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
|
|
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,
|
package/dist/esm/production.d.ts
DELETED
|
@@ -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';
|
package/dist/esm/production.js
DELETED
|
@@ -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;;;;"}
|