Skip to content

Commit 3041b8b

Browse files
authored
Merge pull request #577 from thebuilder/chore/upgrade-deps
2 parents da52c1c + 795a728 commit 3041b8b

4 files changed

Lines changed: 1726 additions & 1207 deletions

File tree

.storybook/main.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ module.exports = {
1111
'@storybook/addon-controls',
1212
'@storybook/addon-actions',
1313
'@storybook/addon-viewport',
14-
{
15-
name: '@storybook/addon-postcss',
16-
options: {
17-
postcssLoaderOptions: {
18-
implementation: require('postcss'),
19-
},
20-
},
21-
},
2214
],
2315
core: {
2416
builder: '@storybook/builder-vite',
@@ -28,10 +20,6 @@ module.exports = {
2820
* @param config {import('vite').UserConfig}
2921
*/
3022
async viteFinal(config) {
31-
// The build fails to correctly minify the `ansi-to-html` module with esbuild, so we fallback to Terser.
32-
// It's a package used by "Storybook" for the Webpreview, so it's interesting why it fails.
33-
if (config.build) config.build.minify = 'terser';
34-
3523
if (config.optimizeDeps) {
3624
config.optimizeDeps.include = [
3725
...config.optimizeDeps.include,

package.json

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -122,48 +122,47 @@
122122
"react": "^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0"
123123
},
124124
"devDependencies": {
125-
"@babel/core": "^7.18.2",
126-
"@babel/preset-env": "^7.18.2",
125+
"@babel/core": "^7.18.9",
126+
"@babel/preset-env": "^7.18.9",
127127
"@size-limit/preset-small-lib": "^7.0.8",
128-
"@storybook/addon-actions": "6.5.5",
129-
"@storybook/addon-controls": "6.5.5",
130-
"@storybook/addon-docs": "6.5.5",
131-
"@storybook/addon-postcss": "^2.0.0",
132-
"@storybook/addon-viewport": "6.5.5",
133-
"@storybook/addons": "6.5.5",
134-
"@storybook/builder-vite": "^0.1.35",
135-
"@storybook/react": "6.5.5",
136-
"@storybook/theming": "6.5.5",
128+
"@storybook/addon-actions": "6.5.9",
129+
"@storybook/addon-controls": "6.5.9",
130+
"@storybook/addon-docs": "6.5.9",
131+
"@storybook/addon-viewport": "6.5.9",
132+
"@storybook/addons": "6.5.9",
133+
"@storybook/builder-vite": "^0.2.0",
134+
"@storybook/react": "6.5.9",
135+
"@storybook/theming": "6.5.9",
137136
"@testing-library/jest-dom": "^5.16.4",
138-
"@testing-library/react": "^13.2.0",
137+
"@testing-library/react": "^13.3.0",
139138
"@types/jest": "^27.5.1",
140-
"@types/react": "^18.0.9",
141-
"@types/react-dom": "^18.0.5",
142-
"@typescript-eslint/eslint-plugin": "^5.26.0",
143-
"@typescript-eslint/parser": "^5.26.0",
139+
"@types/react": "^18.0.15",
140+
"@types/react-dom": "^18.0.6",
141+
"@typescript-eslint/eslint-plugin": "^5.30.7",
142+
"@typescript-eslint/parser": "^5.30.7",
144143
"autoprefixer": "^10.4.7",
145-
"eslint": "^8.16.0",
144+
"eslint": "^8.20.0",
146145
"eslint-plugin-import": "^2.26.0",
147-
"eslint-plugin-jsx-a11y": "^6.4.1",
148-
"eslint-plugin-react": "^7.30.0",
149-
"eslint-plugin-react-hooks": "^4.5.0",
150-
"framer-motion": "^6.3.4",
151-
"intersection-observer": "^0.12.0",
152-
"jsdom": "^19.0.0",
153-
"lint-staged": "^12.4.2",
146+
"eslint-plugin-jsx-a11y": "^6.6.1",
147+
"eslint-plugin-react": "^7.30.1",
148+
"eslint-plugin-react-hooks": "^4.6.0",
149+
"framer-motion": "^6.5.1",
150+
"intersection-observer": "^0.12.2",
151+
"jsdom": "^20.0.0",
152+
"lint-staged": "^13.0.3",
154153
"microbundle": "^0.15.0",
155154
"npm-run-all": "^4.1.5",
156155
"postcss": "^8.4.14",
157-
"prettier": "^2.6.2",
158-
"prettier-plugin-pkg": "^0.13.2",
159-
"prettier-plugin-tailwindcss": "^0.1.11",
160-
"react": "^18.1.0",
161-
"react-dom": "^18.1.0",
162-
"simple-git-hooks": "^2.7.0",
156+
"prettier": "^2.7.1",
157+
"prettier-plugin-pkg": "^0.16.0",
158+
"prettier-plugin-tailwindcss": "^0.1.12",
159+
"react": "^18.2.0",
160+
"react-dom": "^18.2.0",
161+
"simple-git-hooks": "^2.8.0",
163162
"size-limit": "^7.0.8",
164-
"tailwindcss": "^3.0.24",
165-
"typescript": "^4.7.2",
166-
"vite": "^2.9.9",
167-
"vitest": "^0.12.9"
163+
"tailwindcss": "^3.1.6",
164+
"typescript": "^4.7.4",
165+
"vite": "^3.0.2",
166+
"vitest": "^0.18.1"
168167
}
169168
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"module": "esnext",
4-
"target": "es5",
4+
"target": "ESNext",
55
"lib": ["es6", "es7", "esnext", "dom"],
66
"types": ["vitest/globals", "@types/jest"],
77
"jsx": "react",

0 commit comments

Comments
 (0)