addon-coverage
addon-coverage copied to clipboard
Update dependencies and package structure to support ESM
Closes #49 Relates to https://github.com/storybookjs/storybook/issues/26291
This PR does the following:
- Replace TSC+Babel with TSUP for building the addon
- Refactor the library accordingly
- Stop using require in viteFinal so vite doesn't use CJS
- Upgrade vite-plugin-istanbul from 3.x to 6.x
- Adds some tests in the stories to check that coverage exists
📦 Published PR as canary version: 2.0.0--canary.51.dcd0bca.0
:sparkles: Test out this PR locally via:
npm install @storybook/[email protected]
# or
yarn add @storybook/[email protected]
Is this still waiting for something?
I am too looking forward to this PR. Great work!
@yannbf I guess we want to merge this?
Any chance we can get this merged? 🙏
@yannbf Can you provide some information of what's necessary to get this merged?
@yannbf Can we get this merged this week?