fix: generate types on dev server startup - #17034
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/cf76b3c0b8f61550d8f75e2d7bed9225cb1a5aa0Open in Note This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed. |
🦋 Changeset detectedLatest commit: cf76b3c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@svelte-triage-bot investigate the failing CI job |
|
@svelte-triage-bot you failed at the above request, investigate why through your feedback tool |
|
I’m analyzing the failed workflow handling and recording the findings in the bot feedback tracker. |
|
@svelte-triage-bot you failed at the above request, investigate why through your feedback tool |
|
I’ve started a feedback analysis of the failed CI-investigation handling. |
Fixes #17032.
Synchronizes generated files and route types during Vite dev-server initialization, before any request is received. Parameter matcher validation remains deferred because it requires the initialized Vite SSR runner.
Adds a regression test that starts a real Vite development server without making a request and verifies route types already exist.
Tests:
pnpm -F @sveltejs/kit test:unitpnpm -F @sveltejs/kit checkpnpm -F @sveltejs/kit prepublishOnlypnpm lintpnpm format