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 - replace ESLint (.eslintrc.cjs, never loaded by ESLint 9) and npm-run-all2; `typescript/no-explicit-any` is a warning as it was never enforced - 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); vue-tsc pinned to 3.3.13, 3.3.14 breaks component props next to static attrs containing `//` (vuejs/language-tools#6322) - vite-plugin-vue-layouts-next 3.x for Vite 8; drop the duplicate PostCSS Tailwind config - fix lint findings: LiteYouTube appended `&undefined` to embed URLs, `if (loading)` on a ref that was always truthy, unsafe optional chaining, `any` router param, wrapper object types, non-null assertion on an optional chain, useless regex escapes, floating promises - seed HelloApi component test with @vue/test-utils - remove the empty src/_posts/components/Icons.ts 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, held-back upgrades; dtos.ts is regenerated on .NET startup, so `npm run dtos` is typically never needed - MyApp.Client/README.md: replace the obsolete Volar Take Over Mode and ESLint sections - 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"), sincevp check's TypeScript Go type checker skips.vueSFCs. Planted type errors are caught byvp checkin.tsand byvue-tscin.vue.vue-tsc, sotypescriptis held back innpm run upgrade.vue-tscpinned to3.3.13.npm run buildalready failed onmainwith a fresh install: vue-tsc 3.3.14 reports a bogus TS2339 when a component has a static attribute containing//(theNavListItem href="https://..."links in_posts/components). Upstream: vue-tsc 3.3.14://in a template attribute value produces invalid codegen and breaks dot-value narrowing (TS2339 "Property 'value' does not exist") vuejs/language-tools#6322. Unpin once it's fixed..vue<script>blocks (vueplugin); Oxfmt formats SFC templates.dtos.ts,components.d.ts,typed-router.d.ts) and markdown content;_posts/componentscode is still checked.Dependencies
vite-plugin-vue-layouts-next1.x → 3.x (1.x peers only up to Vite 7; v3 only drops vite-plugin-pages support, unused here)unplugin-vue-markdownkept on 29.x and held back inupgrade: v30 replaces markdown-it, whichvite.config.markdown.tsrelies on. 29.x works on Vite 8.eslintrc.cjswas never loaded by ESLint 9),npm-run-all2, and the duplicate PostCSS Tailwind setup (.postcssrc.json,@tailwindcss/postcss,postcss,autoprefixer).tailwind.config.tsstill applies@tailwindcss/typographyvia@configFixes from the first lint run
LiteYouTubeappended&undefinedto YouTube embed URLs (`&${props.params}` || ''is always truthy)configRoutertestedif (loading)on a ref, which is always truthy?.destructure ingetRedirect,signout(router: any), wrapper object types, a non-null assertion on an optional chain, useless regex escapes, floating promises, an emptyIcons.tstypescript/no-explicit-anyis a warning (97 remain), as it was never enforcedAlso
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;.git-blame-ignore-revsfor the Oxfmt commitLoginPath = "/signin", theAutoUis.vuecarousel update, thedtos.tsheader and the generatedpublic/apiblog metadataVerified locally
npm ci→npm run check,npm run test:run,npm run buildpass.vueand.mdpages, and/apidotnet publish: the published app (Production) bootstraps an empty DB, serves the hashed assets and the SPA fallbackdist3.4 → 3.3 MBNot tested: HMR and rendering in a browser (the browser couldn't reach the dev server), format-on-save in VS Code.
🤖 Generated with Claude Code