-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Release: Prerelease 8.3.0-beta.5 #29075
Release: Prerelease 8.3.0-beta.5 #29075
Conversation
- Includes sidebar order updates - Use non-zero-indexed orders
* next: Address feedback Address comments Typo Further updates Address feedback Remove TK Futher updates to #28716
Co-authored-by: Kasper Peulen <[email protected]>
* next: (33 commits) fix lint Clarify requirements of Next.js with Vite Next.js-Vite: Update next and vite-plugin-storybook-nextjs dependencies Addon Vitest: Fix tests potentially not existing in non-isolate mode CLI: Update spawn options in proxy.ts to support Windows Builder-Vite: Fix 'condition node never be used' warning Bump version from "8.3.0-alpha.9" to "8.3.0-alpha.10" [skip ci] Write changelog for 8.3.0-alpha.10 [skip ci] make prettier a normal dependency of core again. restore formatter code Use relative path from workspace to vite.config in extends path CLI: Fix dedent import in package managers Support JSX file extensions as well Addon Vitest: Fix postinstall file types Remove (disable) isolate option because it sometimes doesn't show stories add TODO comment make prettier optional improve meta file generation patch babel traverse types to be compatible with our dts bundler minimize changes minimize changes ...
* next: Address feedback add link to docs for how to set feature flags. improve migration notes for globals project Fix typo ConfigFile: Fix `as const satisfies` modifiers Bump version from "8.3.0-alpha.11" to "8.3.0-beta.0" [skip ci] Update docs/versions/next.json Add description to empty 8.3.0-beta.0 release Write changelog for 8.3.0-beta.0 [skip ci] Bump version from "8.3.0-alpha.10" to "8.3.0-alpha.11" [skip ci] Write changelog for 8.3.0-alpha.11 [skip ci] Re-order sidebar Rename interaction test -> component test
- Limit to react, vue, and svelte renderers - `addon-vitest` -> `addon-test` - `addon-vitest/plugin` -> `addon-test/vite-plugin` - Add requirements - Add more details and examples about framework plugins - Add more detail about test setup file - Move comparison to previous test runner into its own section - Format snippets
Co-authored-by: Yann Braga <[email protected]> Co-authored-by: Jeppe Reinhold <[email protected]>
* next: (31 commits) add playwright eslint plugin, fix tests by rules fix tags e2e test fix urls in addon-test package.json use auto-retrying assertions in e2e tests renamed vitest addon import file name to 'test' Bump version from "8.3.0-beta.1" to "8.3.0-beta.2" [skip ci] Write changelog for 8.3.0-beta.2 [skip ci] fix package order in versions fix import fix add tests CLI: Handle Yarn PnP wrapper scenario when adding an addon cleanup Add type declaration for storybookTest in plugin module dont' use parameters for default backgrounds, as they are not overridable Fix type export for @storybook/experimental-nextjs-vite/vite-plugin don't use parameters for default viewports, as they are not overridable Nextjs-Vite: Re-export vite-plugin-storybook-nextjs refactor vite plugin export paths Bump version from "8.3.0-beta.0" to "8.3.0-beta.1" [skip ci] ...
When I checked "How to contribute" page on storybook.js.org, a link titled "Continue reading our contributor covenant" pointed to GitHub's 404 page. The last item of the URL path was "CODE_OF_CONDUCT.mdx", which is not common filename people uses, therefore I suspected this is not the only broken link in the docs. And I was right. I ran the below command (rg = RipGrep) then found several 404 links. ``` $ cd docs $ rg "https?:[\S)]+mdx\)" --sort path ``` Git blame told me that some of ".md" to ".mdx" migration works accidentally changed non-docs URLs ending with ".md" too. StackBlitz URL in docs/api/main-config/main-config-indexers.mdx is not actually a dead link, as the service redirects to the `README.md`. However, the redirection takes loooong so I replaced that as well. There are still two links that match to the above regexp: * <https://github.com/storybookjs/storybook/blob/next/docs/get-started/setup.mdx> at docs/contribute/documentation/new-snippets.mdx L42 * <https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx> at docs/writing-docs/mdx.mdx but those two are both valid (alive) URLs.
…ybookjs/storybook into valentin/propagate-error-in-testing
…ybookjs/storybook into valentin/propagate-error-in-testing
* next: (25 commits) Bump version from "8.3.0-beta.3" to "8.3.0-beta.4" [skip ci] Write changelog for 8.3.0-beta.4 [skip ci] rename vitest plugin entrypoint add narrow story to Sidebar upgrade @radix-ui/react-scroll-area Bump version from "8.3.0-beta.2" to "8.3.0-beta.3" [skip ci] Write changelog for 8.3.0-beta.3 [skip ci] fix lint only append addon to main.js if not already added final fixes Next.js: Update dependencies only install the necessary dependencies Next.js-Vite: Fix vite plugin exports use named import from dedent review improvements add explanation in sb add command add helpful links additional fixes Consistently naming the 'Storybook Test' addon CONSTANT_CASE for constants ...
Docs: Fix broken links ending with ".mdx"
Docs: Fix typo in setup.mdx
Docs: Vitest plugin
…e-map-warning-second-attempt Vite: Fix missing source map warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
28 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings
// Speed up tests and better match how they run in Storybook itself | ||
// https://vitest.dev/config/#isolate | ||
// Consider removing this if you have flaky tests | ||
isolate: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Be cautious with isolate: false
as it may lead to test interdependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kylegach @yannbf @kasperpeulen didn't we say isolate: true
by default and then encourage users to opt-in to isolate: false
if they want to make things faster?
// 👇 If you're using Sveltekit, apply this framework plugin as well | ||
// import { storybookNextjsPlugin } from '@storybook/sveltekit/vite-plugin'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syntax: Incorrect import for SvelteKit plugin. Should be storybookSvelteKitPlugin
from '@storybook/sveltekit/vite-plugin'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shilman @kasperpeulen — Addressed here (along with some other small fixes): #29081
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 04f9849. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
…ctly from context
…op-controls Vue: Add missing prop controls when using `vue-component-meta` docgen plugin
…n-testing Portable Stories: Improve Handling of React Updates and Errors
Docs: Fixes for 8.3
ca21738
to
04f9849
Compare
This is an automated pull request that bumps the version from
8.3.0-beta.4
to8.3.0-beta.5
.Once this pull request is merged, it will trigger a new release of version
8.3.0-beta.5
.If you're not a core maintainer with permissions to release you can ignore this pull request.
To do
Before merging the PR, there are a few QA steps to go through:
And for each change below:
This is a list of all the PRs merged and commits pushed directly to
next
, that will be part of this release:vue-component-meta
docgen plugin #28760If you've made any changes doing the above QA (change PR titles, revert PRs), manually trigger a re-generation of this PR with this workflow and wait for it to finish. It will wipe your progress in this to do, which is expected.
Feel free to manually commit any changes necessary to this branch after you've done the last re-generation, following the Make Manual Changes section in the docs, especially if you're making changes to the changelog.
When everything above is done:
Generated changelog
8.3.0-beta.5
vue-component-meta
docgen plugin - #28760, thanks @larsrickert!