Skip to content

Commit

Permalink
feat: pnpm catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdin committed Aug 26, 2024
1 parent 7eea1fa commit f54836f
Show file tree
Hide file tree
Showing 8 changed files with 237 additions and 161 deletions.
30 changes: 15 additions & 15 deletions apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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:"
}
}
3 changes: 2 additions & 1 deletion apps/www/src/lib/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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",
}),
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]+sha256.46f1bbc8f8020aa9869568c387198f1a813f21fb44c82f400e7d1dbde6c70b40",
"simple-git-hooks": {
Expand Down
1 change: 1 addition & 0 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@ui/tsconfig": "workspace:*"
},
"dependencies": {
"ai": "catalog:",
"@ai-sdk/anthropic": "^0.0.41",
"@ai-sdk/openai": "^0.0.46"
}
Expand Down
30 changes: 15 additions & 15 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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:"
}
}
30 changes: 11 additions & 19 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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:"
}
}
Loading

0 comments on commit f54836f

Please sign in to comment.