Skip to content

build: use vue-tsc to generate type files for libraries#2194

Draft
JammingBen wants to merge 2 commits intomainfrom
chore/vue-tsc-lib-type-generation
Draft

build: use vue-tsc to generate type files for libraries#2194
JammingBen wants to merge 2 commits intomainfrom
chore/vue-tsc-lib-type-generation

Conversation

@JammingBen
Copy link
Member

@JammingBen JammingBen commented Mar 20, 2026

Removes the vite-plugin-dts dependency and uses vue-tsc to generate type for our library builds (pkg, client, test-helpers, design-system). This means one dependency less and ensures that we use the same type checking mechanism like Web.

Also adds type checks for libraries we build so we can see if emitting d.ts files on build would succeed.

closes #2159

waiting for #2184 to get merged first.

@JammingBen JammingBen self-assigned this Mar 20, 2026
@JammingBen JammingBen added the Type:Maintenance E.g. technical debt, packaging, etc. label Mar 20, 2026
Removes the `vite-plugin-dts` dependency and uses `vue-tsc` to generate type for our library builds (pkg, client, test-helpers, design-system).

This means one dependency less and ensures that we use the same type checking mechanism like Web.
Adds type checks for libraries we build so we can see if emitting `d.ts` files on build would succeed.

Also adds them to CI.
@JammingBen JammingBen force-pushed the chore/vue-tsc-lib-type-generation branch from 6b0d164 to 4dd2f15 Compare March 20, 2026 12:51
@JammingBen JammingBen changed the title chore: use vue-tsc to generate type files for libraries build: use vue-tsc to generate type files for libraries Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:Maintenance E.g. technical debt, packaging, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use vue-tsc to generate types for libraries

1 participant