You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ui): align prettier across all three UI workspaces and enforce it in the ui:lint chain (#8193)
Root cause of the #8182 docs mangling: prettier coverage differed between
what 'npm run format' would rewrite locally and what CI checked (nothing).
Now the three UI workspaces agree everywhere:
- .prettierignore in every workspace covers the generated artifacts
(openapi.json, routeTree.gen.ts, dist, CHANGELOG.md) and — deliberately —
content/docs: prettier's mdx pass reformats the template-literal code
inside <CodeBlock code={`...`}> attributes, destroying embedded
YAML/compose indentation. Docs mdx stays formatter-free.
- One mechanical reformat brings every remaining file to prettier-clean.
- Each workspace gains format:check, wired into the root ui:lint chain that
CI's validate job and npm run test:ci already run — local format runs and
CI now enforce the identical surface, so drift of this class cannot land
silently again.
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@
60
60
"ui:kit:build": "npm run build --workspace @loopover/ui-kit",
61
61
"ui:build": "npm run ui:kit:build && turbo run build --filter=@loopover/engine && npm run ui:openapi && npm run extension:build && npm run miner-extension:build && npm --workspace @loopover/ui run build && npm --workspace @loopover/ui-miner run build",
62
62
"ui:preview": "npm run ui:build && wrangler dev --config apps/loopover-ui/dist/server/wrangler.json --ip 127.0.0.1 --port 4173 --local",
63
-
"ui:lint": "npm run ui:kit:build && npm --workspace @loopover/ui run lint && npm --workspace @loopover/ui-miner run lint",
63
+
"ui:lint": "npm run ui:kit:build && npm --workspace @loopover/ui-kit run format:check && npm --workspace @loopover/ui run format:check && npm --workspace @loopover/ui run lint && npm --workspace @loopover/ui-miner run format:check && npm --workspace @loopover/ui-miner run lint",
64
64
"ui:typecheck": "npm run ui:kit:build && npm --workspace @loopover/ui run typecheck && npm --workspace @loopover/ui-miner run typecheck",
65
65
"preui:test": "npm run check-node-version",
66
66
"ui:test": "npm run ui:kit:build && npm --workspace @loopover/ui run test && npm --workspace @loopover/ui-miner run test && npm --workspace @loopover/miner-extension run test",
0 commit comments