Skip to content

feat(migrate): retarget ts/jsconfig at $app/tsconfig - #1197

Open
jycouet wants to merge 2 commits into
version-1from
feat/migrate-tsconfig-kit-3
Open

feat(migrate): retarget ts/jsconfig at $app/tsconfig#1197
jycouet wants to merge 2 commits into
version-1from
feat/migrate-tsconfig-kit-3

Conversation

@jycouet

@jycouet jycouet commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

SvelteKit 3 no longer writes .svelte-kit/tsconfig.json - the generated config now lives at node_modules/$app/tsconfig and no longer carries include. Existing projects break on upgrade (e.g. better-auth can't read its config, the drizzle addon's typescript.config hook throws on config.include.push).

New tsconfig task in the sveltekit-3 migration:

  • points extends at $app/tsconfig and gives the project its own include
  • drops compiler options that just duplicate the generated ones
  • moves paths added by the now-deprecated typescript.config hook into include, flagging hooks that do more

It will help: #1185

@pkg-svelte-dev

pkg-svelte-dev Bot commented Jul 25, 2026

Copy link
Copy Markdown

Install the latest version of sv from 3cc2c44:

pnpm add https://pkg.svelte.dev/sv/c/3cc2c4402d373fbce92405ffbba32b70f2470658

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/cli/pr/1197

@changeset-bot

changeset-bot Bot commented Jul 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3cc2c44

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sv Minor

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-docs-bot

Copy link
Copy Markdown

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