Skip to content

chore(ui): stop committing the generated dts files - #160

Merged
BatLeDev merged 1 commit into
masterfrom
chore-untrack-ui-dts
Oct 1, 2026
Merged

BatLeDev merged 1 commit into
masterfrom
chore-untrack-ui-dts

Conversation

@BatLeDev

@BatLeDev BatLeDev commented Oct 1, 2026

Copy link
Copy Markdown
Member

Stop tracking ui/dts/* (typed router, auto-imports, components): they are generated by the vite plugins, like in data-fair, portals and catalogs.

  • ui/dts is ignored in ui/.gitignore
  • the ui build script is now plain vite build (it ran vue-tsc -b first, which is why the generated files had to be committed)
  • the type check runs after the ui build, in the quality workflow and in npm run quality

Why: the files churned between dev and build (the /dev page only exists in dev) and polluted unrelated diffs.

Heads-up: on a fresh clone, npm run check-types needs a ui build or a dev server run first to generate ui/dts, same as data-fair. The docker image builds and serves the SPA without the files.

They are written by the vite plugins (router, auto-imports, components) and
churned between dev and build (the /dev page only exists in dev). The ui build
no longer runs vue-tsc before vite, the type check runs after the build as in
the other data-fair services.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BatLeDev
BatLeDev merged commit 4239c5d into master Oct 1, 2026
3 checks passed
@BatLeDev
BatLeDev deleted the chore-untrack-ui-dts branch October 1, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant