Skip to content

Conversation

@rdunk
Copy link
Member

@rdunk rdunk commented Sep 30, 2025

Moves towards a single entry point for Sanity-related functionality. Instead of importing from multiple packages (@sanity/client, groq), developers can now import everything from @sanity/sveltekit.

  • Created new exports in the sanity-sveltekit package for Sanity client and GROQ functionality
  • Added groq as a dependency to the sanity-sveltekit package
  • Moved createDataAttribute to a dedicated visual-editing directory
  • Created new modules for client and GROQ functionality with proper re-exports
  • Updated imports in the test app to use the new unified package instead of direct dependencies

Copy link
Member Author

rdunk commented Sep 30, 2025

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

@socket-security
Copy link

socket-security bot commented Sep 30, 2025

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgroq@​3.99.010010080100100

View full report

@rdunk rdunk force-pushed the 09-30-feat_export_client_and_groq_helpers branch from 2d80276 to d37a8bb Compare September 30, 2025 21:45
@rdunk rdunk marked this pull request as ready for review September 30, 2025 21:48
@rdunk rdunk merged commit c8c35b5 into main Sep 30, 2025
6 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2025
@rdunk rdunk deleted the 09-30-feat_export_client_and_groq_helpers branch October 21, 2025 08:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant