Migrate toolchain to Vite+#11
Merged
Merged
Conversation
Replace separate ESLint, Prettier, Vitest, and Vite tooling with the unified Vite+ CLI (vp). Consolidate all lint, format, test, and build config into vite.config.ts. Add v8 test coverage and improve test coverage for teams store, Alert component, and utils. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying mythic-plus-team-randomiser with
|
| Latest commit: |
4b21b4b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e73443e7.mythic-plus-team-randomiser.pages.dev |
| Branch Preview URL: | https://migrate-to-vite-plus.mythic-plus-team-randomiser.pages.dev |
Use pnpm/action-setup@v4 to read packageManager from package.json instead of hardcoding pnpm 9. Bump Node to 22 to match .node-version and satisfy vite-plus native binding requirements. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
vp)vite.config.tseslint,prettier,vue-tsc,npm-run-all2, etc.) and 5 config filesChanges
vp lint), config invite.config.tslintblockvp fmt), existing Prettier settings preserved infmtblockvp test, imports changed fromvitesttovite-plus/testvite build+vue-tsc→vp build@vitest/coverage-v8withpnpm test:coveragescripttime.ts,colours.ts, teams storeswap(), AlerttimeoutbehaviourString.startsWith()over regex,awaiton asyncstore.add()callsTest plan
vp checkpasses (format + lint + type-check)vp test— all 29 tests passvp test run --coverage— coverage report generates correctlyvp build— production build succeedsvp dev— dev server starts and app loads🤖 Generated with Claude Code