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

Commit

Permalink
chore(deps): upgrade storybook to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman-zishan committed Jul 13, 2023
1 parent f285b94 commit 0fa5673
Show file tree
Hide file tree
Showing 4 changed files with 8,972 additions and 12,159 deletions.
16 changes: 16 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"sourceType": "unambiguous",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": 100
}
}
],
"@babel/preset-typescript",
"@babel/preset-react"
],
"plugins": []
}
19 changes: 10 additions & 9 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
module.exports = {
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/preset-scss",
],
framework: "@storybook/react",
staticDirs: ["../public", "../static", "../assets"],
};
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions", "@storybook/preset-scss"],
framework: {
name: "@storybook/react-webpack5",
options: {}
},
staticDirs: ["../assets"],
docs: {
autodocs: true
}
};
25 changes: 14 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"build": "rollup -c --bundleConfigAsCjs",
"test": "jest",
"test:watch": "jest --watch",
"storybook": "start-storybook -p 6006",
"storybook:export": "build-storybook",
"storybook": "storybook dev -p 6006",
"storybook:export": "storybook build",
"generate": "node ./util/create-component",
"prepublishOnly": "npm run build",
"build-storybook": "build-storybook"
"build-storybook": "storybook build"
},
"repository": {
"type": "git",
Expand All @@ -46,18 +46,20 @@
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-image": "^3.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/builder-webpack4": "^6.5.16",
"@storybook/manager-webpack4": "^6.5.16",
"@storybook/addon-actions": "^7.0.27",
"@storybook/addon-essentials": "^7.0.27",
"@storybook/addon-interactions": "^7.0.27",
"@storybook/addon-links": "^7.0.27",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.16",
"@storybook/testing-library": "^0.0.13",
"@storybook/react": "^7.0.27",
"@storybook/react-webpack5": "^7.0.27",
"@storybook/testing-library": "^0.2.0",
"@svgr/webpack": "^6.5.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
Expand All @@ -83,6 +85,7 @@
"rollup-plugin-typescript2": "^0.34.1",
"sass": "^1.57.1",
"sass-loader": "10.1.1",
"storybook": "^7.0.27",
"style-loader": "2.0.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.4"
Expand Down
Loading

0 comments on commit 0fa5673

Please sign in to comment.