From f54836fc713f2c506c89b6590340179fc91782a8 Mon Sep 17 00:00:00 2001 From: dinq Date: Mon, 26 Aug 2024 09:48:55 +0800 Subject: [PATCH] feat: pnpm catalog --- apps/www/package.json | 30 ++-- apps/www/src/lib/code.ts | 3 +- package.json | 4 +- packages/lib/package.json | 1 + packages/react/package.json | 30 ++-- packages/vue/package.json | 30 ++-- pnpm-lock.yaml | 281 ++++++++++++++++++++++-------------- pnpm-workspace.yaml | 19 ++- 8 files changed, 237 insertions(+), 161 deletions(-) diff --git a/apps/www/package.json b/apps/www/package.json index a097f1f..6907122 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -10,8 +10,8 @@ "check-types": "astro check" }, "dependencies": { - "@ark-ui/react": "^3.7.0", - "@ark-ui/vue": "^3.8.0", + "@ark-ui/react": "catalog:", + "@ark-ui/vue": "catalog:", "@astrojs/check": "^0.9.2", "@astrojs/mdx": "^3.1.3", "@astrojs/react": "^3.6.2", @@ -23,34 +23,34 @@ "@ui/react": "workspace:*", "@ui/vue": "workspace:*", "astro": "^4.14.1", - "class-variance-authority": "^0.7.0", - "clsx": "^2.1.1", + "class-variance-authority": "catalog:", + "clsx": "catalog:", "lucide-react": "^0.376.0", "nanostores": "^0.11.2", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "catalog:", + "react-dom": "catalog:", "recharts": "^2.12.7", "sharp": "^0.32.6", - "tailwind-merge": "^2.5.2", - "vue": "^3.4.38" + "tailwind-merge": "catalog:" }, "devDependencies": { "@astrojs/markdown-remark": "^5.2.0", "@shikijs/transformers": "^1.13.0", "@types/hast": "^3.0.4", "@types/node": "^20.14.15", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", - "autoprefixer": "^10.4.20", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "clsx": "catalog:", "mdast-util-mdx": "^3.0.0", "mdast-util-mdx-jsx": "^3.1.2", "mlly": "^1.7.1", "postcss": "^8.4.41", "shiki": "^1.13.0", - "tailwindcss": "^3.4.10", - "tailwindcss-animate": "^1.0.7", + "tailwindcss": "catalog:", + "tailwindcss-animate": "catalog:", "unist-util-visit": "^5.0.0", - "vite": "^5.4.1", - "vite-plugin-inspect": "^0.8.5" + "vite": "catalog:", + "vite-plugin-inspect": "^0.8.5", + "vue": "catalog:" } } diff --git a/apps/www/src/lib/code.ts b/apps/www/src/lib/code.ts index 34c4492..bb3d6d1 100644 --- a/apps/www/src/lib/code.ts +++ b/apps/www/src/lib/code.ts @@ -3,6 +3,7 @@ import { transformerMetaHighlight } from "@shikijs/transformers" import type { Element, Root } from "hast" import type { MdxjsEsm } from "mdast-util-mdx" import type { MdxJsxFlowElementHast } from "mdast-util-mdx-jsx" +import type { ShikiTransformer } from "shiki" import { visit } from "unist-util-visit" export const shikiConfig = { @@ -13,7 +14,7 @@ export const shikiConfig = { const pre = root.children?.[0] as Element if (pre) pre.properties.source = this.source }, - }, + } satisfies ShikiTransformer, transformerMetaHighlight({ className: "line--highlighted", }), diff --git a/package.json b/package.json index 10c4da7..d269071 100644 --- a/package.json +++ b/package.json @@ -16,14 +16,12 @@ "@biomejs/biome": "1.8.3", "@turbo/gen": "^2.0.12", "@types/node": "^20.14.15", - "ai": "^3.3.7", "dotenv": "^16.4.5", "lint-staged": "^15.2.9", "rimraf": "^6.0.1", "simple-git-hooks": "^2.11.1", "turbo": "^2.0.14", - "typescript": "^5.5.4", - "zod": "^3.23.8" + "typescript": "^5.5.4" }, "packageManager": "pnpm@9.7.1+sha256.46f1bbc8f8020aa9869568c387198f1a813f21fb44c82f400e7d1dbde6c70b40", "simple-git-hooks": { diff --git a/packages/lib/package.json b/packages/lib/package.json index 35e4a72..d79d8e0 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -15,6 +15,7 @@ "@ui/tsconfig": "workspace:*" }, "dependencies": { + "ai": "catalog:", "@ai-sdk/anthropic": "^0.0.41", "@ai-sdk/openai": "^0.0.46" } diff --git a/packages/react/package.json b/packages/react/package.json index 41d5758..f5352d4 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -177,7 +177,7 @@ "build-storybook": "storybook build" }, "devDependencies": { - "@ark-ui/react": "^3.7.0", + "@ark-ui/react": "catalog:", "@chromatic-com/storybook": "^1.6.1", "@storybook/addon-essentials": "^8.2.9", "@storybook/addon-interactions": "^8.2.9", @@ -188,33 +188,33 @@ "@storybook/react": "^8.2.9", "@storybook/react-vite": "^8.2.9", "@storybook/test": "^8.2.9", - "@types/react": "^18.3.3", + "@types/react": "catalog:", "@ui/tsconfig": "workspace:*", "@vitejs/plugin-react": "^4.3.1", - "autoprefixer": "^10.4.20", + "clsx": "catalog:", "chokidar-cli": "^3.0.0", - "class-variance-authority": "^0.7.0", - "clsx": "^2.1.1", + "class-variance-authority": "catalog:", + "autoprefixer": "catalog:", "globby": "^14.0.2", "lucide-react": "^0.424.0", "prop-types": "^15.8.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "catalog:", + "react-dom": "catalog:", "recharts": "^2.12.7", "storybook": "^8.2.9", "tailwind": "^4.0.0", - "tailwind-merge": "^2.5.2", - "vite": "^5.4.1", + "tailwind-merge": "catalog:", + "vite": "catalog:", "vite-tsconfig-paths": "^4.3.2" }, "peerDependencies": { - "@ark-ui/react": "^3.6.2", - "class-variance-authority": "^0.7.0", - "clsx": "^2.1.1", + "@ark-ui/react": "catalog:", + "class-variance-authority": "catalog:", + "clsx": "catalog:", "lucide-react": "^0.424.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "catalog:", + "react-dom": "catalog:", "recharts": "^2.12.7", - "tailwind-merge": "^2.4.0" + "tailwind-merge": "catalog:" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index 963e77e..2cf496a 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -46,12 +46,8 @@ "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, - "files": ["dist", "src"], - "dependencies": { - "vue": "^3.4.38" - }, "devDependencies": { - "@ark-ui/vue": "^3.8.0", + "@ark-ui/vue": "catalog:", "@chromatic-com/storybook": "^1.6.1", "@storybook/addon-essentials": "^8.2.9", "@storybook/addon-interactions": "^8.2.9", @@ -62,28 +58,24 @@ "@storybook/test": "^8.2.9", "@storybook/vue3": "^8.2.9", "@storybook/vue3-vite": "^8.2.9", + "@ui/lib": "workspace:*", "@ui/tsconfig": "workspace:*", "@vitejs/plugin-vue": "^5.1.2", "@vitejs/plugin-vue-jsx": "^4.0.1", - "autoprefixer": "^10.4.20", + "ai": "catalog:", + "autoprefixer": "catalog:", "chokidar-cli": "^3.0.0", - "class-variance-authority": "^0.7.0", - "clsx": "^2.1.1", + "class-variance-authority": "catalog:", + "clsx": "catalog:", "globby": "^14.0.2", "lucide-vue-next": "^0.424.0", "storybook": "^8.2.9", - "tailwind": "^4.0.0", - "tailwind-merge": "^2.5.2", - "vite": "^5.4.1", + "tailwind-merge": "catalog:", + "tailwindcss": "catalog:", + "vite": "catalog:", "vite-tsconfig-paths": "^4.3.2", + "vue": "catalog:", "vue-tsc": "^2.0.29", - "@ui/lib": "workspace:*" - }, - "peerDependencies": { - "@ark-ui/vue": "^3.7.2", - "class-variance-authority": "^0.7.0", - "clsx": "^2.1.1", - "lucide-vue-next": "^0.424.0", - "tailwind-merge": "^2.4.0" + "zod": "catalog:" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c6360b0..61ed481 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,57 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +catalogs: + default: + '@ark-ui/react': + specifier: ^3.7.0 + version: 3.7.0 + '@ark-ui/vue': + specifier: ^3.8.0 + version: 3.8.0 + '@types/react': + specifier: ^18.3.3 + version: 18.3.3 + '@types/react-dom': + specifier: ^18.3.0 + version: 18.3.0 + ai: + specifier: ^3.3.7 + version: 3.3.17 + autoprefixer: + specifier: ^10.4.20 + version: 10.4.20 + class-variance-authority: + specifier: ^0.7.0 + version: 0.7.0 + clsx: + specifier: ^2.1.1 + version: 2.1.1 + react: + specifier: ^18.3.1 + version: 18.3.1 + react-dom: + specifier: ^18.3.1 + version: 18.3.1 + tailwind-merge: + specifier: ^2.5.2 + version: 2.5.2 + tailwindcss: + specifier: ^3.4.10 + version: 3.4.10 + tailwindcss-animate: + specifier: ^1.0.7 + version: 1.0.7 + vite: + specifier: ^5.4.1 + version: 5.4.1 + vue: + specifier: ^3.4.38 + version: 3.4.38 + zod: + specifier: ^3.23.8 + version: 3.23.8 + importers: .: @@ -17,9 +68,6 @@ importers: '@types/node': specifier: ^20.14.15 version: 20.14.15 - ai: - specifier: ^3.3.7 - version: 3.3.7(react@18.3.1)(sswr@2.1.0(svelte@4.2.18))(svelte@4.2.18)(vue@3.4.38(typescript@5.5.4))(zod@3.23.8) dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -38,17 +86,14 @@ importers: typescript: specifier: ^5.5.4 version: 5.5.4 - zod: - specifier: ^3.23.8 - version: 3.23.8 apps/www: dependencies: '@ark-ui/react': - specifier: ^3.7.0 + specifier: 'catalog:' version: 3.7.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@ark-ui/vue': - specifier: ^3.8.0 + specifier: 'catalog:' version: 3.8.0(vue@3.4.38(typescript@5.5.4)) '@astrojs/check': specifier: ^0.9.2 @@ -84,10 +129,10 @@ importers: specifier: ^4.14.1 version: 4.14.1(@types/node@20.14.15)(rollup@4.19.0)(typescript@5.5.4) class-variance-authority: - specifier: ^0.7.0 + specifier: 'catalog:' version: 0.7.0 clsx: - specifier: ^2.1.1 + specifier: 'catalog:' version: 2.1.1 lucide-react: specifier: ^0.376.0 @@ -96,10 +141,10 @@ importers: specifier: ^0.11.2 version: 0.11.2 react: - specifier: ^18.3.1 + specifier: 'catalog:' version: 18.3.1 react-dom: - specifier: ^18.3.1 + specifier: 'catalog:' version: 18.3.1(react@18.3.1) recharts: specifier: ^2.12.7 @@ -108,11 +153,8 @@ importers: specifier: ^0.32.6 version: 0.32.6 tailwind-merge: - specifier: ^2.5.2 + specifier: 'catalog:' version: 2.5.2 - vue: - specifier: ^3.4.38 - version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/markdown-remark': specifier: ^5.2.0 @@ -127,14 +169,11 @@ importers: specifier: ^20.14.15 version: 20.14.15 '@types/react': - specifier: ^18.3.3 + specifier: 'catalog:' version: 18.3.3 '@types/react-dom': - specifier: ^18.3.0 + specifier: 'catalog:' version: 18.3.0 - autoprefixer: - specifier: ^10.4.20 - version: 10.4.20(postcss@8.4.41) mdast-util-mdx: specifier: ^3.0.0 version: 3.0.0 @@ -151,20 +190,23 @@ importers: specifier: ^1.13.0 version: 1.13.0 tailwindcss: - specifier: ^3.4.10 + specifier: 'catalog:' version: 3.4.10(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) tailwindcss-animate: - specifier: ^1.0.7 + specifier: 'catalog:' version: 1.0.7(tailwindcss@3.4.10(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4))) unist-util-visit: specifier: ^5.0.0 version: 5.0.0 vite: - specifier: ^5.4.1 + specifier: 'catalog:' version: 5.4.1(@types/node@20.14.15) vite-plugin-inspect: specifier: ^0.8.5 version: 0.8.5(rollup@4.19.0)(vite@5.4.1(@types/node@20.14.15)) + vue: + specifier: 'catalog:' + version: 3.4.38(typescript@5.5.4) packages/lib: dependencies: @@ -174,6 +216,9 @@ importers: '@ai-sdk/openai': specifier: ^0.0.46 version: 0.0.46(zod@3.23.8) + ai: + specifier: 'catalog:' + version: 3.3.17(react@18.3.1)(sswr@2.1.0(svelte@4.2.19))(svelte@4.2.19)(vue@3.4.38(typescript@5.5.4))(zod@3.23.8) devDependencies: '@ui/tsconfig': specifier: workspace:* @@ -182,7 +227,7 @@ importers: packages/react: devDependencies: '@ark-ui/react': - specifier: ^3.7.0 + specifier: 'catalog:' version: 3.7.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@chromatic-com/storybook': specifier: ^1.6.1 @@ -215,7 +260,7 @@ importers: specifier: ^8.2.9 version: 8.2.9(storybook@8.2.9(@babel/preset-env@7.25.3(@babel/core@7.25.2))) '@types/react': - specifier: ^18.3.3 + specifier: 'catalog:' version: 18.3.3 '@ui/tsconfig': specifier: workspace:* @@ -224,16 +269,16 @@ importers: specifier: ^4.3.1 version: 4.3.1(vite@5.4.1(@types/node@20.14.15)) autoprefixer: - specifier: ^10.4.20 + specifier: 'catalog:' version: 10.4.20(postcss@8.4.41) chokidar-cli: specifier: ^3.0.0 version: 3.0.0 class-variance-authority: - specifier: ^0.7.0 + specifier: 'catalog:' version: 0.7.0 clsx: - specifier: ^2.1.1 + specifier: 'catalog:' version: 2.1.1 globby: specifier: ^14.0.2 @@ -245,10 +290,10 @@ importers: specifier: ^15.8.1 version: 15.8.1 react: - specifier: ^18.3.1 + specifier: 'catalog:' version: 18.3.1 react-dom: - specifier: ^18.3.1 + specifier: 'catalog:' version: 18.3.1(react@18.3.1) recharts: specifier: ^2.12.7 @@ -260,10 +305,10 @@ importers: specifier: ^4.0.0 version: 4.0.0 tailwind-merge: - specifier: ^2.5.2 + specifier: 'catalog:' version: 2.5.2 vite: - specifier: ^5.4.1 + specifier: 'catalog:' version: 5.4.1(@types/node@20.14.15) vite-tsconfig-paths: specifier: ^4.3.2 @@ -276,13 +321,9 @@ importers: version: 0.5.1 packages/vue: - dependencies: - vue: - specifier: ^3.4.38 - version: 3.4.38(typescript@5.5.4) devDependencies: '@ark-ui/vue': - specifier: ^3.8.0 + specifier: 'catalog:' version: 3.8.0(vue@3.4.38(typescript@5.5.4)) '@chromatic-com/storybook': specifier: ^1.6.1 @@ -326,17 +367,20 @@ importers: '@vitejs/plugin-vue-jsx': specifier: ^4.0.1 version: 4.0.1(vite@5.4.1(@types/node@20.14.15))(vue@3.4.38(typescript@5.5.4)) + ai: + specifier: 'catalog:' + version: 3.3.17(react@18.3.1)(sswr@2.1.0(svelte@4.2.19))(svelte@4.2.19)(vue@3.4.38(typescript@5.5.4))(zod@3.23.8) autoprefixer: - specifier: ^10.4.20 + specifier: 'catalog:' version: 10.4.20(postcss@8.4.41) chokidar-cli: specifier: ^3.0.0 version: 3.0.0 class-variance-authority: - specifier: ^0.7.0 + specifier: 'catalog:' version: 0.7.0 clsx: - specifier: ^2.1.1 + specifier: 'catalog:' version: 2.1.1 globby: specifier: ^14.0.2 @@ -347,21 +391,27 @@ importers: storybook: specifier: ^8.2.9 version: 8.2.9(@babel/preset-env@7.25.3(@babel/core@7.25.2)) - tailwind: - specifier: ^4.0.0 - version: 4.0.0 tailwind-merge: - specifier: ^2.5.2 + specifier: 'catalog:' version: 2.5.2 + tailwindcss: + specifier: 'catalog:' + version: 3.4.10(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) vite: - specifier: ^5.4.1 + specifier: 'catalog:' version: 5.4.1(@types/node@20.14.15) vite-tsconfig-paths: specifier: ^4.3.2 version: 4.3.2(typescript@5.5.4)(vite@5.4.1(@types/node@20.14.15)) + vue: + specifier: 'catalog:' + version: 3.4.38(typescript@5.5.4) vue-tsc: specifier: ^2.0.29 version: 2.0.29(typescript@5.5.4) + zod: + specifier: 'catalog:' + version: 3.23.8 packages: @@ -389,12 +439,25 @@ packages: zod: optional: true + '@ai-sdk/provider-utils@1.0.16': + resolution: {integrity: sha512-8Nd8vIkGTIthhfgJEdP9KyMlykehBNP/1J47eMC3vQqYgJV6r5Bgvl3LFVfWi9KzamiD8tp9nU2NJKTeo4MH/A==} + engines: {node: '>=18'} + peerDependencies: + zod: ^3.0.0 + peerDependenciesMeta: + zod: + optional: true + '@ai-sdk/provider@0.0.19': resolution: {integrity: sha512-WXyyJ0Fqg0OHzUQ/spem4jRFPq+NkYB8YNTVbSQrE+Rpxtm7DqK1x9MrHtIEhoikCMg9wBOCbm7HuMnfsIR5GA==} engines: {node: '>=18'} - '@ai-sdk/react@0.0.43': - resolution: {integrity: sha512-maWuV9529tIVVST9iXgnxBWUoM5Z8DW0lyrMYnsaLJAZ4kostt+PbqJjhy6eAQPzmXGcu4+OdgT1v1ZNCZR4+Q==} + '@ai-sdk/provider@0.0.21': + resolution: {integrity: sha512-9j95uaPRxwYkzQdkl4XO/MmWWW5c5vcVSXtqvALpD9SMB9fzH46dO3UN4VbOJR2J3Z84CZAqgZu5tNlkptT9qQ==} + engines: {node: '>=18'} + + '@ai-sdk/react@0.0.51': + resolution: {integrity: sha512-Hq5splFSB6OVovHamXvpnd1S7jfIz/CXWjaLo9sr90jd/W370NA8GhBd6oSLfqMeKrPosV4qRBH5S8lv2bauqA==} engines: {node: '>=18'} peerDependencies: react: ^18 || ^19 @@ -405,8 +468,8 @@ packages: zod: optional: true - '@ai-sdk/solid@0.0.34': - resolution: {integrity: sha512-puVv9rrskWXrtaikDbpoMkGeTboa4ZY6wTmC66Xw9rhZ0zK5yN15lLJBf/LeBIV6J1V9F9bBxjRX7UQXjE3sZg==} + '@ai-sdk/solid@0.0.41': + resolution: {integrity: sha512-w4vSkd2388FJMnKPALP8SL4p3XAR70FAPj0qrd5AoYyQMMjX/E6zQGc8YAhAAnGSwiQwq/DZaE4y0lorwFVyOw==} engines: {node: '>=18'} peerDependencies: solid-js: ^1.7.7 @@ -414,8 +477,8 @@ packages: solid-js: optional: true - '@ai-sdk/svelte@0.0.36': - resolution: {integrity: sha512-5pSaKt+UZK9+9AsbIYLs4REtAc/0HOLX4DK3nRtMcDqDLoWDoSJDKK/EjDMYVhYB1gqQmT0AeiSLo2WH0nf00w==} + '@ai-sdk/svelte@0.0.43': + resolution: {integrity: sha512-lUve6AGc3dtue14LLGiZs7J7L/3jEHh6SGXwuG/nDygeicKPzmG9drWZlhTdpNHN9wKtBgrCdJxQ96HKswLDNA==} engines: {node: '>=18'} peerDependencies: svelte: ^3.0.0 || ^4.0.0 @@ -423,8 +486,8 @@ packages: svelte: optional: true - '@ai-sdk/ui-utils@0.0.31': - resolution: {integrity: sha512-PA1mI+WC69Bc8JCTDOXwhLv9OAfocex/d+MRtQjfuWE6jTBjkBMa6davw+JjN7Vcp6zP0JLQG6gd7n6MnkFepQ==} + '@ai-sdk/ui-utils@0.0.38': + resolution: {integrity: sha512-SyyfqBu7xnsfUuq3kSxzP+fxGCTMqaSL5WYGiBJpr/yLWySjBJCg/k7WueO440AqVpZBzCd3nWoCpPmjfMK8Yg==} engines: {node: '>=18'} peerDependencies: zod: ^3.0.0 @@ -432,8 +495,8 @@ packages: zod: optional: true - '@ai-sdk/vue@0.0.35': - resolution: {integrity: sha512-7cPShsxiyxzoSB5orjCqwnFWvjpM/YX2W+a2K6lyV2Z2JAgHc+4PHhVnrKwc0c9Q7vwfpvW+3MoKM6U2xZaS+w==} + '@ai-sdk/vue@0.0.43': + resolution: {integrity: sha512-bJB7muMpmP/wPKbDU8GCmDpI1HSkuTWz9DsQ4ZlBaCk5wqRLKxRtzM9NxfeQ15RojSLxYhKf/lDwW10RPtjcaw==} engines: {node: '>=18'} peerDependencies: vue: ^3.3.4 @@ -2570,8 +2633,8 @@ packages: resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} engines: {node: '>=8'} - ai@3.3.7: - resolution: {integrity: sha512-xMfQdOL2s0aiGozdUO0ahOAfcwkGBUye3q4wC64PPNpmE3Qeing1Tv4JSsHk0zymhCMHBDiI1Tky8BNGdu+V6A==} + ai@3.3.17: + resolution: {integrity: sha512-Z3cPRImctE8GMZV0e15ZlO+bqfLlVWqO+JiShJT20l3iYlZYwsQMQXjt5hiF3m7+VvbzIq+ORdp1Ai11GxzBVQ==} engines: {node: '>=18'} peerDependencies: openai: ^4.42.0 @@ -6065,8 +6128,8 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - svelte@4.2.18: - resolution: {integrity: sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==} + svelte@4.2.19: + resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==} engines: {node: '>=16'} svg-tags@1.0.0: @@ -6886,11 +6949,6 @@ packages: resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==} engines: {node: '>=12.20'} - zod-to-json-schema@3.22.5: - resolution: {integrity: sha512-+akaPo6a0zpVCCseDed504KBJUQpEW5QZw7RMneNmKw+fGaML1Z9tUNLnHHAC8x6dzVRO1eB2oEMyZRnuBZg7Q==} - peerDependencies: - zod: ^3.22.4 - zod-to-json-schema@3.23.2: resolution: {integrity: sha512-uSt90Gzc/tUfyNqxnjlfBs8W6WSGpNBv0rVsNxP/BVSMHMKGdthPYff4xtCHYloJGM0CFxFsb3NbC0eqPhfImw==} peerDependencies: @@ -6933,50 +6991,63 @@ snapshots: optionalDependencies: zod: 3.23.8 + '@ai-sdk/provider-utils@1.0.16(zod@3.23.8)': + dependencies: + '@ai-sdk/provider': 0.0.21 + eventsource-parser: 1.1.2 + nanoid: 3.3.6 + secure-json-parse: 2.7.0 + optionalDependencies: + zod: 3.23.8 + '@ai-sdk/provider@0.0.19': dependencies: json-schema: 0.4.0 - '@ai-sdk/react@0.0.43(react@18.3.1)(zod@3.23.8)': + '@ai-sdk/provider@0.0.21': dependencies: - '@ai-sdk/provider-utils': 1.0.11(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.31(zod@3.23.8) + json-schema: 0.4.0 + + '@ai-sdk/react@0.0.51(react@18.3.1)(zod@3.23.8)': + dependencies: + '@ai-sdk/provider-utils': 1.0.16(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.38(zod@3.23.8) swr: 2.2.5(react@18.3.1) optionalDependencies: react: 18.3.1 zod: 3.23.8 - '@ai-sdk/solid@0.0.34(zod@3.23.8)': + '@ai-sdk/solid@0.0.41(zod@3.23.8)': dependencies: - '@ai-sdk/provider-utils': 1.0.11(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.31(zod@3.23.8) + '@ai-sdk/provider-utils': 1.0.16(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.38(zod@3.23.8) transitivePeerDependencies: - zod - '@ai-sdk/svelte@0.0.36(svelte@4.2.18)(zod@3.23.8)': + '@ai-sdk/svelte@0.0.43(svelte@4.2.19)(zod@3.23.8)': dependencies: - '@ai-sdk/provider-utils': 1.0.11(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.31(zod@3.23.8) - sswr: 2.1.0(svelte@4.2.18) + '@ai-sdk/provider-utils': 1.0.16(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.38(zod@3.23.8) + sswr: 2.1.0(svelte@4.2.19) optionalDependencies: - svelte: 4.2.18 + svelte: 4.2.19 transitivePeerDependencies: - zod - '@ai-sdk/ui-utils@0.0.31(zod@3.23.8)': + '@ai-sdk/ui-utils@0.0.38(zod@3.23.8)': dependencies: - '@ai-sdk/provider': 0.0.19 - '@ai-sdk/provider-utils': 1.0.11(zod@3.23.8) + '@ai-sdk/provider': 0.0.21 + '@ai-sdk/provider-utils': 1.0.16(zod@3.23.8) json-schema: 0.4.0 secure-json-parse: 2.7.0 - zod-to-json-schema: 3.22.5(zod@3.23.8) + zod-to-json-schema: 3.23.2(zod@3.23.8) optionalDependencies: zod: 3.23.8 - '@ai-sdk/vue@0.0.35(vue@3.4.38(typescript@5.5.4))(zod@3.23.8)': + '@ai-sdk/vue@0.0.43(vue@3.4.38(typescript@5.5.4))(zod@3.23.8)': dependencies: - '@ai-sdk/provider-utils': 1.0.11(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.31(zod@3.23.8) + '@ai-sdk/provider-utils': 1.0.16(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.38(zod@3.23.8) swrv: 1.0.4(vue@3.4.38(typescript@5.5.4)) optionalDependencies: vue: 3.4.38(typescript@5.5.4) @@ -9273,7 +9344,7 @@ snapshots: '@babel/helper-module-imports': 7.22.15 '@babel/helper-plugin-utils': 7.24.8 '@babel/parser': 7.25.3 - '@vue/compiler-sfc': 3.4.35 + '@vue/compiler-sfc': 3.4.38 '@vue/compiler-core@3.4.35': dependencies: @@ -9369,9 +9440,9 @@ snapshots: '@vue/language-core@2.0.29(typescript@5.5.4)': dependencies: '@volar/language-core': 2.4.0-alpha.18 - '@vue/compiler-dom': 3.4.35 + '@vue/compiler-dom': 3.4.38 '@vue/compiler-vue2': 2.7.16 - '@vue/shared': 3.4.35 + '@vue/shared': 3.4.38 computeds: 0.0.1 minimatch: 9.0.5 muggle-string: 0.4.1 @@ -9932,26 +10003,26 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 - ai@3.3.7(react@18.3.1)(sswr@2.1.0(svelte@4.2.18))(svelte@4.2.18)(vue@3.4.38(typescript@5.5.4))(zod@3.23.8): + ai@3.3.17(react@18.3.1)(sswr@2.1.0(svelte@4.2.19))(svelte@4.2.19)(vue@3.4.38(typescript@5.5.4))(zod@3.23.8): dependencies: - '@ai-sdk/provider': 0.0.19 - '@ai-sdk/provider-utils': 1.0.11(zod@3.23.8) - '@ai-sdk/react': 0.0.43(react@18.3.1)(zod@3.23.8) - '@ai-sdk/solid': 0.0.34(zod@3.23.8) - '@ai-sdk/svelte': 0.0.36(svelte@4.2.18)(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.31(zod@3.23.8) - '@ai-sdk/vue': 0.0.35(vue@3.4.38(typescript@5.5.4))(zod@3.23.8) + '@ai-sdk/provider': 0.0.21 + '@ai-sdk/provider-utils': 1.0.16(zod@3.23.8) + '@ai-sdk/react': 0.0.51(react@18.3.1)(zod@3.23.8) + '@ai-sdk/solid': 0.0.41(zod@3.23.8) + '@ai-sdk/svelte': 0.0.43(svelte@4.2.19)(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.38(zod@3.23.8) + '@ai-sdk/vue': 0.0.43(vue@3.4.38(typescript@5.5.4))(zod@3.23.8) '@opentelemetry/api': 1.9.0 eventsource-parser: 1.1.2 json-schema: 0.4.0 jsondiffpatch: 0.6.0 nanoid: 3.3.6 secure-json-parse: 2.7.0 - zod-to-json-schema: 3.22.5(zod@3.23.8) + zod-to-json-schema: 3.23.2(zod@3.23.8) optionalDependencies: react: 18.3.1 - sswr: 2.1.0(svelte@4.2.18) - svelte: 4.2.18 + sswr: 2.1.0(svelte@4.2.19) + svelte: 4.2.19 zod: 3.23.8 transitivePeerDependencies: - solid-js @@ -14104,9 +14175,9 @@ snapshots: sprintf-js@1.1.3: {} - sswr@2.1.0(svelte@4.2.18): + sswr@2.1.0(svelte@4.2.19): dependencies: - svelte: 4.2.18 + svelte: 4.2.19 swrev: 4.0.0 stack-trace@0.0.10: {} @@ -14293,7 +14364,7 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte@4.2.18: + svelte@4.2.19: dependencies: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 @@ -14875,7 +14946,7 @@ snapshots: '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.25.2) '@babel/plugin-transform-typescript': 7.25.2(@babel/core@7.25.2) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.25.2) - '@vue/compiler-dom': 3.4.35 + '@vue/compiler-dom': 3.4.38 kolorist: 1.8.0 magic-string: 0.30.11 vite: 5.4.1(@types/node@20.14.15) @@ -15035,8 +15106,8 @@ snapshots: dependencies: '@babel/parser': 7.25.3 '@babel/types': 7.25.2 - '@vue/compiler-dom': 3.4.35 - '@vue/compiler-sfc': 3.4.35 + '@vue/compiler-dom': 3.4.38 + '@vue/compiler-sfc': 3.4.38 ast-types: 0.16.1 esm-resolve: 1.0.11 hash-sum: 2.0.0 @@ -15232,10 +15303,6 @@ snapshots: yocto-queue@1.1.1: {} - zod-to-json-schema@3.22.5(zod@3.23.8): - dependencies: - zod: 3.23.8 - zod-to-json-schema@3.23.2(zod@3.23.8): dependencies: zod: 3.23.8 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3e712d3..7c13565 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,20 @@ packages: - "apps/*" - - "packages/*" \ No newline at end of file + - "packages/*" +catalog: + "@ark-ui/react": ^3.7.0 + "@ark-ui/vue": ^3.8.0 + "@types/react": ^18.3.3 + "@types/react-dom": ^18.3.0 + "ai": ^3.3.7 + "autoprefixer": ^10.4.20 + "class-variance-authority": ^0.7.0 + "clsx": ^2.1.1 + "react": ^18.3.1 + "react-dom": ^18.3.1 + "tailwind-merge": ^2.5.2 + "tailwindcss": ^3.4.10 + "tailwindcss-animate": ^1.0.7 + "vite": ^5.4.1 + "vue": ^3.4.38 + "zod": ^3.23.8 \ No newline at end of file