Skip to content

Commit

Permalink
Merge pull request #916 from labelflow/security/update-dependencies
Browse files Browse the repository at this point in the history
Patch packages dependencies vulnerabilities
  • Loading branch information
bbenoist committed Mar 7, 2022
2 parents e56f25b + 3e214bc commit e38813d
Show file tree
Hide file tree
Showing 16 changed files with 4,014 additions and 5,257 deletions.
6 changes: 5 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ module.exports = {
core: {
builder: "webpack5",
},
addons: ["storybook-addon-next-router"],
addons: [
"@storybook/addon-essentials",
"storybook-addon-next-router",
"@chakra-ui/storybook-addon",
],
typescript: { reactDocgen: "react-docgen" },
webpackFinal: async (config = {}) => {
// https://stackoverflow.com/a/61706308
Expand Down
18 changes: 13 additions & 5 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
import { RouterContext } from "next/dist/shared/lib/router-context"; // next 11.2
import { theme } from "../typescript/web/src/theme";

export const parameters = {
options: {
// Sort stories alphabetically by default
storySort: (a, b) =>
a[1].kind === b[1].kind
? 0
: a[1].id.localeCompare(b[1].id, undefined, { numeric: true }),
},
nextRouter: {
Provider: RouterContext.Provider,
isReady: true,
path: '/', // defaults to `/`
asPath: '/', // defaults to `/`
path: "/", // defaults to `/`
asPath: "/", // defaults to `/`
query: {}, // defaults to `{}`
push() {
} // defaults to using addon actions integration,
push() {}, // defaults to using addon actions integration,
},
}
chakra: { theme },
};
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"davidanson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"JounQin.vscode-mdx",
"mjmlio.vscode-mjml",
"prisma.prisma"
],
Expand Down
20 changes: 19 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ logFilters:
nodeLinker: node-modules

packageExtensions:
"@labelflow/web@*":
peerDependencies:
"@storybook/addon-essentials": "*"
"@babel/core": "*"
"@chakra-ui/accordion@1.3.6":
peerDependencies:
framer-motion: "*"
Expand All @@ -20,15 +24,26 @@ packageExtensions:
"@chakra-ui/theme": "*"
"@emotion/react": "*"
"@emotion/styled": "*"
"@chakra-ui/storybook-addon@*":
peerDependencies:
"@chakra-ui/system": "*"
"@chakra-ui/switch@1.2.9":
peerDependencies:
framer-motion: "*"
"@endemolshinegroup/cosmiconfig-typescript-loader@*":
peerDependencies:
typescript: "*"
"@graphql-codegen/cli@1.21.4":
"@graphql-codegen/cli@*":
peerDependencies:
typescript: "*"
"@mdx-js/loader@*":
peerDependencies:
"react": "*"
"@storybook/addon-essentials@*":
peerDependencies:
"@storybook/components": "*"
"@storybook/core-events": "*"
"@storybook/theming": "*"
"@storybook/core-server@*":
peerDependencies:
"@babel/core": "*"
Expand Down Expand Up @@ -57,6 +72,9 @@ packageExtensions:
dependencies:
core-js-bundle: "*"
regenerator-runtime: "*"
styled-jsx@*:
peerDependencies:
"@babel/core": "*"
next-auth@*:
peerDependencies:
"@prisma/client": "*"
Expand Down

1 comment on commit e38813d

@vercel
Copy link

@vercel vercel bot commented on e38813d Mar 7, 2022

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.