1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

build(deps): update Next.js to v15 and ESLint to v9

This commit is contained in:
2024-11-09 19:50:22 +01:00
parent 59153a7a69
commit 9e840b8dae
74 changed files with 3206 additions and 3749 deletions

View File

@ -13,11 +13,10 @@ const config: StorybookConfig = {
"../stories/*.mdx",
],
addons: [
"@chromatic-com/storybook",
"@storybook/addon-essentials",
"@storybook/addon-storysource",
"@storybook/addon-a11y",
"@storybook/addon-links",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
"storybook-dark-mode",
],

View File

@ -1,7 +1,6 @@
import "@repo/config-tailwind/styles.css"
import { defaultTranslationValues } from "@repo/i18n/config"
import i18nMessagesEnglish from "@repo/i18n/translations/en-US.json"
import { LOCALE_DEFAULT } from "@repo/utils/constants"
import i18nMessages from "@repo/i18n/translations/en-US.json"
import { LOCALE_DEFAULT, TIMEZONE } from "@repo/utils/constants"
import type { Preview } from "@storybook/react"
import { NextIntlClientProvider } from "next-intl"
import { ThemeProvider as NextThemeProvider } from "next-themes"
@ -28,7 +27,7 @@ const preview: Preview = {
disableSaveFromUI: true,
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
date: /date$/i,
},
},
},
@ -37,10 +36,9 @@ const preview: Preview = {
return (
<NextThemeProvider enableColorScheme={false}>
<NextIntlClientProvider
messages={i18nMessagesEnglish}
messages={i18nMessages}
locale={LOCALE_DEFAULT}
defaultTranslationValues={defaultTranslationValues}
timeZone={process.env["TZ"] ?? "UTC"}
timeZone={TIMEZONE}
>
<Story />
</NextIntlClientProvider>