diff --git a/bun.lockb b/bun.lockb index fd5bef3..94a2a89 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/eslint.config.ts b/eslint.config.ts index 66e2b81..bfc7b8d 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -1,8 +1,17 @@ import jimmyDotCodes from "@jimmy.codes/eslint-config"; -// @ts-expect-error missing types import eslintPluginStorybook from "eslint-plugin-storybook"; +const storybookConfigs = eslintPluginStorybook.configs["flat/recommended"].map( + ({ files, name, plugins, rules }) => { + return { + ...(files && { files }), + name, + plugins: { ...plugins }, + rules: { ...rules }, + }; + }, +); + export default jimmyDotCodes({ - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access -- missing types - configs: eslintPluginStorybook.configs["flat/recommended"], + configs: [...storybookConfigs], }); diff --git a/package.json b/package.json index 9c3ff0a..01c02b9 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ }, "prettier": "@jimmy.codes/prettier-config", "dependencies": { - "@tanstack/react-query": "5.59.16", - "@tanstack/react-router": "1.78.2", + "@tanstack/react-query": "5.59.19", + "@tanstack/react-router": "1.78.3", "clsx": "2.1.1", "react": "18.3.1", "react-dom": "18.3.1", @@ -36,7 +36,7 @@ "@iconify-json/logos": "1.2.3", "@iconify-json/lucide": "1.2.11", "@iconify/tailwind": "1.1.3", - "@jimmy.codes/eslint-config": "3.4.1", + "@jimmy.codes/eslint-config": "3.6.0", "@jimmy.codes/prettier-config": "1.1.0", "@playwright/test": "1.48.2", "@storybook/addon-a11y": "8.4.1", @@ -47,15 +47,15 @@ "@storybook/react": "8.4.1", "@storybook/react-vite": "8.4.1", "@tailwindcss/typography": "0.5.15", - "@tanstack/react-query-devtools": "5.59.16", - "@tanstack/router-devtools": "1.78.2", - "@tanstack/router-vite-plugin": "1.78.2", + "@tanstack/react-query-devtools": "5.59.19", + "@tanstack/router-devtools": "1.78.3", + "@tanstack/router-vite-plugin": "1.78.3", "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.0.1", "@testing-library/user-event": "14.5.2", "@total-typescript/ts-reset": "0.6.1", - "@types/bun": "1.1.12", + "@types/bun": "1.1.13", "@types/react": "18.3.12", "@types/react-dom": "18.3.1", "@vitejs/plugin-react-swc": "3.7.1", @@ -64,12 +64,12 @@ "autoprefixer": "10.4.20", "daisyui": "4.12.14", "eslint": "9.14.0", - "eslint-plugin-storybook": "0.10.2", + "eslint-plugin-storybook": "0.11.0", "gitzy": "5.5.0", - "happy-dom": "15.8.0", + "happy-dom": "15.8.5", "is-ci": "3.0.1", "jiti": "2.4.0", - "knip": "5.36.1", + "knip": "5.36.2", "lefthook": "1.8.2", "msw": "2.6.0", "postcss": "8.4.47", @@ -79,7 +79,7 @@ "turbo": "2.2.3", "typescript": "5.6.3", "vite": "5.4.10", - "vite-tsconfig-paths": "5.0.1", + "vite-tsconfig-paths": "5.1.0", "vitest": "2.1.4" }, "packageManager": "bun@1.1.34"