Skip to content

Kit v3 - #28

Merged
x0k merged 3 commits into
mainfrom
kit-v3
Aug 21, 2026
Merged

Kit v3#28
x0k merged 3 commits into
mainfrom
kit-v3

Conversation

@x0k

@x0k x0k commented Aug 21, 2026

Copy link
Copy Markdown
Owner

No description provided.

x0k added 3 commits August 21, 2026 22:47
- Move adapter and paths config from svelte.config.js into the
  sveltekit() vite plugin options; delete svelte.config.js
- Extend $app/tsconfig in tsconfig.json with explicit include/exclude
- Import Handle/Reroute from @sveltejs/kit/hooks where they now live
- Cast away read-only event.request for paraglide middleware
- Bump vite-plugin-static-copy to 4.1.1: 4.1.0 silently skips copying
  under rolldown-vite, dropping assets/dotnet and assets/gleam
- Keep $lib as a vite/tsconfig alias instead of migrating to #lib
  subpath imports
…t loading

Dependencies:
- Bump all workspace packages to latest (vite 8.2, vitest 4.1.11,
  vite-plugin-dts 5, prettier 3.9 + plugin-svelte 4, monaco 0.56,
  pyodide 314, @php-wasm 3.1.50, ruby-wasm 2.10.1, eslint 10.9, etc.)
- Hold TypeScript at 6.0.3: TS 7 is unsupported by typescript-eslint
  and breaks the dts toolchain (add @typescript/typescript6 fallback)

SvelteKit 3 (3.0.0-next.25):
- Move adapter/paths config from svelte.config.js into the sveltekit()
  vite plugin; extend $app/tsconfig in tsconfig.json
- Import Handle/Reroute from @sveltejs/kit/hooks
- Keep $lib as a vite/tsconfig alias instead of #lib subpath imports

Runtime fixes for updated compilers:
- pyodide 314: drop the custom instantiateWasm/global-hook bypass —
  load stock via a real indexURL (/assets/pyodide/) served from a
  static copy of the distribution (asm.mjs/.wasm, lock, stdlib)
- @php-wasm 3.1.50: wasm dir moved to 8_5_8; enforce "pre" on the
  ignore-wasm-imports plugin under rolldown
- monaco 0.56: alias esm/vs subtree (strict exports map breaks
  ?worker imports)
- dotnet/pyodide/gleam static-copy targets need rename.stripBase to
  compensate for pnpm symlink path nesting

Tooling:
- eslint: ignore dist/generated/vendored dirs, fix surfaced rule
  violations (each-block keys, hook types, Function types)
- Replace __dirname with import.meta.dirname in all vite configs
- Replace prettier (+ svelte/tailwindcss plugins) with oxfmt in
  apps/ppp; config migrated to .oxfmtrc.json (native svelte formatting
  and Tailwind class sorting, same algorithms as the old plugins)
- Add root .oxfmtrc.json shared by all packages (tabs, single quotes,
  no trailing commas, printWidth 100); ignore vendored/generated trees
  (src/vendor, gleamstd, public, dist, lockfiles)
- Add format/format:check scripts to every package
- turbo: add format and format:check tasks; build now depends on
  format:check + check; lint depends on format:check
- One-time normalization: format all runtime packages to repo style
@x0k
x0k merged commit a8540f7 into main Aug 21, 2026
1 check 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