Repository navigation
Conversation
Bumps the security group with 1 update in the /examples/sveltekit-ssr-zip/app directory: [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit). Updates `@sveltejs/kit` from 2.70.1 to 3.2.0 - [Release notes](https://github.com/sveltejs/kit/releases) - [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md) - [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@3.2.0/packages/kit) --- updated-dependencies: - dependency-name: "@sveltejs/kit" dependency-version: 3.2.0 dependency-type: direct:development dependency-group: security ... Signed-off-by: dependabot[bot] <support@github.com>
SvelteKit 3 no longer reads svelte.config.js and fails the build with config_file_unsupported. Pass the adapter and preprocessor to the sveltekit() Vite plugin instead, and extend $app/tsconfig as svelte-kit sync now requires.
This branch has not been deployed
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.
Upgrades
examples/sveltekit-ssr-zipto SvelteKit 3 and migrates its config so it still builds. Replaces #923.#923 (Dependabot) bumps
@sveltejs/kit2.70.1 → 3.2.0 and@sveltejs/adapter-node5 → 6, but on its own the example no longer builds:vite buildstops withconfig_file_unsupportedbecause SvelteKit 3 no longer readssvelte.config.js. CI doesn't build this example, so #923 shows green.This PR keeps Dependabot's bump commit and adds one commit on top:
svelte.config.js; pass the same settings to the plugin invite.config.ts:sveltekit({ preprocess: vitePreprocess(), adapter: adapter() }).tsconfig.jsonextends$app/tsconfig(SvelteKit 3 no longer generates.svelte-kit/tsconfig.json).vite.config.tsinstead ofsvelte.config.js.Testing
npm ci,npm run buildandsvelte-check(0 errors) pass on Node 22 (the template'snodejs22.x);npm ciandnpm run buildalso pass on Node 24. On chore: bump @sveltejs/kit from 2.70.1 to 3.2.0 in /examples/sveltekit-ssr-zip/app in the security group across 1 directory #923 alone,npm run buildfails.build/index.js, whichrun.shstarts, is still produced.node --check build/index.jspasses; the Makefile's copy andnpm ci --omit devsteps pass.npm audit --omit=dev: 0 findings before and after.Not checked:
sam build/deploy and a live invoke. SvelteKit 3.2 expects TypeScript ^6 while the example pins ^5; nothing failed, so that bump is left for later.