Skip to content

Commit

Permalink
v0.0.7 (#40)
Browse files Browse the repository at this point in the history
* v0.0.7

* docs: v0.7
  • Loading branch information
fi3ework committed Jul 12, 2024
1 parent 4570da3 commit b115554
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ The repository contains the Storybook Rsbuild builder and framework integrations
## Usage

> [!NOTE]
> Requirements: `@rsbuild/core >= 0.7.0` and `storybook >= 8.0` (checkout Storybook's [release note](https://storybook.js.org/blog/storybook-8/) for migration)
> Requirements:
>
> - **`@rsbuild/core >= 1.0.0-alpha.9`**: Rsbuild is going to ship 1.0.0 version and the alpha version is reliable for now. (checkout Rsbuild's [1.0.0 breaking changes](https://github.com/web-infra-dev/rsbuild/discussions/2508))
> - **`storybook >= 8.2.1`**: Storybook made some internal refactor in major version, 8.2.1 is tested out. (checkout Storybook's [release note](https://storybook.js.org/blog/storybook-8/) for migrating from v7)
In Storybook v8, you don't need to manually install storybook-builder-rsbuild, it has been depended by the framework, such as `storybook-react-rsbuild` and `storybook-vue3-rsbuild`.

Expand Down Expand Up @@ -119,6 +122,9 @@ The function should return the updated Rsbuild configuration.

### Error caused by bundling unexpected files

> [!IMPORTANT]
> Rspack starts to support `webpackInclude` magic comment, this trouble won't exists since 0.0.7
Because Rspack temporarily does not support the `webpackInclude` magic comment, non-story files may be bundled, which could lead to build failures. These files can be ignored using `rspack.IgnorePlugin` (see exmaple https://github.com/rspack-contrib/storybook-rsbuild/issues/19).

```js
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-rsbuild/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook-builder-rsbuild",
"version": "0.0.6",
"version": "0.0.7",
"description": "Rsbuild builder for Storybook",
"keywords": [
"storybook",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-rsbuild/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook-react-rsbuild",
"version": "0.0.6",
"version": "0.0.7",
"description": "Storybook for React and Rsbuild: Develop React components in isolation with Hot Reloading.",
"keywords": [
"storybook",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue3-rsbuild/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook-vue3-rsbuild",
"version": "0.0.6",
"version": "0.0.7",
"description": "Storybook for Vue3 and Rsbuild: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook",
Expand Down

0 comments on commit b115554

Please sign in to comment.