@duro-app/cli 1.0.0 → 1.1.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/package.json +5 -5
- package/registry.json +18 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duro-app/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Machine-queryable docs for the Duro design system: components, props, recipes, tokens and rules as CLI output, JSON, or an MCP server.",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@modelcontextprotocol/sdk": ">=1.0.0",
|
|
48
|
-
"@duro-app/ui": "^1.
|
|
48
|
+
"@duro-app/ui": "^1.1.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@duro-app/ui": {
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@types/node": "^24.0.0",
|
|
61
61
|
"ts-morph": "^26.0.0",
|
|
62
62
|
"typescript": "^5.7.0",
|
|
63
|
-
"@duro-app/eslint-plugin": "^1.
|
|
64
|
-
"@duro-app/tokens": "^1.
|
|
65
|
-
"@duro-app/ui": "^1.
|
|
63
|
+
"@duro-app/eslint-plugin": "^1.1.1",
|
|
64
|
+
"@duro-app/tokens": "^1.1.1",
|
|
65
|
+
"@duro-app/ui": "^1.1.1"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"registry": "node scripts/build-registry.mjs",
|
package/registry.json
CHANGED
|
@@ -6110,6 +6110,15 @@
|
|
|
6110
6110
|
},
|
|
6111
6111
|
"severity": "error"
|
|
6112
6112
|
},
|
|
6113
|
+
{
|
|
6114
|
+
"description": "Disallow non-zero flexGrow in css.create styles (react-strict-dom forces flex-grow: 0 on web)",
|
|
6115
|
+
"fixable": "none",
|
|
6116
|
+
"id": "duro/no-flex-grow-web",
|
|
6117
|
+
"messages": {
|
|
6118
|
+
"flexGrowForced": "flexGrow has no effect under react-strict-dom on web — the runtime forces computed flex-grow: 0, so this layout silently collapses. Lay out with a plain DOM scaffold, or absolute-position against a measured container."
|
|
6119
|
+
},
|
|
6120
|
+
"severity": "warn"
|
|
6121
|
+
},
|
|
6113
6122
|
{
|
|
6114
6123
|
"description": "Prefer design tokens over raw hex colors and px values in css.create styles",
|
|
6115
6124
|
"fixable": "suggestion",
|
|
@@ -6145,6 +6154,15 @@
|
|
|
6145
6154
|
"unknownSpecifiers": "Import from {{package}} deep paths instead of the barrel. No known deep path for: {{names}} — fix skipped."
|
|
6146
6155
|
},
|
|
6147
6156
|
"severity": "error"
|
|
6157
|
+
},
|
|
6158
|
+
{
|
|
6159
|
+
"description": "Require @duro-app/ui form components (Field/Input/Select/Textarea) instead of bare html.input/select/textarea",
|
|
6160
|
+
"fixable": "none",
|
|
6161
|
+
"id": "duro/prefer-ds-form-components",
|
|
6162
|
+
"messages": {
|
|
6163
|
+
"useFormKit": "Use {{replacement}} from @duro-app/ui instead of html.{{tag}} — the form kit carries the theme and a11y wiring. If the field you need is missing, add it to duro-design-system (`npx duro list`)."
|
|
6164
|
+
},
|
|
6165
|
+
"severity": "error"
|
|
6148
6166
|
}
|
|
6149
6167
|
]
|
|
6150
6168
|
},
|