Skip to content

fix: recommend safe include patterns in tsconfig warning - #17102

Merged
teemingc merged 1 commit into
version-3from
triage/kit-17101-safe-tsconfig-warning
Sep 14, 2026
Merged

teemingc merged 1 commit into
version-3from
triage/kit-17101-safe-tsconfig-warning

Conversation

@svelte-triage-bot

Copy link
Copy Markdown
Contributor

Summary

  • expand the $app/tsconfig validation warning with safe include and exclude arrays
  • match the configuration recommended by the Kit 3 migration guide
  • add a unit regression test for the complete warning example

Fixes "#17101"

Verification

  • pnpm -F @sveltejs/kit test:unit — 783 passed, 110 skipped
  • pnpm lint
  • pnpm check
  • pnpm -F @sveltejs/kit prepublishOnly
  • focused write_tsconfig regression test
  • real adapter-static repro: 11 build files and 1159 diagnostics before the safe shape; 0 build files and 0 diagnostics after

@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 3987448:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/39874480e8f5c43034443dfda459ce9b1b83f0ff

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/17102

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Sep 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3987448

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

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

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

@Nic-Polumeyv
Nic-Polumeyv marked this pull request as ready for review September 14, 2026 18:27
@teemingc
teemingc merged commit fbbb4c7 into sveltejs:version-3 Sep 14, 2026
37 of 38 checks 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.

The $app/tsconfig warning omits include, so following it type-checks build/

1 participant