@praxisjs/devtools 0.2.34 → 0.3.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.
- package/CHANGELOG.md +40 -0
- package/assets/uno.generated.css +5 -0
- package/dist/assets/logo.svg.js +4 -0
- package/dist/assets/tailwind-v4.css.js +4 -0
- package/dist/assets/uno.generated.css.js +4 -0
- package/dist/core/event-bus.js +21 -0
- package/dist/core/profiler.js +79 -0
- package/dist/core/registry.js +147 -0
- package/dist/decorators/debug.js +126 -0
- package/dist/decorators/trace.js +45 -0
- package/dist/icons/ellipsis-vertical.js +38 -0
- package/dist/icons/panel-bottom.js +28 -0
- package/dist/icons/panel-left.js +28 -0
- package/dist/icons/panel-right.js +28 -0
- package/dist/icons/panel-top.js +28 -0
- package/dist/icons/x.js +22 -0
- package/dist/index.d.ts +96 -3
- package/dist/index.js +10 -1157
- package/dist/plugins/components/components/component-detail.js +53 -0
- package/dist/plugins/components/components/component-row.js +22 -0
- package/dist/plugins/components/components/detail-row.js +15 -0
- package/dist/plugins/components/components/detail-section.js +14 -0
- package/dist/plugins/components/components/status-dot.js +15 -0
- package/dist/plugins/components/components-tab.js +54 -0
- package/dist/plugins/components/index.js +9 -0
- package/dist/plugins/performance/index.js +9 -0
- package/dist/plugins/performance/performance-tab.js +62 -0
- package/dist/plugins/signals/components/signal-detail.js +29 -0
- package/dist/plugins/signals/components/signal-row.js +17 -0
- package/dist/plugins/signals/index.js +9 -0
- package/dist/plugins/signals/signals-tab.js +53 -0
- package/dist/plugins/timeline/components/badge.js +16 -0
- package/dist/plugins/timeline/components/timeline-row.js +33 -0
- package/dist/plugins/timeline/constants.js +54 -0
- package/dist/plugins/timeline/index.js +9 -0
- package/dist/plugins/timeline/timeline-tab.js +46 -0
- package/dist/ui/dev-tools.js +74 -0
- package/dist/ui/panel.js +106 -0
- package/dist/ui/shared/empty-state.js +14 -0
- package/dist/ui/shared/icon-button.js +17 -0
- package/dist/ui/shared/panel-section.js +14 -0
- package/dist/ui/shared/search-input.js +17 -0
- package/dist/ui/shared/side-panel.js +15 -0
- package/dist/utils/format-time.js +7 -0
- package/dist/utils/format-value.js +14 -0
- package/package.json +14 -6
- package/src/core/profiler.ts +162 -0
- package/src/core/registry.ts +23 -21
- package/src/decorators/debug.ts +96 -32
- package/src/decorators/index.ts +1 -0
- package/src/decorators/trace.ts +27 -4
- package/src/index.ts +5 -0
- package/src/plugins/performance/index.ts +9 -0
- package/src/plugins/performance/performance-tab.tsx +111 -0
- package/src/ui/dev-tools.tsx +5 -0
- package/src/__tests__/debug.test.ts +0 -333
- package/src/__tests__/event-bus.test.ts +0 -123
- package/src/__tests__/format-time.test.ts +0 -52
- package/src/__tests__/format-value.test.ts +0 -46
- package/src/__tests__/plugins.test.ts +0 -101
- package/src/__tests__/registry.test.ts +0 -386
- package/src/__tests__/trace.test.ts +0 -200
- package/tsconfig.json +0 -21
- package/uno.config.ts +0 -57
- package/vite.config.ts +0 -38
package/vite.config.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import path from "path";
|
|
2
|
-
|
|
3
|
-
import UnoCSS from "unocss/vite";
|
|
4
|
-
import { defineConfig, type PluginOption } from "vite";
|
|
5
|
-
import dts from "vite-plugin-dts";
|
|
6
|
-
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
plugins: [...UnoCSS(), dts({ rollupTypes: true })] as PluginOption[],
|
|
9
|
-
oxc: {
|
|
10
|
-
jsx: {
|
|
11
|
-
runtime: "automatic",
|
|
12
|
-
importSource: "@praxisjs/jsx",
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
build: {
|
|
16
|
-
lib: {
|
|
17
|
-
entry: "src/index.ts",
|
|
18
|
-
formats: ["es"],
|
|
19
|
-
fileName: "index",
|
|
20
|
-
},
|
|
21
|
-
rollupOptions: {
|
|
22
|
-
external: (id) => id.startsWith("@praxisjs/"),
|
|
23
|
-
},
|
|
24
|
-
cssCodeSplit: false,
|
|
25
|
-
},
|
|
26
|
-
resolve: {
|
|
27
|
-
alias: {
|
|
28
|
-
"@": path.resolve(__dirname, "src"),
|
|
29
|
-
"@shared": path.resolve(__dirname, "src/ui/shared"),
|
|
30
|
-
"@assets": path.resolve(__dirname, "assets"),
|
|
31
|
-
"@core": path.resolve(__dirname, "src/core"),
|
|
32
|
-
"@plugins": path.resolve(__dirname, "src/plugins"),
|
|
33
|
-
"@decorators": path.resolve(__dirname, "src/decorators"),
|
|
34
|
-
"@utils": path.resolve(__dirname, "src/utils"),
|
|
35
|
-
"@icons": path.resolve(__dirname, "src/icons"),
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
});
|