Skip to content

Conversation

filiprak
Copy link

@filiprak filiprak commented Aug 9, 2025

This PR adds TypeScript support and improves TypeScript parsing in the Storybook Vue integration.

Key changes:

  • Enhanced the transform logic in src/core/transform.ts and related tests (transform.spec.ts) to correctly transpile and handle TypeScript inside <script lang="ts"> blocks.
  • Added a new Story file typescript-parsing.stories.vue showcasing TypeScript usage with Vue components.
  • Updated package.json to add typescript as an optional peer dependency and adjust devDependencies accordingly.
  • Minor dependency updates and cleanup in pnpm-lock.yaml.

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