@coherent.js/devtools 1.0.0-beta.3 → 1.0.0-beta.6
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/README.md +23 -0
- package/dist/index.js +1238 -23
- package/dist/index.js.map +4 -4
- package/package.json +47 -8
- package/types/index.d.ts +389 -27
package/README.md
CHANGED
|
@@ -18,6 +18,29 @@ For a high-level overview and repository-wide instructions, see the root README:
|
|
|
18
18
|
pnpm add @coherent.js/devtools
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
|
|
22
|
+
## Exports
|
|
23
|
+
|
|
24
|
+
Tree-shakable developer tools for debugging and performance monitoring
|
|
25
|
+
|
|
26
|
+
### Modular Imports (Tree-Shakable)
|
|
27
|
+
|
|
28
|
+
- Component visualizer: `@coherent.js/devtools/visualizer`
|
|
29
|
+
- Performance dashboard: `@coherent.js/devtools/performance`
|
|
30
|
+
- Enhanced errors: `@coherent.js/devtools/errors`
|
|
31
|
+
- Hybrid integration: `@coherent.js/devtools/hybrid`
|
|
32
|
+
- Inspector: `@coherent.js/devtools/inspector`
|
|
33
|
+
- Profiler: `@coherent.js/devtools/profiler`
|
|
34
|
+
- Logger: `@coherent.js/devtools/logger`
|
|
35
|
+
|
|
36
|
+
### Example Usage
|
|
37
|
+
|
|
38
|
+
```javascript
|
|
39
|
+
import { logComponentTree } from '@coherent.js/devtools/visualizer';
|
|
40
|
+
import { createPerformanceDashboard } from '@coherent.js/devtools/performance';
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
> **Note**: All exports are tree-shakable. Import only what you need for optimal bundle size.
|
|
21
44
|
## Quick start
|
|
22
45
|
|
|
23
46
|
JavaScript (ESM):
|