diff --git a/apps/admin/package.json b/apps/admin/package.json index 6ec527b..c0b62de 100644 --- a/apps/admin/package.json +++ b/apps/admin/package.json @@ -30,7 +30,7 @@ "dependencies": { "@hookform/resolvers": "^3.9.1", "@radix-ui/react-icons": "^1.3.2", - "@repo/pro-components": "workspace:*", + "@repo/pro-table": "workspace:*", "@repo/ui": "workspace:*", "@tanstack/react-query": "^5.59.17", "@tanstack/react-table": "^8.20.5", diff --git a/apps/admin/src/lib/data-dictionary.ts b/apps/admin/src/lib/data-dictionary.ts index a507982..7b72240 100644 --- a/apps/admin/src/lib/data-dictionary.ts +++ b/apps/admin/src/lib/data-dictionary.ts @@ -8,6 +8,7 @@ import { QuestionMarkCircledIcon, StopwatchIcon, } from "@radix-ui/react-icons" +import { FileWarning } from "lucide-react" export const labels = [ { @@ -26,27 +27,27 @@ export const labels = [ export const statuses = [ { - value: "backlog", + value: "BACKLOG", label: "Backlog", icon: QuestionMarkCircledIcon, }, { - value: "todo", + value: "TODO", label: "Todo", icon: CircleIcon, }, { - value: "in progress", + value: "IN_PROGRESS", label: "In Progress", icon: StopwatchIcon, }, { - value: "done", + value: "DONE", label: "Done", icon: CheckCircledIcon, }, { - value: "canceled", + value: "CANCELLED", label: "Canceled", icon: CrossCircledIcon, }, @@ -55,17 +56,22 @@ export const statuses = [ export const priorities = [ { label: "Low", - value: "low", + value: "LOW", icon: ArrowDownIcon, }, { label: "Medium", - value: "medium", + value: "MEDIUM", icon: ArrowRightIcon, }, { label: "High", - value: "high", + value: "HIGH", icon: ArrowUpIcon, }, + { + label: "Urgent", + value: "URGENT", + icon: FileWarning, + }, ] diff --git a/apps/admin/src/lib/jotai.ts b/apps/admin/src/lib/jotai.ts deleted file mode 100644 index 8dc105e..0000000 --- a/apps/admin/src/lib/jotai.ts +++ /dev/null @@ -1,40 +0,0 @@ -import type { Atom, PrimitiveAtom } from "jotai" -import { createStore, useAtom, useAtomValue, useSetAtom } from "jotai" -import { selectAtom } from "jotai/utils" -import { useCallback } from "react" - -export const jotaiStore = createStore() - -export const createAtomAccessor = (atom: PrimitiveAtom) => - [ - () => jotaiStore.get(atom), - (value: T) => jotaiStore.set(atom, value), - ] as const - -const options = { store: jotaiStore } -/** - * @param atom - jotai - * @returns - [atom, useAtom, useAtomValue, useSetAtom, jotaiStore.get, jotaiStore.set] - */ -export const createAtomHooks = (atom: PrimitiveAtom) => - [ - atom, - () => useAtom(atom, options), - () => useAtomValue(atom, options), - () => useSetAtom(atom, options), - ...createAtomAccessor(atom), - createAtomSelector(atom), - ] as const - -const noop = [] -const createAtomSelector = (atom: Atom) => { - const useHook = (selector: (a: T) => R, deps: any[] = noop) => - useAtomValue( - selectAtom( - atom, - useCallback((a) => selector(a as T), deps), - ), - ) - - return useHook -} diff --git a/apps/admin/src/lib/menu.ts b/apps/admin/src/lib/menu.ts deleted file mode 100644 index 6cedef1..0000000 --- a/apps/admin/src/lib/menu.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { IMenu } from "@/schema/menu" - -export function findMenuTitleByPathname( - menus: IMenu[], - pathname: string, -): string | null { - for (const menu of menus) { - if (menu.to === pathname) { - return menu.title - } - - if (menu.children) { - for (const child of menu.children) { - if (child.to === pathname) { - return child.title - } - } - } - } - - return null -} diff --git a/apps/admin/src/pages/(admin)/(with-layout)/list/data-table/index.tsx b/apps/admin/src/pages/(admin)/(with-layout)/list/data-table/index.tsx index da5fc37..ee0756e 100644 --- a/apps/admin/src/pages/(admin)/(with-layout)/list/data-table/index.tsx +++ b/apps/admin/src/pages/(admin)/(with-layout)/list/data-table/index.tsx @@ -5,7 +5,7 @@ import { import { DataTablePagination, DataTableSearch, -} from "@repo/pro-components/data-table" +} from "@repo/pro-table/data-table" import { Avatar, AvatarFallback, AvatarImage } from "@repo/ui/avatar" import { Button } from "@repo/ui/button" import { Checkbox } from "@repo/ui/checkbox" diff --git a/apps/admin/src/pages/(admin)/(with-layout)/list/pro-table/index.tsx b/apps/admin/src/pages/(admin)/(with-layout)/list/pro-table/index.tsx index ce84cf5..e43e5d3 100644 --- a/apps/admin/src/pages/(admin)/(with-layout)/list/pro-table/index.tsx +++ b/apps/admin/src/pages/(admin)/(with-layout)/list/pro-table/index.tsx @@ -1,8 +1,8 @@ import { DotsHorizontalIcon, } from "@radix-ui/react-icons" -import type { ColumnDef, SearchParams } from "@repo/pro-components/pro-table" -import { ProTable } from "@repo/pro-components/pro-table" +import type { ColumnDef, SearchParams } from "@repo/pro-table/pro-table" +import { ProTable } from "@repo/pro-table/pro-table" import { Avatar, AvatarFallback, AvatarImage } from "@repo/ui/avatar" import { Button } from "@repo/ui/button" import { Checkbox } from "@repo/ui/checkbox" diff --git a/apps/admin/src/pages/(admin)/(with-layout)/list/table-list/index.tsx b/apps/admin/src/pages/(admin)/(with-layout)/list/table-list/index.tsx index 954848c..439d7a1 100644 --- a/apps/admin/src/pages/(admin)/(with-layout)/list/table-list/index.tsx +++ b/apps/admin/src/pages/(admin)/(with-layout)/list/table-list/index.tsx @@ -5,7 +5,7 @@ import { DataTableFacetedFilter, DataTablePagination, DataTableViewOptions, -} from "@repo/pro-components/data-table" +} from "@repo/pro-table/data-table" import { Badge } from "@repo/ui/badge" import { Button } from "@repo/ui/button" import { Checkbox } from "@repo/ui/checkbox" @@ -134,6 +134,7 @@ const columns: ColumnDef[] = [ }, { id: "actions", + header: ({ column }) => , cell: ({ row }) => { const task = taskSchema.parse(row.original) return ( diff --git a/apps/admin/src/pages/(external)/test/[id].tsx b/apps/admin/src/pages/(external)/playground/[id].tsx similarity index 100% rename from apps/admin/src/pages/(external)/test/[id].tsx rename to apps/admin/src/pages/(external)/playground/[id].tsx diff --git a/apps/admin/src/schema/menu.ts b/apps/admin/src/schema/menu.ts index 833f502..807ba96 100644 --- a/apps/admin/src/schema/menu.ts +++ b/apps/admin/src/schema/menu.ts @@ -1,7 +1,6 @@ import type { LucideIcon } from "lucide-react" import { z } from "zod" -// 由于 LucideIcon 是一个类型,我们需要使用 custom 方法来验证 const LucideIconSchema = z.custom( (data) => { return typeof data === "function" @@ -11,7 +10,6 @@ const LucideIconSchema = z.custom( }, ) -// 子菜单项 Schema export const ChildrenMenuItemSchema = z.object({ title: z.string(), label: z.string().optional(), @@ -19,7 +17,6 @@ export const ChildrenMenuItemSchema = z.object({ to: z.string().url(), }) -// 菜单项 Schema export const MenuItemSchema = z.object({ title: z.string(), label: z.string().optional(), @@ -28,10 +25,8 @@ export const MenuItemSchema = z.object({ children: z.array(ChildrenMenuItemSchema).optional(), }) -// 导出类型 export type IChildrenMenuItem = z.infer export type MenuItem = z.infer export type IMenu = MenuItem -// 如果需要验证菜单数组 export const MenuArraySchema = z.array(MenuItemSchema) diff --git a/apps/admin/src/test/setup.ts b/apps/admin/src/test/setup.ts index ca24795..d0d3daa 100644 --- a/apps/admin/src/test/setup.ts +++ b/apps/admin/src/test/setup.ts @@ -3,7 +3,6 @@ import "@testing-library/jest-dom" import { cleanup } from "@testing-library/react" import { afterEach } from "vitest" -// 每个测试后清理 afterEach(() => { cleanup() }) diff --git a/apps/admin/tailwind.config.ts b/apps/admin/tailwind.config.ts index edd381e..442670d 100644 --- a/apps/admin/tailwind.config.ts +++ b/apps/admin/tailwind.config.ts @@ -8,7 +8,7 @@ export default { darkMode: ["class"], content: [ "../../packages/ui/src/**/*.{js,ts,jsx,tsx}", - "../../packages/pro-components/src/**/*.{js,ts,jsx,tsx}", + "../../packages/pro-table/src/**/*.{js,ts,jsx,tsx}", "./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", diff --git a/apps/api/src/db/client.serverless.ts b/apps/api/src/db/client.serverless.ts index b9113f8..429810e 100644 --- a/apps/api/src/db/client.serverless.ts +++ b/apps/api/src/db/client.serverless.ts @@ -1,13 +1,10 @@ import { drizzle } from 'drizzle-orm/neon-http' import { neon } from '@neondatabase/serverless' -import { config } from 'dotenv' import * as schema from './schema' -config({ path: '../../.dev.vars' }) - -export const dbClient = drizzle(process.env.DATABASE_URL!, { schema }) export const dbClientInWorker = (DATABASE_URL: string) => { + const sql = neon(DATABASE_URL) return drizzle(sql, { schema, logger: true }) } diff --git a/apps/api/src/module/tasks/enums.ts b/apps/api/src/module/tasks/enums.ts index 82a4d20..e502395 100644 --- a/apps/api/src/module/tasks/enums.ts +++ b/apps/api/src/module/tasks/enums.ts @@ -1,6 +1,6 @@ import { z } from 'zod' -export const TaskStatusEnum = ['TODO', 'IN_PROGRESS', 'DONE', 'CANCELLED'] as const +export const TaskStatusEnum = ['BACKLOG', 'TODO', 'IN_PROGRESS', 'DONE', 'CANCELLED'] as const export const TaskStatusEnumSchema = z.enum(TaskStatusEnum) export type TaskStatusType = z.infer diff --git a/packages/pro-components/.gitignore b/packages/pro-table/.gitignore similarity index 100% rename from packages/pro-components/.gitignore rename to packages/pro-table/.gitignore diff --git a/packages/pro-components/.storybook/main.ts b/packages/pro-table/.storybook/main.ts similarity index 100% rename from packages/pro-components/.storybook/main.ts rename to packages/pro-table/.storybook/main.ts diff --git a/packages/pro-components/.storybook/preview.ts b/packages/pro-table/.storybook/preview.ts similarity index 100% rename from packages/pro-components/.storybook/preview.ts rename to packages/pro-table/.storybook/preview.ts diff --git a/packages/pro-components/README.md b/packages/pro-table/README.md similarity index 100% rename from packages/pro-components/README.md rename to packages/pro-table/README.md diff --git a/packages/pro-components/eslint.config.js b/packages/pro-table/eslint.config.js similarity index 100% rename from packages/pro-components/eslint.config.js rename to packages/pro-table/eslint.config.js diff --git a/packages/pro-components/index.html b/packages/pro-table/index.html similarity index 100% rename from packages/pro-components/index.html rename to packages/pro-table/index.html diff --git a/packages/pro-components/package.json b/packages/pro-table/package.json similarity index 98% rename from packages/pro-components/package.json rename to packages/pro-table/package.json index e4d5cf8..9e77774 100644 --- a/packages/pro-components/package.json +++ b/packages/pro-table/package.json @@ -1,5 +1,5 @@ { - "name": "@repo/pro-components", + "name": "@repo/pro-table", "type": "module", "version": "0.0.0", "private": true, diff --git a/packages/pro-components/postcss.config.cjs b/packages/pro-table/postcss.config.cjs similarity index 100% rename from packages/pro-components/postcss.config.cjs rename to packages/pro-table/postcss.config.cjs diff --git a/packages/pro-components/public/vite.svg b/packages/pro-table/public/vite.svg similarity index 100% rename from packages/pro-components/public/vite.svg rename to packages/pro-table/public/vite.svg diff --git a/packages/pro-components/src/App.css b/packages/pro-table/src/App.css similarity index 100% rename from packages/pro-components/src/App.css rename to packages/pro-table/src/App.css diff --git a/packages/pro-components/src/App.tsx b/packages/pro-table/src/App.tsx similarity index 100% rename from packages/pro-components/src/App.tsx rename to packages/pro-table/src/App.tsx diff --git a/packages/pro-components/src/assets/react.svg b/packages/pro-table/src/assets/react.svg similarity index 100% rename from packages/pro-components/src/assets/react.svg rename to packages/pro-table/src/assets/react.svg diff --git a/packages/pro-components/src/components/data-table/context.tsx b/packages/pro-table/src/components/data-table/context.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/context.tsx rename to packages/pro-table/src/components/data-table/context.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-column-header.tsx b/packages/pro-table/src/components/data-table/data-table-column-header.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-column-header.tsx rename to packages/pro-table/src/components/data-table/data-table-column-header.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-faceted-filter.tsx b/packages/pro-table/src/components/data-table/data-table-faceted-filter.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-faceted-filter.tsx rename to packages/pro-table/src/components/data-table/data-table-faceted-filter.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-pagination.stories.tsx b/packages/pro-table/src/components/data-table/data-table-pagination.stories.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-pagination.stories.tsx rename to packages/pro-table/src/components/data-table/data-table-pagination.stories.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-pagination.tsx b/packages/pro-table/src/components/data-table/data-table-pagination.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-pagination.tsx rename to packages/pro-table/src/components/data-table/data-table-pagination.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-search.tsx b/packages/pro-table/src/components/data-table/data-table-search.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-search.tsx rename to packages/pro-table/src/components/data-table/data-table-search.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-skeleton.stories.tsx b/packages/pro-table/src/components/data-table/data-table-skeleton.stories.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-skeleton.stories.tsx rename to packages/pro-table/src/components/data-table/data-table-skeleton.stories.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-skeleton.tsx b/packages/pro-table/src/components/data-table/data-table-skeleton.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-skeleton.tsx rename to packages/pro-table/src/components/data-table/data-table-skeleton.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-toolbar.stories.tsx b/packages/pro-table/src/components/data-table/data-table-toolbar.stories.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-toolbar.stories.tsx rename to packages/pro-table/src/components/data-table/data-table-toolbar.stories.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-toolbar.tsx b/packages/pro-table/src/components/data-table/data-table-toolbar.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-toolbar.tsx rename to packages/pro-table/src/components/data-table/data-table-toolbar.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-types.ts b/packages/pro-table/src/components/data-table/data-table-types.ts similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-types.ts rename to packages/pro-table/src/components/data-table/data-table-types.ts diff --git a/packages/pro-components/src/components/data-table/data-table-util.ts b/packages/pro-table/src/components/data-table/data-table-util.ts similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-util.ts rename to packages/pro-table/src/components/data-table/data-table-util.ts diff --git a/packages/pro-components/src/components/data-table/data-table-view-options.stories.tsx b/packages/pro-table/src/components/data-table/data-table-view-options.stories.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-view-options.stories.tsx rename to packages/pro-table/src/components/data-table/data-table-view-options.stories.tsx diff --git a/packages/pro-components/src/components/data-table/data-table-view-options.tsx b/packages/pro-table/src/components/data-table/data-table-view-options.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table-view-options.tsx rename to packages/pro-table/src/components/data-table/data-table-view-options.tsx diff --git a/packages/pro-components/src/components/data-table/data-table.tsx b/packages/pro-table/src/components/data-table/data-table.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/data-table.tsx rename to packages/pro-table/src/components/data-table/data-table.tsx diff --git a/packages/pro-components/src/components/data-table/index.tsx b/packages/pro-table/src/components/data-table/index.tsx similarity index 100% rename from packages/pro-components/src/components/data-table/index.tsx rename to packages/pro-table/src/components/data-table/index.tsx diff --git a/packages/pro-components/src/components/empty.tsx b/packages/pro-table/src/components/empty.tsx similarity index 100% rename from packages/pro-components/src/components/empty.tsx rename to packages/pro-table/src/components/empty.tsx diff --git a/packages/pro-components/src/components/pro-table/index.tsx b/packages/pro-table/src/components/pro-table/index.tsx similarity index 100% rename from packages/pro-components/src/components/pro-table/index.tsx rename to packages/pro-table/src/components/pro-table/index.tsx diff --git a/packages/pro-components/src/components/pro-table/types.ts b/packages/pro-table/src/components/pro-table/types.ts similarity index 100% rename from packages/pro-components/src/components/pro-table/types.ts rename to packages/pro-table/src/components/pro-table/types.ts diff --git a/packages/pro-components/src/index.css b/packages/pro-table/src/index.css similarity index 100% rename from packages/pro-components/src/index.css rename to packages/pro-table/src/index.css diff --git a/packages/pro-components/src/lib/utils.ts b/packages/pro-table/src/lib/utils.ts similarity index 100% rename from packages/pro-components/src/lib/utils.ts rename to packages/pro-table/src/lib/utils.ts diff --git a/packages/pro-components/src/main.tsx b/packages/pro-table/src/main.tsx similarity index 100% rename from packages/pro-components/src/main.tsx rename to packages/pro-table/src/main.tsx diff --git a/packages/pro-components/src/vite-env.d.ts b/packages/pro-table/src/vite-env.d.ts similarity index 100% rename from packages/pro-components/src/vite-env.d.ts rename to packages/pro-table/src/vite-env.d.ts diff --git a/packages/pro-components/tailwind.config.ts b/packages/pro-table/tailwind.config.ts similarity index 98% rename from packages/pro-components/tailwind.config.ts rename to packages/pro-table/tailwind.config.ts index edd381e..442670d 100644 --- a/packages/pro-components/tailwind.config.ts +++ b/packages/pro-table/tailwind.config.ts @@ -8,7 +8,7 @@ export default { darkMode: ["class"], content: [ "../../packages/ui/src/**/*.{js,ts,jsx,tsx}", - "../../packages/pro-components/src/**/*.{js,ts,jsx,tsx}", + "../../packages/pro-table/src/**/*.{js,ts,jsx,tsx}", "./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", diff --git a/packages/pro-components/tsconfig.app.json b/packages/pro-table/tsconfig.app.json similarity index 100% rename from packages/pro-components/tsconfig.app.json rename to packages/pro-table/tsconfig.app.json diff --git a/packages/pro-components/tsconfig.json b/packages/pro-table/tsconfig.json similarity index 100% rename from packages/pro-components/tsconfig.json rename to packages/pro-table/tsconfig.json diff --git a/packages/pro-components/tsconfig.node.json b/packages/pro-table/tsconfig.node.json similarity index 100% rename from packages/pro-components/tsconfig.node.json rename to packages/pro-table/tsconfig.node.json diff --git a/packages/pro-components/vite.config.ts b/packages/pro-table/vite.config.ts similarity index 100% rename from packages/pro-components/vite.config.ts rename to packages/pro-table/vite.config.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e6289ae..348d68a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -66,9 +66,9 @@ importers: '@radix-ui/react-icons': specifier: ^1.3.2 version: 1.3.2(react@18.3.1) - '@repo/pro-components': + '@repo/pro-table': specifier: workspace:* - version: link:../../packages/pro-components + version: link:../../packages/pro-table '@repo/ui': specifier: workspace:* version: link:../../packages/ui @@ -418,7 +418,7 @@ importers: specifier: ^5.3.1 version: 5.4.10(@types/node@22.9.3)(lightningcss@1.25.1)(terser@5.31.6) - packages/pro-components: + packages/pro-table: dependencies: '@hookform/resolvers': specifier: ^3.9.1 @@ -507,7 +507,7 @@ importers: version: 0.11.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) globals: specifier: ^15.11.0 - version: 15.11.0 + version: 15.12.0 postcss: specifier: ^8.4.49 version: 8.4.49 @@ -10087,9 +10087,9 @@ snapshots: dependencies: '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/typescript-estree': 8.12.2(typescript@5.6.3) - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.6.3) + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) birecord: 0.1.1 string-ts: 2.2.0 ts-pattern: 5.5.0 @@ -10106,10 +10106,10 @@ snapshots: '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/var': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/type-utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/type-utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) birecord: 0.1.1 short-unique-id: 5.2.0 ts-pattern: 5.5.0 @@ -10145,9 +10145,9 @@ snapshots: '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/var': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) ts-pattern: 5.5.0 transitivePeerDependencies: - eslint @@ -10157,7 +10157,7 @@ snapshots: '@eslint-react/shared@1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-react/tools': 1.15.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) picomatch: 4.0.2 transitivePeerDependencies: - eslint @@ -10169,8 +10169,8 @@ snapshots: '@eslint-react/types@1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-react/tools': 1.15.2 - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) transitivePeerDependencies: - eslint - supports-color @@ -10181,9 +10181,9 @@ snapshots: '@eslint-react/ast': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) ts-pattern: 5.5.0 transitivePeerDependencies: - eslint @@ -12341,7 +12341,6 @@ snapshots: dependencies: '@typescript-eslint/types': 8.16.0 '@typescript-eslint/visitor-keys': 8.16.0 - optional: true '@typescript-eslint/type-utils@8.12.2(eslint@8.57.1)(typescript@5.6.3)': dependencies: @@ -12378,12 +12377,10 @@ snapshots: typescript: 5.6.3 transitivePeerDependencies: - supports-color - optional: true '@typescript-eslint/types@8.12.2': {} - '@typescript-eslint/types@8.16.0': - optional: true + '@typescript-eslint/types@8.16.0': {} '@typescript-eslint/typescript-estree@8.12.2(typescript@5.6.3)': dependencies: @@ -12414,7 +12411,6 @@ snapshots: typescript: 5.6.3 transitivePeerDependencies: - supports-color - optional: true '@typescript-eslint/utils@8.12.2(eslint@8.57.1)(typescript@5.6.3)': dependencies: @@ -12449,7 +12445,6 @@ snapshots: typescript: 5.6.3 transitivePeerDependencies: - supports-color - optional: true '@typescript-eslint/visitor-keys@8.12.2': dependencies: @@ -12460,7 +12455,6 @@ snapshots: dependencies: '@typescript-eslint/types': 8.16.0 eslint-visitor-keys: 4.2.0 - optional: true '@ungap/structured-clone@1.2.0': {} @@ -12488,7 +12482,7 @@ snapshots: '@unocss/eslint-plugin@0.63.6(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@unocss/config': 0.63.6 '@unocss/core': 0.63.6 magic-string: 0.30.12 @@ -14077,8 +14071,8 @@ snapshots: '@typescript-eslint/parser': 8.12.2(eslint@8.57.1)(typescript@5.6.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0)(eslint@8.57.1) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-react: 7.37.2(eslint@8.57.1) eslint-plugin-react-hooks: 5.0.0(eslint@8.57.1) @@ -14097,19 +14091,19 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0)(eslint@8.57.1): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.17.1 eslint: 8.57.1 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.2.1 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-import-x: 4.4.0(eslint@8.57.1)(typescript@5.6.3) transitivePeerDependencies: - '@typescript-eslint/parser' @@ -14117,14 +14111,14 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 8.12.2(eslint@8.57.1)(typescript@5.6.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0)(eslint@8.57.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1) transitivePeerDependencies: - supports-color @@ -14177,7 +14171,7 @@ snapshots: - supports-color - typescript - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -14188,7 +14182,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.4.0(eslint@8.57.1)(typescript@5.6.3))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.12.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -14270,10 +14264,10 @@ snapshots: '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/var': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/type-utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/type-utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.14.0(jiti@1.21.6) string-ts: 2.2.0 ts-pattern: 5.5.0 @@ -14291,9 +14285,9 @@ snapshots: '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/var': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.14.0(jiti@1.21.6) ts-pattern: 5.5.0 optionalDependencies: @@ -14310,10 +14304,10 @@ snapshots: '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/var': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/type-utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/type-utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.14.0(jiti@1.21.6) ts-pattern: 5.5.0 optionalDependencies: @@ -14337,10 +14331,10 @@ snapshots: '@eslint-react/shared': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/type-utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/type-utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.14.0(jiti@1.21.6) ts-pattern: 5.5.0 optionalDependencies: @@ -14361,9 +14355,9 @@ snapshots: '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/var': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) birecord: 0.1.1 eslint: 9.14.0(jiti@1.21.6) ts-pattern: 5.5.0 @@ -14381,10 +14375,10 @@ snapshots: '@eslint-react/tools': 1.15.2 '@eslint-react/types': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) '@eslint-react/var': 1.15.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/scope-manager': 8.12.2 - '@typescript-eslint/type-utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) - '@typescript-eslint/types': 8.12.2 - '@typescript-eslint/utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/type-utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.14.0(jiti@1.21.6) is-immutable-type: 5.0.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) ts-pattern: 5.5.0 @@ -15365,7 +15359,7 @@ snapshots: is-immutable-type@5.0.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3): dependencies: - '@typescript-eslint/type-utils': 8.12.2(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/type-utils': 8.16.0(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.14.0(jiti@1.21.6) ts-api-utils: 1.3.0(typescript@5.6.3) ts-declaration-location: 1.0.4(typescript@5.6.3)