Repository navigation
feat(theme): add the colors, with the build and the test of the package - #10
Open
ThomasLiska wants to merge 1 commit into
Open
ThomasLiska wants to merge 1 commit into
ThomasLiska wants to merge 1 commit into
Conversation
The package becomes a library for Vue apps that use Nuxt UI through its Vite plugin: it builds file to file with mkdist, and ships the theme's color aliases and palettes with the roles for the light and the dark theme. A fixture app installs the packed package and proves that both arrive.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The package becomes a library for Vue apps that use Nuxt UI through its Vite plugin. It builds file to file with mkdist through unbuild, and ships the theme's color aliases and palettes with the roles for the light and the dark theme. A fixture app installs the packed package, and the test reads what that app's build contains. unbuild allows TypeScript 5.9 only, so an
overridesentry inpackage.jsonpoints it at the repository's TypeScript 6 until unbuild allows it itself.Checked with the type check,
npm test(the fixture's build, publint and the fixture's type check) and the pre-commit hooks exceptreuse, which did not run locally.