Open
Conversation
|
🚅 Deployed to the rivet-pr-4532 environment in rivet-frontend
|
Co-authored-by: brittianwarner <bjwarner13@gmail.com>
cb7115c to
a27bc7c
Compare
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.

This pull request introduces the new
@rivetkit/sveltepackage, providing a Svelte 5 adapter for RivetKit actors with Svelte-first ergonomics and robust action middleware. The changes include the package manifest, comprehensive documentation, initial type-checking support, and a full suite of tests for action middleware. Additionally, the project configuration is updated to recognize.sveltefiles and apply appropriate linting rules for Svelte and similar frameworks.New Svelte Integration Package
@rivetkit/sveltepackage, including itspackage.json, with Svelte 5 peer dependency, build/test/typecheck scripts, and exports for both main and testing subpaths. This package provides Svelte-first APIs for RivetKit actors and integrates with Svelte runes/reactivity.AGENTS.mddescribing the package's architecture, API, usage patterns, SSR safety, action middleware design, and integration expectations for consumers.noop.svelte) to ensure Svelte type checks pass in the workspace.Testing and Quality
createReactiveActor, covering state tracking, error handling, timeouts, connection guards, lifecycle callbacks, and cascading defaults.Project Configuration Updates
biome.jsonto:.sveltefiles in therivetkit-typescriptworkspace for linting and formatting..svelte,.astro, and.vuefiles, disabling certain rules that are not compatible or necessary for these file types.These changes lay the groundwork for first-class Svelte support in RivetKit, with strong testing and clear documentation to guide adoption and extension.
Important
This feature was entirely contributed by @brittianwarner. Thank you so much for hard work!