Skip to content

Commit

Permalink
fix(storybook-addon-rslib): update @rslib/core peerDependency to su…
Browse files Browse the repository at this point in the history
…pport v0.2 also (#204)

* fix(storybook-addon-rslib): update `@rslib/core` peerDependency to v0.2

- because `>= 0.1.1` constraint actually causes error during npm install - NPM doesn't allow version 0.2 despite very open constraint

* fix

---------

Co-authored-by: michal-drobniak <[email protected]>
Co-authored-by: fi3ework <[email protected]>
  • Loading branch information
3 people authored Dec 30, 2024
1 parent 6e947e5 commit 121d858
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 19 deletions.
4 changes: 2 additions & 2 deletions packages/addon-rslib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
},
"devDependencies": {
"@rsbuild/core": "^1.1.12",
"@rslib/core": "^0.2.0",
"@rslib/core": "^0.2.2",
"@types/node": "^18.0.0",
"storybook": "8.5.0-alpha.22",
"storybook-builder-rsbuild": "workspace:*",
"typescript": "^5.7.2"
},
"peerDependencies": {
"@rsbuild/core": "^1.0.1",
"@rslib/core": ">= 0.1.1",
"@rslib/core": ">= 0.1.1 || >= 0.2",
"storybook-builder-rsbuild": "*"
},
"peerDependenciesMeta": {
Expand Down
42 changes: 27 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sandboxes/rslib-react-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@rsbuild/core": "^1.1.12",
"@rsbuild/plugin-react": "1.1.0",
"@rsbuild/plugin-sass": "^1.1.2",
"@rslib/core": "^0.2.0",
"@rslib/core": "^0.2.2",
"@storybook/addon-essentials": "8.5.0-alpha.22",
"@storybook/addon-interactions": "8.5.0-alpha.22",
"@storybook/addon-links": "8.5.0-alpha.22",
Expand Down
2 changes: 1 addition & 1 deletion sandboxes/rslib-react-mf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@rsbuild/core": "^1.1.12",
"@rsbuild/plugin-react": "1.1.0",
"@rsbuild/plugin-sass": "^1.1.2",
"@rslib/core": "^0.2.0",
"@rslib/core": "^0.2.2",
"@storybook/addon-essentials": "8.5.0-alpha.22",
"@storybook/addon-interactions": "8.5.0-alpha.22",
"@storybook/addon-links": "8.5.0-alpha.22",
Expand Down

0 comments on commit 121d858

Please sign in to comment.