Skip to content

Conversation

@rdunk
Copy link
Member

@rdunk rdunk commented Oct 14, 2025

Updates this template to use @sanity/sveltekit over @sanity/visual-editing and @sanity/svelte-loader.

Also moves to eslint flat config, updates dependencies, etc.

@vercel
Copy link

vercel bot commented Oct 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sanity-template-sveltekit-clean Error Error Oct 22, 2025 7:08pm
sanity-template-sveltekit-clean-studio Ready Ready Preview Comment Oct 22, 2025 7:08pm

Copy link
Member Author

rdunk commented Oct 14, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@socket-security
Copy link

socket-security bot commented Oct 14, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
[email protected] has a License Policy Violation.

License: LicenseRef-W3C-Community-Final-Specification-Agreement (package/ThirdPartyNoticeText.txt)

From: package-lock.jsonnpm/[email protected]

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@socket-security
Copy link

socket-security bot commented Oct 22, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​sveltejs/​adapter-auto@​3.3.1 ⏵ 7.0.099 +110071 +194 +4100
Updated@​sanity/​types@​3.66.1 ⏵ 4.11.010010073 +2100100
Addedtypescript-eslint@​8.46.21001007497100
Added@​sanity/​sveltekit@​1.0.3761009196100
Updatedprettier-plugin-packagejson@​2.5.1 ⏵ 2.5.19100 +110077 +285 -1100
Added@​sanity/​prettier-config@​2.0.1861007889100
Updatedautoprefixer@​10.4.20 ⏵ 10.4.21100 +110092 +179100
Updated@​types/​react@​18.3.14 ⏵ 19.2.2100 +110079 +195100
Updatedgroq@​3.66.1 ⏵ 4.11.010010080 +1100100
Updated@​types/​node@​18.19.67 ⏵ 24.9.1100 +110081 +196100
Updated@​sveltejs/​kit@​2.22.0 ⏵ 2.47.39910081 +299 +1100
Updated@​sveltejs/​vite-plugin-svelte@​3.1.2 ⏵ 6.2.1100 +110081 +195100
Updated@​portabletext/​svelte@​2.1.11 ⏵ 3.0.18210010090100
Updatedpostcss@​8.4.38 ⏵ 8.5.6100 +110082 +183100
Updatedreact@​18.3.1 ⏵ 19.2.0100 +11008497100
Updatedprettier-plugin-svelte@​3.3.2 ⏵ 3.4.0100 +110010085 +1100
Updated@​sanity/​eslint-config-studio@​3.0.1 ⏵ 5.0.2100 +110085 +387 +1100
Updatedconcurrently@​9.1.0 ⏵ 9.2.199 +1100100 +185100
Updatedglobals@​11.12.0 ⏵ 16.4.010010085 +289100
Updatedstyled-components@​6.1.13 ⏵ 6.1.1994 +1100100 +186100
Updatedeslint-config-prettier@​9.1.0 ⏵ 10.1.8100 +1100100 +2987100
Updatedsvelte@​4.2.19 ⏵ 5.41.29910087 +198100
Updated@​sanity/​image-url@​1.1.0 ⏵ 1.2.010010010088 -1100
Updated@​portabletext/​types@​2.0.13 ⏵ 2.0.15100 +110093 +189 -2100
Updatedprettier@​3.3.3 ⏵ 3.6.299 +110010090100
Updatedtypescript@​5.7.2 ⏵ 5.9.3100 +110090 +19990
Added@​eslint/​compat@​1.4.010010010090100
Updatedreact-dom@​18.3.1 ⏵ 19.2.0100 +110092 +197100
Addedsvelte-check@​4.3.310010010094100
Updated@​eslint/​js@​8.57.1 ⏵ 9.38.0100100100 +1496100
Updatedeslint@​8.57.1 ⏵ 9.38.097 +110010096 +1100
Updated@​sanity/​vision@​3.66.1 ⏵ 4.11.09810096 +1100100
See 2 more rows in the dashboard

View full report

@manuelsanchez2
Copy link

What is stopping this from merging? It would be great to use Sanity with Svelte 5!

@kenjonespizza
Copy link
Contributor

What is stopping this from merging? It would be great to use Sanity with Svelte 5!

Hi @manuelsanchez2 👋 . Thanks for nudging this. We are awaiting a fix of something upstream to be able to merge this.

In the meantime you could check this testing branch I I created updating to Svelte v5: https://github.com/sanity-io/sanity-template-sveltekit-clean/tree/experimental-upgrade-to-svelte-5. If I remember correctly, bumping the Svelte version up did not create any breaking changes, as seen in this commit 😄 6c4c625

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.

3 participants