Skip to content

Commit 1fa031f

Browse files
Version Packages (#1904)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 34cfcdf commit 1fa031f

File tree

3 files changed

+32
-28
lines changed

3 files changed

+32
-28
lines changed

.changeset/six-sloths-rush.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

tools/storybook/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# @lg-tools/storybook
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- 34cfcdff: Updates `storybook` package to be a Storybook addon.
8+
9+
#### Usage
10+
11+
1. Install
12+
13+
```bash
14+
> yarn add @lg-tools/storybook@latest
15+
```
16+
17+
2. Add to `./storybook/main.ts`
18+
19+
```ts
20+
export default {
21+
addons: ['@lg-tools/storybook'],
22+
framework: {
23+
name: '@storybook/react-webpack5',
24+
options: {
25+
fastRefresh: true,
26+
strictMode: true,
27+
},
28+
},
29+
};
30+
```
31+
32+
- There is no need for a `manager.ts`, `preview.ts`, or `*-head.html` file, unless you need to extend the defaults in this addon
33+
334
## 0.1.4
435

536
### Patch Changes

tools/storybook/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-tools/storybook",
3-
"version": "0.1.4",
3+
"version": "0.2.0",
44
"description": "Storybook config for LeafyGreen",
55
"license": "Apache-2.0",
66
"main": "./dist/index.js",
@@ -52,7 +52,6 @@
5252
"webpack": "5.88.0"
5353
},
5454
"peerDependencies": {
55-
5655
"react": "^17.0.0",
5756
"react-dom": "^17.0.0",
5857
"storybook": "^7.1.0"

0 commit comments

Comments
 (0)