Skip to content

Commit a93b1d8

Browse files
committed
build(storybook): Upgrade storybook from 9 to 10
1 parent 47d5f67 commit a93b1d8

7 files changed

Lines changed: 810 additions & 1066 deletions

File tree

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"presets": [
3-
"@babel/preset-react",
3+
["@babel/preset-react", {"runtime": "automatic"}],
44
"@babel/preset-env",
55
"@babel/preset-typescript"
66
]

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: 14
18+
node-version: 20
1919
- name: Install
2020
run: npm ci
2121
- name: Build
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@v3
4242
- uses: actions/setup-node@v3
4343
with:
44-
node-version: 14
44+
node-version: 20
4545
- name: Install
4646
run: npm ci
4747
- name: Deploy

.storybook/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ module.exports = {
44
"@storybook/addon-links",
55
"@storybook/preset-create-react-app",
66
"@chromatic-com/storybook",
7-
"@storybook/addon-docs"
7+
"@storybook/addon-docs",
8+
"@storybook/addon-webpack5-compiler-babel"
89
],
910

1011
"framework": {

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Current version is using a degraded version of [@gouvfr/dsfr@1.7.0](https://www.
1010

1111
## Requirements
1212

13-
* node >= 14.18.x
14-
* npm >= 8.15.x
13+
* node >= 20.19.x
14+
* npm >= 11.1.x
1515
* React >= 18.2.x
1616

1717
## Installation

0 commit comments

Comments
 (0)