Skip to content

fix: validate generated frontend source - #6

Merged
ShHaWkK merged 6 commits into
masterfrom
fix/generated-vite-output
Sep 23, 2026
Merged

ShHaWkK merged 6 commits into
masterfrom
fix/generated-vite-output

Conversation

@ShHaWkK

@ShHaWkK ShHaWkK commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Summary

Fix an invalid TypeScript fragment emitted by the React/Vite customizer and add regression coverage for generated frontend source.

Fixes

  • replace the corrupted a>FDFs StatusSnapshot fragment with as StatusSnapshot
  • align the CLI display name with the npm package command
  • restore readable UTF-8 help text in the CLI

Regression coverage

  • add a generated-source smoke test using temporary Vite and Next.js directories
  • assert the generated API clients contain valid as StatusSnapshot casts
  • include generated-source validation in npm test

This catches errors inside source-code strings that TypeScript cannot detect when type-checking the generator itself.

@ShHaWkK
ShHaWkK merged commit 0acac95 into master Sep 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant