Skip to content

feat(components): migrate components to Svelte 5 runes#214

Draft
HDauven wants to merge 8 commits into
mainfrom
feat/components-svelte5-runes-on-212
Draft

feat(components): migrate components to Svelte 5 runes#214
HDauven wants to merge 8 commits into
mainfrom
feat/components-svelte5-runes-on-212

Conversation

@HDauven

@HDauven HDauven commented Feb 16, 2026

Copy link
Copy Markdown
Member

Summary

  • migrate @duskit/components source components to Svelte 5 runes mode
  • adapt typings and component internals for Svelte 5 behavior
  • update component tests and snapshots to match Svelte 5 runtime output

Validation

  • npm run lint
  • npm run typecheck
  • npm run test:coverage

This branch is intentionally based on #212 (chore/deps-upgrade-svelte5-storybook10-squashed).

- Add apps/storybook workspace (Storybook 8 for Svelte 4)
- Add stories for exported components and global overlay decorator
- Add Turbo tasks and GitHub Pages workflow
- Upgrade Svelte/Vite/Vitest/Storybook toolchain\n- Update components + tests for Svelte 5\n- Migrate Storybook config to ESM and remove deprecated addons\n- Add overrides to resolve npm audit issues
- Stabilize Svelte 5 snapshots\n- Fix test-helpers typing for svelte-check\n- Bump CI Node to 22.15.0 (needed for @exodus/bytes)
- Add apps/storybook workspace (Storybook 8 for Svelte 4)
- Add stories for exported components and global overlay decorator
- Add Turbo tasks and GitHub Pages workflow
@changeset-bot

changeset-bot Bot commented Feb 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d91ff6b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@HDauven HDauven marked this pull request as draft February 16, 2026 22:32
@HDauven

HDauven commented Feb 16, 2026

Copy link
Copy Markdown
Member Author

@ascartabelli majority of changes in this PR are in this commit: e3dc007

Which was simply a matter of running the Svelte 5 migration command.

@HDauven

HDauven commented Feb 17, 2026

Copy link
Copy Markdown
Member Author

Todo:

  • Get rid of any legacy API, we do not need to be Svelte 4 compatible
  • Improve type extraction to .d.ts files
  • Check rootElement type
  • Why eslint-disable prefer-const on two way binding in linting
  • Investigate slot behavior

@ascartabelli ascartabelli force-pushed the chore/deps-upgrade-svelte5-storybook10-squashed branch 2 times, most recently from 0dc50e9 to ced4ed4 Compare February 24, 2026 06:52
Base automatically changed from chore/deps-upgrade-svelte5-storybook10-squashed to main February 24, 2026 06:57
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.

1 participant