@stinsky/xray 0.1.0 → 0.2.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/plugin.d.cts +3 -2
- package/dist/plugin.d.ts +3 -2
- package/package.json +2 -2
package/dist/plugin.d.cts
CHANGED
|
@@ -8,8 +8,9 @@ interface XrayPluginOptions {
|
|
|
8
8
|
* Build plugin that injects `data-insp-path` attributes on every DOM element.
|
|
9
9
|
* Wraps `code-inspector-plugin` with xray defaults.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* For webpack/vite/rspack/esbuild: returns a bundler plugin object.
|
|
12
|
+
* For turbopack: returns Record<string, { loaders: Array<{ loader: string; options: object }> }>
|
|
13
|
+
* matching the Next.js `turbopack.rules` format.
|
|
13
14
|
*/
|
|
14
15
|
declare function xrayPlugin(options: XrayPluginOptions): any;
|
|
15
16
|
|
package/dist/plugin.d.ts
CHANGED
|
@@ -8,8 +8,9 @@ interface XrayPluginOptions {
|
|
|
8
8
|
* Build plugin that injects `data-insp-path` attributes on every DOM element.
|
|
9
9
|
* Wraps `code-inspector-plugin` with xray defaults.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* For webpack/vite/rspack/esbuild: returns a bundler plugin object.
|
|
12
|
+
* For turbopack: returns Record<string, { loaders: Array<{ loader: string; options: object }> }>
|
|
13
|
+
* matching the Next.js `turbopack.rules` format.
|
|
13
14
|
*/
|
|
14
15
|
declare function xrayPlugin(options: XrayPluginOptions): any;
|
|
15
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stinsky/xray",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "React dev inspector — hover to see component names, click to open source in your editor. Works with React 19 + Turbopack.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"react-dom": ">=18"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"code-inspector-plugin": "^
|
|
36
|
+
"code-inspector-plugin": "^1.4.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^25.5.0",
|