Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pre-transform): Move stories target component import declaration from instance to module tag #218

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

xeho91
Copy link
Collaborator

@xeho91 xeho91 commented Oct 22, 2024

A small refactor on the way to improve readability and finding the culprit.

What happened is that previously I forgot to push (unshift) to the instance tag body an import declaration of stories component target which was storied in the state already.

📦 Published PR as canary version: 4.1.8--canary.218.292516a.0

✨ Test out this PR locally via:

npm install @storybook/[email protected]
# or 
yarn add @storybook/[email protected]

Version

Published prerelease version: v5.0.0-next.6

Changelog

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

  • fix(pre-transform): Move stories target component import declaration from instance to module tag #218 (@xeho91)
  • v5: Fix tags being ignored #206 (@JReinhold)
  • fix(parser): Resolve autodocs tag issue and extracting rawCode #201 (@xeho91)
  • Replace lodash usage with es-toolkit #192 (@JReinhold)
  • chore: use dist folder to load the files #185 (@benoitf)

⚠️ Pushed to next

  • fix typing issue in Example.stories.svelte (@xeho91)
  • remove obsolete test (@xeho91)

🏠 Internal

  • refactor: Improve AST-related types readability & fix existing issues #209 (@xeho91)

Authors: 4

@xeho91 xeho91 added the patch Increment the patch version when merged label Oct 22, 2024
@xeho91 xeho91 changed the base branch from main to next October 22, 2024 02:10
@xeho91 xeho91 self-assigned this Oct 22, 2024
@JReinhold JReinhold merged commit 0bcd18e into next Oct 22, 2024
6 of 7 checks passed
@shilman
Copy link
Member

shilman commented Oct 22, 2024

🚀 PR was released in v5.0.0-next.6 🚀

@shilman shilman added the prerelease This change is available in a prerelease. label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged prerelease This change is available in a prerelease.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants