fixdog 0.0.7 → 0.0.9
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/InspectorProvider-CK-j4_KU.cjs.js +1323 -0
- package/dist/InspectorProvider-CK-j4_KU.cjs.js.map +1 -0
- package/dist/InspectorProvider-DJ1qzBkf.esm.js +1315 -0
- package/dist/InspectorProvider-DJ1qzBkf.esm.js.map +1 -0
- package/dist/fixdog.umd.js +4815 -0
- package/dist/fixdog.umd.js.map +1 -0
- package/dist/fixdog.umd.min.js +3 -0
- package/dist/fixdog.umd.min.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.d.ts +32 -0
- package/dist/react/index.cjs.js +1 -1
- package/dist/react/index.esm.js +1 -1
- package/package.json +9 -1
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isDevMode, D as DEV_MODE_WARNING, I as Inspector, a as DEFAULT_OPTIONS, e as enableDebug } from './InspectorProvider-
|
|
2
|
-
export { b as InspectorProvider } from './InspectorProvider-
|
|
1
|
+
import { i as isDevMode, D as DEV_MODE_WARNING, I as Inspector, a as DEFAULT_OPTIONS, e as enableDebug } from './InspectorProvider-DJ1qzBkf.esm.js';
|
|
2
|
+
export { b as InspectorProvider } from './InspectorProvider-DJ1qzBkf.esm.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'source-map-js';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UMD entry point for script tag distribution
|
|
3
|
+
* This is a simplified API for browser script tag usage
|
|
4
|
+
*/
|
|
5
|
+
import { Inspector } from "./inspector";
|
|
6
|
+
import { InspectorOptions } from "./types";
|
|
7
|
+
/**
|
|
8
|
+
* Initialize the fixdog inspector
|
|
9
|
+
* Automatically waits for DOM ready if called before document.body exists
|
|
10
|
+
* @param options - Configuration options
|
|
11
|
+
* @returns Inspector instance, null if not in dev mode, or undefined if waiting for DOM
|
|
12
|
+
*/
|
|
13
|
+
export declare function init(options?: Partial<InspectorOptions>): Inspector | null | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Enable debug logging for troubleshooting source resolution
|
|
16
|
+
*/
|
|
17
|
+
export declare function debug(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Get the current inspector instance
|
|
20
|
+
* @returns The singleton inspector instance or null
|
|
21
|
+
*/
|
|
22
|
+
export declare function getInstance(): Inspector | null;
|
|
23
|
+
/**
|
|
24
|
+
* Destroy the current inspector instance and clean up
|
|
25
|
+
*/
|
|
26
|
+
export declare function destroy(): void;
|
|
27
|
+
/**
|
|
28
|
+
* SDK version - replaced at build time
|
|
29
|
+
*/
|
|
30
|
+
export declare const version: string;
|
|
31
|
+
export { Inspector };
|
|
32
|
+
export type { InspectorOptions } from "./types";
|
package/dist/react/index.cjs.js
CHANGED
package/dist/react/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { b as InspectorProvider } from '../InspectorProvider-
|
|
3
|
+
export { b as InspectorProvider } from '../InspectorProvider-DJ1qzBkf.esm.js';
|
|
4
4
|
import 'source-map-js';
|
|
5
5
|
//# sourceMappingURL=index.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fixdog",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Option+Click any React component to see its source location",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
|
+
"unpkg": "dist/fixdog.umd.min.js",
|
|
10
|
+
"jsdelivr": "dist/fixdog.umd.min.js",
|
|
11
|
+
"browser": "dist/fixdog.umd.min.js",
|
|
9
12
|
"exports": {
|
|
10
13
|
".": {
|
|
11
14
|
"import": "./dist/index.esm.js",
|
|
12
15
|
"require": "./dist/index.cjs.js",
|
|
13
16
|
"types": "./dist/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./umd": {
|
|
19
|
+
"browser": "./dist/fixdog.umd.min.js",
|
|
20
|
+
"default": "./dist/fixdog.umd.min.js"
|
|
14
21
|
}
|
|
15
22
|
},
|
|
16
23
|
"sideEffects": false,
|
|
@@ -39,6 +46,7 @@
|
|
|
39
46
|
"@rollup/plugin-image": "^3.0.3",
|
|
40
47
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
41
48
|
"@rollup/plugin-replace": "^6.0.3",
|
|
49
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
42
50
|
"@rollup/plugin-typescript": "^11.1.0",
|
|
43
51
|
"@types/node": "^22.10.1",
|
|
44
52
|
"@types/react": "^18.2.0",
|