Repository navigation
Conversation
- vite-plus 1.4.0 (Vite 8 + Rolldown, Vitest 5, Oxlint, Oxfmt) via npm overrides - lint/fmt/test config in vite.config.ts; `check`, `lint`, `fmt`, `typecheck`, `outdated`, `upgrade` scripts - keep `vue-tsc -b` in `build` and `check`: tsgolint doesn't type check .vue SFCs - TypeScript 6.0 (TS 7 has no compiler API for vue-tsc), add the vue-router dependency main.ts imports - fix lint findings: untyped template ref, unsafe optional chaining, `any` router param, `if (loading)` on a ref that was always truthy, floating promises - seed HelloApi component test with @vue/test-utils - drop the stale /src/styles/style.css link from index.html Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- build.yml: new client job (npm run check, vp test run, npm run build); drop unused setup-node from the .NET job - build-container.yml: voidzero-dev/setup-vp replaces setup-node + npm install - AGENTS.md / README.md: Vite+ commands, vue-tsc for .vue type checking; dtos.ts is regenerated on .NET startup, so `npm run dtos` is typically never needed - MyApp.code-workspace: adds MyApp.Client as its own root so the Oxc extension resolves the local vite-plus; formats .vue with Oxfmt - .git-blame-ignore-revs: ignore the Oxfmt formatting commit Co-Authored-By: Claude Opus 5.5 <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.
Moves the Vue client to Vite+ (
vite-plus1.4.0): Vite 8 (Rolldown), Vitest 5, Oxlint and Oxfmt, with all tool config invite.config.ts. npm scripts stay the public interface, sodotnet watch,dotnet publishand the.esprojwork unchanged.Vue-specific
vue-tsc -bstays inbuildandcheck("check": "vp check && vue-tsc -b").vp check's TypeScript Go type checker skips.vueSFCs: a planted type error inHelloApi.vuepassedvp checkbut failedvue-tsc.vue-tsc, sotypescriptis held back innpm run upgrade..vue<script>blocks (vueplugin) and Oxfmt formats SFC templates. The reformat leaves the rendered DOM byte-identical.vue-routeras a direct dependency (it was only installed through@servicestack/vue), kept on v4 for@servicestack/vue.Fixes from the first lint run
configRoutertestedif (loading)on a ref, which is always truthyanyinShellCommand.vue, an unsafe?.destructure ingetRedirect,signout(router: any), floating promises/src/styles/style.csslink fromindex.html(build warning)Also
HelloApicomponent test with@vue/test-utils(8 tests)clientjob inbuild.yml;build-container.ymlusesvoidzero-dev/setup-vp@v1.22.0dtos.tsis regenerated on .NET startup, sonpm run dtosis rarely neededMyApp.code-workspacefor the Oxc extension (formats.vueon save);.git-blame-ignore-revsfor the Oxfmt commitAutoUis.vuecarousel and thedtos.tsheaderVerified locally
npm ci→npm run check,npm run test:run,npm run buildpassdotnet publish: the published app bootstraps an empty DB and renders with no console errors@servicestack/vue, not Vite+ (the old Vite 7 setup gives 445 kB on a fresh install)Not tested: format-on-save in VS Code.
🤖 Generated with Claude Code