Skip to content

feat(vue-sdk): make additional options available#430

Merged
roncohen merged 7 commits intomainfrom
vue-sdk-more-options
Jun 19, 2025
Merged

feat(vue-sdk): make additional options available#430
roncohen merged 7 commits intomainfrom
vue-sdk-more-options

Conversation

@roncohen
Copy link
Contributor

@roncohen roncohen commented Jun 19, 2025

Move to <script setup> style: use the new style because it unlocks defineProps using a type which means better maintainability.

roncohen added 2 commits June 19, 2025 12:53
use the new style because it unlocks defineProps using a type which means better maintainability.
@roncohen roncohen enabled auto-merge June 19, 2025 11:41
@roncohen roncohen requested review from Swiftwork and Copilot June 19, 2025 11:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the Vue SDK to use <script setup> style, extracts shared types and hooks into standalone files, and makes additional compiler definitions available.

  • Switch to script setup and split index.ts logic into BucketProvider.vue, hooks.ts, types.ts, and version.ts
  • Update tsconfig.json to include declaration files under src
  • Add SDK_VERSION and export it for use in the provider

Reviewed Changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsconfig.json Expand include to capture *.d.ts files
src/version.ts Extract SDK_VERSION constant
src/types.ts Define shared types for features and provider props
src/index.ts Slim down plugin entry point and re-export new modules
src/hooks.ts Extract Vue composable hooks
src/BucketProvider.vue Migrate provider to <script setup>, use withDefaults
dev/plain/components/Events.vue Example component subscribing to SDK events

@roncohen roncohen added this pull request to the merge queue Jun 19, 2025
Merged via the queue into main with commit 92475c0 Jun 19, 2025
6 checks passed
@roncohen roncohen deleted the vue-sdk-more-options branch June 19, 2025 12:37
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.

2 participants