uidex 0.2.4 → 0.3.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/README.md +253 -353
- package/dist/cli/cli.cjs +3243 -0
- package/dist/cli/cli.cjs.map +1 -0
- package/dist/cloud/index.cjs +149 -0
- package/dist/cloud/index.cjs.map +1 -0
- package/dist/cloud/index.d.cts +108 -0
- package/dist/cloud/index.d.ts +108 -0
- package/dist/cloud/index.js +120 -0
- package/dist/cloud/index.js.map +1 -0
- package/dist/headless/index.cjs +3580 -0
- package/dist/headless/index.cjs.map +1 -0
- package/dist/headless/index.d.cts +214 -0
- package/dist/headless/index.d.ts +214 -0
- package/dist/headless/index.js +3562 -0
- package/dist/headless/index.js.map +1 -0
- package/dist/index.cjs +6902 -9801
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +901 -146
- package/dist/index.d.ts +901 -146
- package/dist/index.js +6896 -9805
- package/dist/index.js.map +1 -1
- package/dist/playwright/index.cjs +164 -24
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.cts +30 -53
- package/dist/playwright/index.d.ts +30 -53
- package/dist/playwright/index.js +148 -21
- package/dist/playwright/index.js.map +1 -1
- package/dist/playwright/reporter.cjs +62 -28
- package/dist/playwright/reporter.cjs.map +1 -1
- package/dist/playwright/reporter.d.cts +24 -12
- package/dist/playwright/reporter.d.ts +24 -12
- package/dist/playwright/reporter.js +62 -28
- package/dist/playwright/reporter.js.map +1 -1
- package/dist/react/index.cjs +6936 -9808
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +673 -146
- package/dist/react/index.d.ts +673 -146
- package/dist/react/index.js +6980 -9811
- package/dist/react/index.js.map +1 -1
- package/dist/scan/index.cjs +3281 -0
- package/dist/scan/index.cjs.map +1 -0
- package/dist/scan/index.d.cts +373 -0
- package/dist/scan/index.d.ts +373 -0
- package/dist/scan/index.js +3224 -0
- package/dist/scan/index.js.map +1 -0
- package/package.json +71 -65
- package/templates/claude/audit.md +37 -0
- package/templates/claude/rules.md +212 -0
- package/claude/audit-command.md +0 -46
- package/claude/rules.md +0 -167
- package/dist/api/index.cjs +0 -254
- package/dist/api/index.cjs.map +0 -1
- package/dist/api/index.d.cts +0 -236
- package/dist/api/index.d.ts +0 -236
- package/dist/api/index.js +0 -226
- package/dist/api/index.js.map +0 -1
- package/dist/core/index.cjs +0 -11045
- package/dist/core/index.cjs.map +0 -1
- package/dist/core/index.d.cts +0 -424
- package/dist/core/index.d.ts +0 -424
- package/dist/core/index.global.js +0 -66516
- package/dist/core/index.global.js.map +0 -1
- package/dist/core/index.js +0 -10995
- package/dist/core/index.js.map +0 -1
- package/dist/core/style.css +0 -1529
- package/dist/scripts/cli.cjs +0 -3904
- package/uidex.schema.json +0 -93
package/uidex.schema.json
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "uidex configuration",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"defaults": {
|
|
7
|
-
"type": "object",
|
|
8
|
-
"description": "Default values for annotation components",
|
|
9
|
-
"properties": {
|
|
10
|
-
"color": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "Default highlight color (hex)",
|
|
13
|
-
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
14
|
-
},
|
|
15
|
-
"borderStyle": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"enum": ["solid", "dashed", "dotted"],
|
|
18
|
-
"description": "Default border style"
|
|
19
|
-
},
|
|
20
|
-
"borderWidth": {
|
|
21
|
-
"type": "number",
|
|
22
|
-
"minimum": 1,
|
|
23
|
-
"maximum": 10,
|
|
24
|
-
"description": "Default border width in pixels"
|
|
25
|
-
},
|
|
26
|
-
"showLabel": {
|
|
27
|
-
"type": "boolean",
|
|
28
|
-
"description": "Whether to show labels by default"
|
|
29
|
-
},
|
|
30
|
-
"labelPosition": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"enum": ["top-left", "top-right", "bottom-left", "bottom-right"],
|
|
33
|
-
"description": "Default label position"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"colors": {
|
|
38
|
-
"type": "object",
|
|
39
|
-
"description": "Named color presets",
|
|
40
|
-
"additionalProperties": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"disabled": {
|
|
46
|
-
"type": "boolean",
|
|
47
|
-
"description": "Globally disable all annotations"
|
|
48
|
-
},
|
|
49
|
-
"scanner": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"description": "Configuration for the build-time annotation scanner",
|
|
52
|
-
"properties": {
|
|
53
|
-
"sources": {
|
|
54
|
-
"type": "array",
|
|
55
|
-
"description": "Source directories to scan",
|
|
56
|
-
"items": {
|
|
57
|
-
"type": "object",
|
|
58
|
-
"required": ["rootDir", "include"],
|
|
59
|
-
"properties": {
|
|
60
|
-
"rootDir": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"description": "Root directory for this source (e.g., 'src' or '../packages/ui/src')"
|
|
63
|
-
},
|
|
64
|
-
"include": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"items": { "type": "string" },
|
|
67
|
-
"description": "Glob patterns for files to scan within this source"
|
|
68
|
-
},
|
|
69
|
-
"exclude": {
|
|
70
|
-
"type": "array",
|
|
71
|
-
"items": { "type": "string" },
|
|
72
|
-
"description": "Additional exclude patterns specific to this source"
|
|
73
|
-
},
|
|
74
|
-
"prefix": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "Prefix for filePath in output (e.g., '@myorg/ui' results in '@myorg/ui/Button.tsx')"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"exclude": {
|
|
82
|
-
"type": "array",
|
|
83
|
-
"items": { "type": "string" },
|
|
84
|
-
"description": "Global glob patterns for files to exclude (e.g., ['**/*.test.*'])"
|
|
85
|
-
},
|
|
86
|
-
"outputPath": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"description": "Path for the generated TypeScript file (e.g., 'src/generated/annotations.ts')"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|