From dc59dd10b711639d7d22967129934b0d107e4f69 Mon Sep 17 00:00:00 2001 From: Hugo Voisin Date: Wed, 21 Feb 2024 14:18:32 +0100 Subject: [PATCH] chore: fix storybook there was a breaking change with TS 5.X https://github.com/storybookjs/storybook/issues/21642 --- package.json | 3 ++- yarn.lock | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 7412826435a..d8bf1009de5 100644 --- a/package.json +++ b/package.json @@ -377,7 +377,8 @@ "react-side-effect": "2.1.2", "react-is": "^16.13.1", "@sentry/core": "7.62.0", - "@babel/runtime": "^7.23" + "@babel/runtime": "^7.23", + "@storybook/react-docgen-typescript-plugin": "^1.0.6" }, "exports": { ".": "./index.js", diff --git a/yarn.lock b/yarn.lock index dade6b3be7a..850c7459ed1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7339,19 +7339,24 @@ unfetch "^4.2.0" util-deprecate "^1.0.2" -"@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0": - version "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0" - resolved "https://registry.yarnpkg.com/@storybook/react-docgen-typescript-plugin/-/react-docgen-typescript-plugin-1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0.tgz#3103532ff494fb7dc3cf835f10740ecf6a26c0f9" - integrity sha512-eVg3BxlOm2P+chijHBTByr90IZVUtgRW56qEOLX7xlww2NBuKrcavBlcmn+HH7GIUktquWkMPtvy6e0W0NgA5w== +"@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0", "@storybook/react-docgen-typescript-plugin@^1.0.6": + version "1.0.6--canary.9.f9c48c0.0" + resolved "https://registry.yarnpkg.com/@storybook/react-docgen-typescript-plugin/-/react-docgen-typescript-plugin-1.0.6--canary.9.f9c48c0.0.tgz#46534bf2d4889c2d9ccb6493f34ac18c441e653f" + integrity sha512-Pvj3kFXdJDPRSRbbyDF2SuHes/5Gm2890vohdWU/vW/x1RR4Z0Fznk/V1wuUrNV1adHOqeug5I1W0fRWxcU0iQ== dependencies: + "@storybook/react-docgen-typescript" "^2.2.4-next.1" debug "^4.1.1" endent "^2.0.1" find-cache-dir "^3.3.1" flat-cache "^3.0.4" micromatch "^4.0.2" - react-docgen-typescript "^2.1.1" tslib "^2.0.0" +"@storybook/react-docgen-typescript@^2.2.4-next.1": + version "2.2.4-next.1" + resolved "https://registry.yarnpkg.com/@storybook/react-docgen-typescript/-/react-docgen-typescript-2.2.4-next.1.tgz#13617a4edab8d1a0345cfd45929096e7d3f8d254" + integrity sha512-zLESd0HGH/6WbLX675TjDz1Ol+eae9e0mD39aLg6eCRB0MF64OV2POsuMqm3VYtrHrTmKyakuvrxtDOftZqxSg== + "@storybook/react@^6.5.16": version "6.5.16" resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.5.16.tgz#f7b82ba87f5bb73b4e4e83cce298a98710a88398" @@ -22044,11 +22049,6 @@ react-devtools-core@4.27.4, react-devtools-core@^4.26.1: shell-quote "^1.6.1" ws "^7" -react-docgen-typescript@^2.1.1: - version "2.2.2" - resolved "https://registry.yarnpkg.com/react-docgen-typescript/-/react-docgen-typescript-2.2.2.tgz#4611055e569edc071204aadb20e1c93e1ab1659c" - integrity sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg== - react-docgen@^5.0.0: version "5.4.0" resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-5.4.0.tgz#2cd7236720ec2769252ef0421f23250b39a153a1"