Skip to content
This repository was archived by the owner on Jan 31, 2024. It is now read-only.

Commit d7a6e8e

Browse files
authored
Merge pull request #138 from storybookjs/feat/prepare-for-sb7
Support Storybook 7.0.0
2 parents ff0f386 + 1078df7 commit d7a6e8e

File tree

3 files changed

+336
-578
lines changed

3 files changed

+336
-578
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- name: Prepare repository
1313
run: git fetch --unshallow --tags
1414

15-
- name: Use Node.js 14.x
16-
uses: actions/setup-node@v1
15+
- name: Use Node.js 16.x
16+
uses: actions/setup-node@v3
1717
with:
18-
node-version: 14.x
18+
node-version: 16.x
1919

2020
- name: Install dependencies
2121
uses: bahmutov/npm-install@v1
@@ -25,4 +25,4 @@ jobs:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2727
run: |
28-
yarn release
28+
yarn release

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@
5757
}
5858
],
5959
"dependencies": {
60-
"@storybook/csf": "^0.0.2-next.7"
60+
"@storybook/csf": "next"
6161
},
6262
"devDependencies": {
6363
"@auto-it/conventional-commits": "^10.31.0",
6464
"@auto-it/first-time-contributor": "^10.31.0",
6565
"@auto-it/released": "^10.31.0",
6666
"@size-limit/preset-small-lib": "^4.10.1",
67-
"@storybook/client-logger": "^7.0.0-alpha.62 || ^7.0.0",
68-
"@storybook/preview-api": "^7.0.0-alpha.62 || ^7.0.0",
69-
"@storybook/react": "^7.0.0-alpha.62 || ^7.0.0",
70-
"@storybook/types": "^7.0.0-alpha.62 || ^7.0.0",
67+
"@storybook/client-logger": "^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0",
68+
"@storybook/preview-api": "^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0",
69+
"@storybook/react": "^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0",
70+
"@storybook/types": "^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0",
7171
"@types/react": "17",
7272
"auto": "^10.31.0",
7373
"concurrently": "^6.0.0",
@@ -79,10 +79,10 @@
7979
"typescript": "^4.9.3"
8080
},
8181
"peerDependencies": {
82-
"@storybook/client-logger": "^7.0.0-alpha.62 || ^7.0.0",
83-
"@storybook/preview-api": "^7.0.0-alpha.62 || ^7.0.0",
84-
"@storybook/react": "^7.0.0-alpha.62 || ^7.0.0",
85-
"@storybook/types": "^7.0.0-alpha.62 || ^7.0.0",
82+
"@storybook/client-logger": "^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0",
83+
"@storybook/preview-api": "^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0",
84+
"@storybook/react": "^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0",
85+
"@storybook/types": "^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0",
8686
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
8787
},
8888
"publishConfig": {
@@ -100,4 +100,4 @@
100100
"released"
101101
]
102102
}
103-
}
103+
}

0 commit comments

Comments
 (0)