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

use tsup for building, migrate to vite, add default handlers #111

Merged
merged 5 commits into from
May 9, 2023

Conversation

yannbf
Copy link
Collaborator

@yannbf yannbf commented May 3, 2023

This PR starts the process to upgrade the addon and prepare it for breaking changes.

  • Use tsup for bundling the package
  • Migrate example to Vite
  • Change from require to dynamic imports, meaning that initialize now becomes async
  • Adds default handlers to ignore calls coming from /hot-update/ and /node_modules/
📦 Published PR as canary version: 2.0.0--canary.111.abecab5.0

✨ Test out this PR locally via:

npm install msw-storybook-addon@2.0.0--canary.111.abecab5.0
# or 
yarn add msw-storybook-addon@2.0.0--canary.111.abecab5.0

Version

Published prerelease version: v2.0.0-next.0

Changelog

💥 Breaking Change

  • use tsup for building, migrate to vite, add default handlers #111 (@yannbf)

Authors: 1

@yannbf yannbf added the major Increment the major version when merged label May 3, 2023
@vercel
Copy link

vercel bot commented May 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
msw-storybook-addon ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2023 6:48am

@yannbf yannbf force-pushed the feat/migrate-example-to-vite branch from abd6dbb to abecab5 Compare May 8, 2023 06:47
@yannbf yannbf merged commit 841fdee into next May 9, 2023
7 of 8 checks passed
@yannbf yannbf deleted the feat/migrate-example-to-vite branch May 9, 2023 14:50
@github-actions
Copy link

github-actions bot commented May 9, 2023

🚀 PR was released in v2.0.0-next.0 🚀

@github-actions github-actions bot added the prerelease This change is available in a prerelease. label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Increment the major version when merged prerelease This change is available in a prerelease.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant