From 9154c59668a0e1f1d19bccbf9bbbf4a1d63f77ca Mon Sep 17 00:00:00 2001 From: Victor Trinh Date: Tue, 12 Nov 2024 15:10:18 -0500 Subject: [PATCH] Fix lint and storybook code --- .../{useFormattedCode.ts => formatCode.ts} | 8 +- .storybook/components/snippet/index.ts | 2 +- .storybook/preview.ts | 2 +- package.json | 4 +- pnpm-lock.yaml | 255 +++++++++--------- 5 files changed, 139 insertions(+), 132 deletions(-) rename .storybook/components/snippet/{useFormattedCode.ts => formatCode.ts} (73%) diff --git a/.storybook/components/snippet/useFormattedCode.ts b/.storybook/components/snippet/formatCode.ts similarity index 73% rename from .storybook/components/snippet/useFormattedCode.ts rename to .storybook/components/snippet/formatCode.ts index 1cb967912..dfdf3a961 100644 --- a/.storybook/components/snippet/useFormattedCode.ts +++ b/.storybook/components/snippet/formatCode.ts @@ -1,7 +1,7 @@ import { isNil } from "@components/shared/index.ts"; -import prettier from "prettier/standalone"; -import prettierBabel from "prettier/parser-babel"; -import prettierPostCss from "prettier/parser-postcss"; +import * as prettier from "prettier-local/standalone"; +import babel from "prettier-local/parser-babel"; +import postcss from "prettier-local/parser-postcss"; const PrettierParser = { "javascript": "babel", @@ -16,7 +16,7 @@ export function formatCode(code: string, language: string) { if (!isNil(parser)) { return prettier.format(code, { parser: parser, - plugins: [prettierBabel, prettierPostCss], + plugins: [babel, postcss], tabWidth: 4, arrowParens: "avoid", printWidth: 100, diff --git a/.storybook/components/snippet/index.ts b/.storybook/components/snippet/index.ts index e93908dfd..b1f40603b 100644 --- a/.storybook/components/snippet/index.ts +++ b/.storybook/components/snippet/index.ts @@ -1 +1 @@ -export * from "./useFormattedCode.ts"; +export * from "./formatCode.ts"; diff --git a/.storybook/preview.ts b/.storybook/preview.ts index 3cce0ab2b..78d93f8ce 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -2,7 +2,7 @@ import { viewport } from "./storybook-addon/index.ts"; import { withBackgroundMatchingColorScheme, withCenteredCanvas, ThemedDocsContainer, withThemeProvider } from "./decorators/index.ts"; import { isChromatic } from "./env.ts"; import { Themes } from "./styles/themes.ts"; -import { formatCode } from "./components/snippet/useFormattedCode.ts"; +import { formatCode } from "./components/snippet/index.ts"; import type { Preview } from "@storybook/react"; import "./styles/index.ts"; diff --git a/package.json b/package.json index 5970d943d..b544ef27c 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "jest-environment-jsdom": "29.7.0", "meow": "9.0.0", "netlify-cli": "17.37.2", - "prettier": "2.5.1", + "prettier-local": "npm:prettier@2.5.1", "prism-react-renderer": "1.2.1", "react": "18.3.1", "react-dom": "18.3.1", @@ -109,8 +109,8 @@ "storybook": "8.4.2", "stylelint": "^16.10.0", "svgo": "3.3.2", - "ts-node": "10.9.2", "ts-jest": "29.2.5", + "ts-node": "10.9.2", "tsconfig-paths-webpack-plugin": "4.1.0", "tsup": "8.3.5", "typescript": "5.4.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac53f5471..f9fe9d66d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 2.27.9 '@chromatic-com/storybook': specifier: 3.2.2 - version: 3.2.2(react@18.3.1)(storybook@8.4.2(prettier@2.5.1)) + version: 3.2.2(react@18.3.1)(storybook@8.4.2(prettier@3.3.3)) '@hopper-ui/icons': specifier: 2.8.4 version: 2.8.4(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -22,40 +22,40 @@ importers: version: 0.5.15(react-refresh@0.14.2)(type-fest@4.26.1)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)) '@storybook/addon-a11y': specifier: 8.4.2 - version: 8.4.2(storybook@8.4.2(prettier@2.5.1)) + version: 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@storybook/addon-essentials': specifier: 8.4.2 - version: 8.4.2(@types/react@18.3.11)(storybook@8.4.2(prettier@2.5.1))(webpack-sources@3.2.3) + version: 8.4.2(@types/react@18.3.11)(storybook@8.4.2(prettier@3.3.3))(webpack-sources@3.2.3) '@storybook/addon-interactions': specifier: 8.4.2 - version: 8.4.2(storybook@8.4.2(prettier@2.5.1)) + version: 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@storybook/addon-links': specifier: 8.4.2 - version: 8.4.2(react@18.3.1)(storybook@8.4.2(prettier@2.5.1)) + version: 8.4.2(react@18.3.1)(storybook@8.4.2(prettier@3.3.3)) '@storybook/addon-mdx-gfm': specifier: 8.4.2 - version: 8.4.2(storybook@8.4.2(prettier@2.5.1)) + version: 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@storybook/addon-webpack5-compiler-swc': specifier: 1.0.5 version: 1.0.5(@swc/helpers@0.5.13)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)) '@storybook/blocks': specifier: 8.4.2 - version: 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1)) + version: 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3)) '@storybook/react': specifier: 8.4.2 - version: 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5) + version: 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5) '@storybook/react-webpack5': specifier: 8.4.2 - version: 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1)))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5) + version: 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3)))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5) '@storybook/test': specifier: 8.4.2 - version: 8.4.2(storybook@8.4.2(prettier@2.5.1)) + version: 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@storybook/test-runner': specifier: 0.19.1 - version: 0.19.1(@swc/helpers@0.5.13)(@types/node@22.9.0)(storybook@8.4.2(prettier@2.5.1))(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + version: 0.19.1(@swc/helpers@0.5.13)(@types/node@22.9.0)(storybook@8.4.2(prettier@3.3.3))(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) '@storybook/types': specifier: 8.4.2 - version: 8.4.2(storybook@8.4.2(prettier@2.5.1)) + version: 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@svgr/core': specifier: 6.5.1 version: 6.5.1 @@ -103,7 +103,7 @@ importers: version: 3.2.3(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)))(typescript@5.4.5) '@workleap/stylelint-configs': specifier: 2.0.3 - version: 2.0.3(prettier@2.5.1)(stylelint@16.10.0(typescript@5.4.5)) + version: 2.0.3(prettier@3.3.3)(stylelint@16.10.0(typescript@5.4.5)) '@workleap/swc-configs': specifier: 2.2.3 version: 2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.0) @@ -164,9 +164,9 @@ importers: netlify-cli: specifier: 17.37.2 version: 17.37.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/express@4.17.21)(@types/node@22.9.0)(picomatch@4.0.2) - prettier: - specifier: 2.5.1 - version: 2.5.1 + prettier-local: + specifier: npm:prettier@2.5.1 + version: prettier@2.5.1 prism-react-renderer: specifier: 1.2.1 version: 1.2.1(react@18.3.1) @@ -190,7 +190,7 @@ importers: version: 0.8.5 storybook: specifier: 8.4.2 - version: 8.4.2(prettier@2.5.1) + version: 8.4.2(prettier@3.3.3) stylelint: specifier: ^16.10.0 version: 16.10.0(typescript@5.4.5) @@ -8089,6 +8089,11 @@ packages: engines: {node: '>=10.13.0'} hasBin: true + prettier@3.3.3: + resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + engines: {node: '>=14'} + hasBin: true + pretty-error@4.0.0: resolution: {integrity: sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==} @@ -10393,13 +10398,13 @@ snapshots: human-id: 1.0.2 prettier: 2.8.8 - '@chromatic-com/storybook@3.2.2(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))': + '@chromatic-com/storybook@3.2.2(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))': dependencies: chromatic: 11.18.0 filesize: 10.1.6 jsonfile: 6.1.0 react-confetti: 6.1.0(react@18.3.1) - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) strip-ansi: 7.1.0 transitivePeerDependencies: - '@chromatic-com/cypress' @@ -12729,117 +12734,117 @@ snapshots: dependencies: '@sinonjs/commons': 3.0.1 - '@storybook/addon-a11y@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-a11y@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - '@storybook/addon-highlight': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/addon-highlight': 8.4.2(storybook@8.4.2(prettier@3.3.3)) axe-core: 4.10.2 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/addon-actions@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-actions@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/global': 5.0.0 '@types/uuid': 9.0.8 dequal: 2.0.3 polished: 4.3.1 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) uuid: 9.0.1 - '@storybook/addon-backgrounds@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-backgrounds@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/global': 5.0.0 memoizerific: 1.11.3 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 - '@storybook/addon-controls@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-controls@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/global': 5.0.0 dequal: 2.0.3 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 - '@storybook/addon-docs@8.4.2(@types/react@18.3.11)(storybook@8.4.2(prettier@2.5.1))(webpack-sources@3.2.3)': + '@storybook/addon-docs@8.4.2(@types/react@18.3.11)(storybook@8.4.2(prettier@3.3.3))(webpack-sources@3.2.3)': dependencies: '@mdx-js/react': 3.1.0(@types/react@18.3.11)(react@18.3.1) - '@storybook/blocks': 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1)) - '@storybook/csf-plugin': 8.4.2(storybook@8.4.2(prettier@2.5.1))(webpack-sources@3.2.3) - '@storybook/react-dom-shim': 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1)) + '@storybook/blocks': 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3)) + '@storybook/csf-plugin': 8.4.2(storybook@8.4.2(prettier@3.3.3))(webpack-sources@3.2.3) + '@storybook/react-dom-shim': 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3)) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 transitivePeerDependencies: - '@types/react' - webpack-sources - '@storybook/addon-essentials@8.4.2(@types/react@18.3.11)(storybook@8.4.2(prettier@2.5.1))(webpack-sources@3.2.3)': - dependencies: - '@storybook/addon-actions': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/addon-backgrounds': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/addon-controls': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/addon-docs': 8.4.2(@types/react@18.3.11)(storybook@8.4.2(prettier@2.5.1))(webpack-sources@3.2.3) - '@storybook/addon-highlight': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/addon-measure': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/addon-outline': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/addon-toolbars': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/addon-viewport': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - storybook: 8.4.2(prettier@2.5.1) + '@storybook/addon-essentials@8.4.2(@types/react@18.3.11)(storybook@8.4.2(prettier@3.3.3))(webpack-sources@3.2.3)': + dependencies: + '@storybook/addon-actions': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/addon-backgrounds': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/addon-controls': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/addon-docs': 8.4.2(@types/react@18.3.11)(storybook@8.4.2(prettier@3.3.3))(webpack-sources@3.2.3) + '@storybook/addon-highlight': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/addon-measure': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/addon-outline': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/addon-toolbars': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/addon-viewport': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 transitivePeerDependencies: - '@types/react' - webpack-sources - '@storybook/addon-highlight@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-highlight@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/global': 5.0.0 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/addon-interactions@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-interactions@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/global': 5.0.0 - '@storybook/instrumenter': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/test': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/instrumenter': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/test': 8.4.2(storybook@8.4.2(prettier@3.3.3)) polished: 4.3.1 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 - '@storybook/addon-links@8.4.2(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-links@8.4.2(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 optionalDependencies: react: 18.3.1 - '@storybook/addon-mdx-gfm@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-mdx-gfm@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: remark-gfm: 4.0.0 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 transitivePeerDependencies: - supports-color - '@storybook/addon-measure@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-measure@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/global': 5.0.0 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) tiny-invariant: 1.3.3 - '@storybook/addon-outline@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-outline@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/global': 5.0.0 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 - '@storybook/addon-toolbars@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-toolbars@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/addon-viewport@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/addon-viewport@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: memoizerific: 1.11.3 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) '@storybook/addon-webpack5-compiler-swc@1.0.5(@swc/helpers@0.5.13)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0))': dependencies: @@ -12849,19 +12854,19 @@ snapshots: - '@swc/helpers' - webpack - '@storybook/blocks@8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))': + '@storybook/blocks@8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/csf': 0.1.11 '@storybook/icons': 1.2.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 optionalDependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/builder-webpack5@8.4.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5)': + '@storybook/builder-webpack5@8.4.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5)': dependencies: - '@storybook/core-webpack': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/core-webpack': 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@types/node': 22.9.0 '@types/semver': 7.5.8 browser-assert: 1.2.1 @@ -12876,7 +12881,7 @@ snapshots: path-browserify: 1.0.1 process: 0.11.10 semver: 7.6.3 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) style-loader: 3.3.4(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)) terser-webpack-plugin: 5.3.10(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)) ts-dedent: 2.2.0 @@ -12896,21 +12901,21 @@ snapshots: - uglify-js - webpack-cli - '@storybook/components@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/components@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/core-common@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/core-common@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/core-webpack@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/core-webpack@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@types/node': 22.9.0 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) ts-dedent: 2.2.0 - '@storybook/core@8.4.2(prettier@2.5.1)': + '@storybook/core@8.4.2(prettier@3.3.3)': dependencies: '@storybook/csf': 0.1.11 better-opn: 3.0.2 @@ -12924,22 +12929,22 @@ snapshots: util: 0.12.5 ws: 8.18.0 optionalDependencies: - prettier: 2.5.1 + prettier: 3.3.3 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - '@storybook/csf-plugin@8.4.2(storybook@8.4.2(prettier@2.5.1))(webpack-sources@3.2.3)': + '@storybook/csf-plugin@8.4.2(storybook@8.4.2(prettier@3.3.3))(webpack-sources@3.2.3)': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) unplugin: 1.15.0(webpack-sources@3.2.3) transitivePeerDependencies: - webpack-sources - '@storybook/csf-tools@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/csf-tools@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) '@storybook/csf@0.0.1': dependencies: @@ -12956,20 +12961,20 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/instrumenter@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/instrumenter@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/global': 5.0.0 '@vitest/utils': 2.1.4 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/manager-api@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/manager-api@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/preset-react-webpack@8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1)))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5)': + '@storybook/preset-react-webpack@8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3)))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5)': dependencies: - '@storybook/core-webpack': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/react': 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5) + '@storybook/core-webpack': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/react': 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5) '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)) '@types/node': 22.9.0 '@types/semver': 7.5.8 @@ -12980,7 +12985,7 @@ snapshots: react-dom: 18.3.1(react@18.3.1) resolve: 1.22.8 semver: 7.6.3 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) tsconfig-paths: 4.2.0 webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0) optionalDependencies: @@ -12993,9 +12998,9 @@ snapshots: - uglify-js - webpack-cli - '@storybook/preview-api@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/preview-api@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0))': dependencies: @@ -13011,21 +13016,21 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-dom-shim@8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))': + '@storybook/react-dom-shim@8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))': dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/react-webpack5@8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1)))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5)': + '@storybook/react-webpack5@8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3)))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5)': dependencies: - '@storybook/builder-webpack5': 8.4.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5) - '@storybook/preset-react-webpack': 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1)))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5) - '@storybook/react': 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5) + '@storybook/builder-webpack5': 8.4.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5) + '@storybook/preset-react-webpack': 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3)))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.24.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5) + '@storybook/react': 8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5) '@types/node': 22.9.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: @@ -13037,32 +13042,32 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react@8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1))(typescript@5.4.5)': + '@storybook/react@8.4.2(@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3))(typescript@5.4.5)': dependencies: - '@storybook/components': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/components': 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@storybook/global': 5.0.0 - '@storybook/manager-api': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/preview-api': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/react-dom-shim': 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@2.5.1)) - '@storybook/theming': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/manager-api': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/preview-api': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/react-dom-shim': 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.2(prettier@3.3.3)) + '@storybook/theming': 8.4.2(storybook@8.4.2(prettier@3.3.3)) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) optionalDependencies: - '@storybook/test': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/test': 8.4.2(storybook@8.4.2(prettier@3.3.3)) typescript: 5.4.5 - '@storybook/test-runner@0.19.1(@swc/helpers@0.5.13)(@types/node@22.9.0)(storybook@8.4.2(prettier@2.5.1))(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5))': + '@storybook/test-runner@0.19.1(@swc/helpers@0.5.13)(@types/node@22.9.0)(storybook@8.4.2(prettier@3.3.3))(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5))': dependencies: '@babel/core': 7.26.0 '@babel/generator': 7.26.2 '@babel/template': 7.25.9 '@babel/types': 7.26.0 '@jest/types': 29.6.3 - '@storybook/core-common': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/core-common': 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@storybook/csf': 0.1.11 - '@storybook/csf-tools': 8.4.2(storybook@8.4.2(prettier@2.5.1)) - '@storybook/preview-api': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/csf-tools': 8.4.2(storybook@8.4.2(prettier@3.3.3)) + '@storybook/preview-api': 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@swc/core': 1.7.36(@swc/helpers@0.5.13) '@swc/jest': 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) expect-playwright: 0.8.0 @@ -13086,25 +13091,25 @@ snapshots: - supports-color - ts-node - '@storybook/test@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/test@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 - '@storybook/instrumenter': 8.4.2(storybook@8.4.2(prettier@2.5.1)) + '@storybook/instrumenter': 8.4.2(storybook@8.4.2(prettier@3.3.3)) '@testing-library/dom': 10.4.0 '@testing-library/jest-dom': 6.5.0 '@testing-library/user-event': 14.5.2(@testing-library/dom@10.4.0) '@vitest/expect': 2.0.5 '@vitest/spy': 2.0.5 - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/theming@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/theming@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) - '@storybook/types@8.4.2(storybook@8.4.2(prettier@2.5.1))': + '@storybook/types@8.4.2(storybook@8.4.2(prettier@3.3.3))': dependencies: - storybook: 8.4.2(prettier@2.5.1) + storybook: 8.4.2(prettier@3.3.3) '@svgr/babel-plugin-add-jsx-attribute@6.5.1(@babel/core@7.26.0)': dependencies: @@ -13853,12 +13858,12 @@ snapshots: - jest - supports-color - '@workleap/stylelint-configs@2.0.3(prettier@2.5.1)(stylelint@16.10.0(typescript@5.4.5))': + '@workleap/stylelint-configs@2.0.3(prettier@3.3.3)(stylelint@16.10.0(typescript@5.4.5))': dependencies: stylelint-config-standard: 36.0.1(stylelint@16.10.0(typescript@5.4.5)) - stylelint-prettier: 5.0.2(prettier@2.5.1)(stylelint@16.10.0(typescript@5.4.5)) + stylelint-prettier: 5.0.2(prettier@3.3.3)(stylelint@16.10.0(typescript@5.4.5)) optionalDependencies: - prettier: 2.5.1 + prettier: 3.3.3 stylelint: 16.10.0(typescript@5.4.5) '@workleap/swc-configs@2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.0)': @@ -19681,6 +19686,8 @@ snapshots: prettier@2.8.8: {} + prettier@3.3.3: {} + pretty-error@4.0.0: dependencies: lodash: 4.17.21 @@ -20628,11 +20635,11 @@ snapshots: stdin-discarder@0.2.2: {} - storybook@8.4.2(prettier@2.5.1): + storybook@8.4.2(prettier@3.3.3): dependencies: - '@storybook/core': 8.4.2(prettier@2.5.1) + '@storybook/core': 8.4.2(prettier@3.3.3) optionalDependencies: - prettier: 2.5.1 + prettier: 3.3.3 transitivePeerDependencies: - bufferutil - supports-color @@ -20810,9 +20817,9 @@ snapshots: stylelint: 16.10.0(typescript@5.4.5) stylelint-config-recommended: 14.0.1(stylelint@16.10.0(typescript@5.4.5)) - stylelint-prettier@5.0.2(prettier@2.5.1)(stylelint@16.10.0(typescript@5.4.5)): + stylelint-prettier@5.0.2(prettier@3.3.3)(stylelint@16.10.0(typescript@5.4.5)): dependencies: - prettier: 2.5.1 + prettier: 3.3.3 prettier-linter-helpers: 1.0.0 stylelint: 16.10.0(typescript@5.4.5)