Skip to content

Commit

Permalink
Remove @babel/core and babel-loader explicit dependencies, as they're…
Browse files Browse the repository at this point in the history
… already installed by Next.js and shouldn't be specified (let Next.js auto-update those) + use fixed versions + ignore storybook-static folder (when exporting static site)
  • Loading branch information
Vadorequest committed Jan 11, 2021
1 parent 9922b50 commit d5570f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,5 @@ _site
# Tmp files (cache, etc.)
*.cache

.vercel
# Storybook
storybook-static/
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,13 @@
"winston": "3.3.3"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@cypress/react": "4.16.3",
"@emotion/eslint-plugin": "11.0.0",
"@next/bundle-analyzer": "10.0.5",
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/react": "^6.1.11",
"@storybook/addon-actions": "6.1.11",
"@storybook/addon-essentials": "6.1.11",
"@storybook/addon-links": "6.1.11",
"@storybook/react": "6.1.11",
"@svgr/cli": "5.5.0",
"@types/amplitude-js": "7.0.0",
"@types/cookies": "0.7.6",
Expand Down Expand Up @@ -203,7 +202,6 @@
"@typescript-eslint/parser": "4.12.0",
"@welldone-software/why-did-you-render": "6.0.5",
"@zeit/next-source-maps": "0.0.4-canary.1",
"babel-loader": "^8.2.2",
"concurrently": "5.3.0",
"cross-env": "7.0.3",
"current-git-branch": "1.1.0",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
semver "^5.4.1"
source-map "^0.5.0"

"@babel/core@^7.12.1", "@babel/core@^7.12.10", "@babel/core@^7.12.3":
"@babel/core@^7.12.1", "@babel/core@^7.12.3":
version "7.12.10"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.10.tgz#b79a2e1b9f70ed3d84bbfb6d8c4ef825f606bccd"
integrity sha512-eTAlQKq65zHfkHZV0sIVODCPGVgoo1HdBlbSLi9CqOzuZanMv2ihzY+4paiKr1mH+XmYESMAmJ/dpZ68eN6d8w==
Expand Down Expand Up @@ -2529,7 +2529,7 @@
dependencies:
"@sinonjs/commons" "^1.7.0"

"@storybook/[email protected]", "@storybook/addon-actions@^6.1.11":
"@storybook/[email protected]":
version "6.1.11"
resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.1.11.tgz#73e91cc95c45ea477cfd4f3603f6b95f5829eab6"
integrity sha512-J44XLx2G732OG7Az79Cpk5UlI5SyXHeQqdykwT/4IEQXSBXAYWSTIJJjpJdcjR/D+zpklab1QDSiWxCrKbe81A==
Expand Down Expand Up @@ -2630,7 +2630,7 @@
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"

"@storybook/addon-essentials@^6.1.11":
"@storybook/[email protected]":
version "6.1.11"
resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.1.11.tgz#0147d429b33581cc9d42398d73a8c6a5962d5796"
integrity sha512-p1AfzzR9qt6s0xxg/GclRqClbtV+67lWLUV0d37xmTNDnGbiE5guk7nKnga0yLrzhQawiOBjRUFMfAQj2t7Ycw==
Expand All @@ -2648,7 +2648,7 @@
regenerator-runtime "^0.13.7"
ts-dedent "^2.0.0"

"@storybook/addon-links@^6.1.11":
"@storybook/[email protected]":
version "6.1.11"
resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.1.11.tgz#84b20b0c13bbfc8270cdf52389ce52f98c415b6a"
integrity sha512-OIBeOdTHNr/egIuyOUEtEBtZJXVp9PEPQ4MDxvKsCgpnXruPhjenPNW+mQKxm4SefpePW7zkx6k1ubpYVJUeag==
Expand Down Expand Up @@ -2953,7 +2953,7 @@
dependencies:
core-js "^3.0.1"

"@storybook/react@^6.1.11":
"@storybook/[email protected]":
version "6.1.11"
resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.1.11.tgz#e94403cd878c66b445df993bad9bec9023db3ebe"
integrity sha512-EmR7yvVW6z6AYhfzAgJMGR/5+igeBGa1EePaEIibn51r5uboSB72N12NaADyF2OaycIdV+0sW6vP9Zvlvexa/w==
Expand Down Expand Up @@ -4947,7 +4947,7 @@ babel-jest@^26.6.3:
graceful-fs "^4.2.4"
slash "^3.0.0"

babel-loader@^8.0.6, babel-loader@^8.2.2:
babel-loader@^8.0.6:
version "8.2.2"
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.2.2.tgz#9363ce84c10c9a40e6c753748e1441b60c8a0b81"
integrity sha512-JvTd0/D889PQBtUXJ2PXaKU/pjZDMtHA9V2ecm+eNRmmBCMR09a+fmpGTNwnJtFmFl5Ei7Vy47LjBb+L0wQ99g==
Expand Down

1 comment on commit d5570f8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.