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

build(deps): update latest

This commit is contained in:
Théo LUDWIG 2025-05-29 20:58:40 +02:00
parent e044b4caea
commit b16699f5aa
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
29 changed files with 1632 additions and 1959 deletions

View File

@ -22,7 +22,7 @@ jobs:
- uses: "pnpm/action-setup@v4.1.0" - uses: "pnpm/action-setup@v4.1.0"
- name: "Setup Node.js" - name: "Setup Node.js"
uses: "actions/setup-node@v4.2.0" uses: "actions/setup-node@v4.4.0"
with: with:
node-version: "24.x" node-version: "24.x"
cache: "pnpm" cache: "pnpm"

View File

@ -22,7 +22,7 @@ jobs:
- uses: "pnpm/action-setup@v4.1.0" - uses: "pnpm/action-setup@v4.1.0"
- name: "Setup Node.js" - name: "Setup Node.js"
uses: "actions/setup-node@v4.2.0" uses: "actions/setup-node@v4.4.0"
with: with:
node-version: "24.x" node-version: "24.x"
cache: "pnpm" cache: "pnpm"

View File

@ -20,7 +20,7 @@
"scope": "typescriptreact", "scope": "typescriptreact",
"prefix": "rfcs", "prefix": "rfcs",
"body": [ "body": [
"import type { Meta, StoryObj } from \"@storybook/react\"", "import type { Meta, StoryObj } from \"@storybook/nextjs\"",
"", "",
"import { ${1:ComponentName} as ${1:ComponentName}Component } from \"./${1:ComponentName}.tsx\"", "import { ${1:ComponentName} as ${1:ComponentName}Component } from \"./${1:ComponentName}.tsx\"",
"", "",

View File

@ -32,7 +32,7 @@ The commit message guidelines adheres to [Conventional Commits](https://www.conv
### Prerequisites ### Prerequisites
- [Node.js](https://nodejs.org/) >= v24.0.0 [(`nvm install 24`)](https://nvm.sh) - [Node.js](https://nodejs.org/) >= v24.0.0 [(`nvm install 24`)](https://nvm.sh)
- [pnpm](https://pnpm.io/) v10.10.0 [(`npm install --global corepack@0.32.0 && corepack enable`)](https://github.com/nodejs/corepack) - [pnpm](https://pnpm.io/) v10.11.0 [(`npm install --global corepack@0.32.0 && corepack enable`)](https://github.com/nodejs/corepack)
- [Docker](https://www.docker.com/) - [Docker](https://www.docker.com/)
### Installation ### Installation

View File

@ -14,11 +14,8 @@ const config: StorybookConfig = {
], ],
addons: [ addons: [
"@chromatic-com/storybook", "@chromatic-com/storybook",
"@storybook/addon-essentials", "@storybook/addon-docs",
"@storybook/addon-storysource",
"@storybook/addon-a11y", "@storybook/addon-a11y",
"@storybook/addon-interactions",
"storybook-dark-mode",
], ],
framework: { framework: {
name: "@storybook/nextjs", name: "@storybook/nextjs",

View File

@ -2,18 +2,21 @@ import "@repo/config-tailwind/styles.css"
import "./storybook-css-overrides.css" import "./storybook-css-overrides.css"
import i18nMessages from "@repo/i18n/translations/en-US.json" import i18nMessages from "@repo/i18n/translations/en-US.json"
import { LOCALE_DEFAULT, TIMEZONE } from "@repo/utils/constants" import { LOCALE_DEFAULT, TIMEZONE } from "@repo/utils/constants"
import type { Preview } from "@storybook/react" import type { Preview } from "@storybook/nextjs"
import { NextIntlClientProvider } from "next-intl" import { NextIntlClientProvider } from "next-intl"
import { ThemeProvider as NextThemeProvider } from "next-themes" import { ThemeProvider as NextThemeProvider } from "next-themes"
import React from "react" import React from "react"
const preview: Preview = { const preview: Preview = {
globals: { initialGlobals: {
a11y: { a11y: {
manual: true, manual: true,
}, },
}, },
parameters: { parameters: {
docs: {
codePanel: true,
},
nextjs: { nextjs: {
appDirectory: true, appDirectory: true,
}, },

View File

@ -30,15 +30,10 @@
"@repo/config-typescript": "workspace:*", "@repo/config-typescript": "workspace:*",
"@chromatic-com/storybook": "catalog:", "@chromatic-com/storybook": "catalog:",
"@playwright/test": "catalog:", "@playwright/test": "catalog:",
"@storybook/addon-essentials": "catalog:", "@storybook/addon-docs": "catalog:",
"@storybook/addon-storysource": "catalog:",
"@storybook/addon-a11y": "catalog:", "@storybook/addon-a11y": "catalog:",
"@storybook/addon-interactions": "catalog:",
"@storybook/addon-themes": "catalog:", "@storybook/addon-themes": "catalog:",
"@storybook/blocks": "catalog:",
"@storybook/nextjs": "catalog:", "@storybook/nextjs": "catalog:",
"@storybook/react": "catalog:",
"@storybook/test": "catalog:",
"@storybook/test-runner": "catalog:", "@storybook/test-runner": "catalog:",
"@types/node": "catalog:", "@types/node": "catalog:",
"@types/react": "catalog:", "@types/react": "catalog:",
@ -48,7 +43,6 @@
"eslint": "catalog:", "eslint": "catalog:",
"start-server-and-test": "catalog:", "start-server-and-test": "catalog:",
"storybook": "catalog:", "storybook": "catalog:",
"storybook-dark-mode": "catalog:",
"postcss": "catalog:", "postcss": "catalog:",
"tailwindcss": "catalog:", "tailwindcss": "catalog:",
"@tailwindcss/postcss": "catalog:", "@tailwindcss/postcss": "catalog:",

View File

@ -1,4 +1,9 @@
import { Meta, Title, ColorPalette, ColorItem } from "@storybook/blocks" import {
Meta,
Title,
ColorPalette,
ColorItem,
} from "@storybook/addon-docs/blocks"
import tailwindConfig from "@repo/config-tailwind" import tailwindConfig from "@repo/config-tailwind"
<Meta title="Design System/Colors" /> <Meta title="Design System/Colors" />

View File

@ -1,4 +1,4 @@
FROM node:24.0.2-slim AS node-pnpm FROM node:24.1.0-slim AS node-pnpm
ENV PNPM_HOME="/pnpm" ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH" ENV PATH="$PNPM_HOME:$PATH"
RUN npm install --global corepack@0.32.0 && corepack enable RUN npm install --global corepack@0.32.0 && corepack enable

View File

@ -43,9 +43,8 @@
"@types/react": "catalog:", "@types/react": "catalog:",
"@types/react-dom": "catalog:", "@types/react-dom": "catalog:",
"@total-typescript/ts-reset": "catalog:", "@total-typescript/ts-reset": "catalog:",
"@storybook/blocks": "catalog:", "storybook": "catalog:",
"@storybook/react": "catalog:", "@storybook/nextjs": "catalog:",
"@storybook/test": "catalog:",
"eslint": "catalog:", "eslint": "catalog:",
"postcss": "catalog:", "postcss": "catalog:",
"tailwindcss": "catalog:", "tailwindcss": "catalog:",

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { BLOG_POST_MOCK } from "../BlogPost.ts" import { BLOG_POST_MOCK } from "../BlogPost.ts"
import { BlogPostUI as BlogPostUIComponent } from "../BlogPostUI.tsx" import { BlogPostUI as BlogPostUIComponent } from "../BlogPostUI.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { BLOG_POST_MOCK } from "../BlogPost.ts" import { BLOG_POST_MOCK } from "../BlogPost.ts"
import { BlogPosts as BlogPostsComponent } from "../BlogPosts.tsx" import { BlogPosts as BlogPostsComponent } from "../BlogPosts.tsx"

View File

@ -45,9 +45,8 @@
"@types/react": "catalog:", "@types/react": "catalog:",
"@types/react-dom": "catalog:", "@types/react-dom": "catalog:",
"@total-typescript/ts-reset": "catalog:", "@total-typescript/ts-reset": "catalog:",
"@storybook/blocks": "catalog:", "storybook": "catalog:",
"@storybook/react": "catalog:", "@storybook/nextjs": "catalog:",
"@storybook/test": "catalog:",
"eslint": "catalog:", "eslint": "catalog:",
"postcss": "catalog:", "postcss": "catalog:",
"tailwindcss": "catalog:", "tailwindcss": "catalog:",

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { CurriculumVitae as CurriculumVitaeComponent } from "./CurriculumVitae.tsx" import { CurriculumVitae as CurriculumVitaeComponent } from "./CurriculumVitae.tsx"

View File

@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { expect, fn, userEvent, within } from "@storybook/test" import { expect, fn, userEvent, within } from "storybook/test"
import { FaCheck } from "react-icons/fa" import { FaCheck } from "react-icons/fa"
import type { ButtonLinkProps } from "./Button.tsx" import type { ButtonLinkProps } from "./Button.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { Link } from "./Link.tsx" import { Link } from "./Link.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { Spinner } from "./Spinner.tsx" import { Spinner } from "./Spinner.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import type { TypographyProps } from "./Typography.tsx" import type { TypographyProps } from "./Typography.tsx"
import { Typography } from "./Typography.tsx" import { Typography } from "./Typography.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { ErrorNotFound as ErrorNotFoundComponent } from "./ErrorNotFound.tsx" import { ErrorNotFound as ErrorNotFoundComponent } from "./ErrorNotFound.tsx"

View File

@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { expect, fn, userEvent, within } from "@storybook/test" import { expect, fn, userEvent, within } from "storybook/test"
import { ErrorServer as ErrorServerComponent } from "./ErrorServer.tsx" import { ErrorServer as ErrorServerComponent } from "./ErrorServer.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { About as AboutComponent } from "./About.tsx" import { About as AboutComponent } from "./About.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { Interests as InterestsComponent } from "./Interests.tsx" import { Interests as InterestsComponent } from "./Interests.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { OpenSource as OpenSourceComponent } from "./OpenSource.tsx" import { OpenSource as OpenSourceComponent } from "./OpenSource.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { Portfolio as PortfolioComponent } from "./Portfolio.tsx" import { Portfolio as PortfolioComponent } from "./Portfolio.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { Skills as SkillsComponent } from "./Skills.tsx" import { Skills as SkillsComponent } from "./Skills.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { Footer as FooterComponent } from "./Footer.tsx" import { Footer as FooterComponent } from "./Footer.tsx"

View File

@ -1,4 +1,4 @@
import type { Meta, StoryObj } from "@storybook/react" import type { Meta, StoryObj } from "@storybook/nextjs"
import { Header as HeaderComponent } from "./Header.tsx" import { Header as HeaderComponent } from "./Header.tsx"

3476
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@ catalog:
"react": "19.1.0" "react": "19.1.0"
"react-dom": "19.1.0" "react-dom": "19.1.0"
"react-icons": "5.5.0" "react-icons": "5.5.0"
"@types/react": "19.1.4" "@types/react": "19.1.6"
"@types/react-dom": "19.1.5" "@types/react-dom": "19.1.5"
# Blog # Blog
@ -37,23 +37,23 @@ catalog:
# Markdown Lint # Markdown Lint
"markdownlint-cli2": "0.18.1" "markdownlint-cli2": "0.18.1"
"markdownlint": "0.38.0" "markdownlint": "0.38.0"
"markdownlint-rule-relative-links": "4.1.0" "markdownlint-rule-relative-links": "4.2.0"
# TypeScript # TypeScript
"typescript": "5.8.3" "typescript": "5.8.3"
"@total-typescript/ts-reset": "0.6.1" "@total-typescript/ts-reset": "0.6.1"
"@types/node": "22.15.20" "@types/node": "22.15.24"
# ESLint # ESLint
"globals": "16.1.0" "globals": "16.2.0"
"typescript-eslint": "8.32.1" "typescript-eslint": "8.33.0"
"@eslint/eslintrc": "3.3.1" "@eslint/eslintrc": "3.3.1"
"eslint": "9.27.0" "eslint": "9.27.0"
"eslint-config-conventions": "19.2.0" "eslint-config-conventions": "19.2.0"
"eslint-plugin-promise": "7.2.1" "eslint-plugin-promise": "7.2.1"
"eslint-plugin-unicorn": "59.0.1" "eslint-plugin-unicorn": "59.0.1"
"eslint-config-next": *next "eslint-config-next": *next
"eslint-plugin-import-x": "4.12.2" "eslint-plugin-import-x": "4.13.3"
# Prettier # Prettier
"prettier": "3.5.3" "prettier": "3.5.3"
@ -61,20 +61,14 @@ catalog:
"editorconfig-checker": "6.0.1" "editorconfig-checker": "6.0.1"
# Storybook # Storybook
"storybook": &storybook "8.6.14" "storybook": &storybook "9.0.0"
"@storybook/addon-essentials": *storybook "@storybook/addon-docs": *storybook
"@storybook/addon-storysource": *storybook
"@storybook/addon-a11y": *storybook "@storybook/addon-a11y": *storybook
"@storybook/addon-interactions": *storybook
"@storybook/blocks": *storybook
"@storybook/nextjs": *storybook "@storybook/nextjs": *storybook
"@storybook/react": *storybook
"@storybook/test": *storybook
"@storybook/addon-themes": *storybook "@storybook/addon-themes": *storybook
"@storybook/test-runner": "0.22.0" "@storybook/test-runner": "0.22.0"
"@chromatic-com/storybook": "3.2.6" "@chromatic-com/storybook": "4.0.0"
"chromatic": "11.28.2" "chromatic": "12.0.0"
"storybook-dark-mode": "4.0.2"
# Testing # Testing
"playwright": &playwright "1.52.0" "playwright": &playwright "1.52.0"
@ -83,10 +77,10 @@ catalog:
"start-server-and-test": "2.0.12" "start-server-and-test": "2.0.12"
# CSS # CSS
"postcss": "8.5.3" "postcss": "8.5.4"
"@tailwindcss/postcss": "4.1.7" "@tailwindcss/postcss": "4.1.8"
"@tailwindcss/typography": "0.5.16" "@tailwindcss/typography": "0.5.16"
"tailwindcss": "4.1.7" "tailwindcss": "4.1.8"
"tailwind-merge": "3.3.0" "tailwind-merge": "3.3.0"
"clsx": "2.1.1" "clsx": "2.1.1"
"cva": "1.0.0-beta.4" "cva": "1.0.0-beta.4"