mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-02-09 02:49:29 +08:00
deps(shadcn): bump all dependencies (#8004)
* deps(shadcn): bump all dependencies * chore: pin deps for fumadocs
This commit is contained in:
5
.changeset/bumpy-gifts-relate.md
Normal file
5
.changeset/bumpy-gifts-relate.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"shadcn": major
|
||||
---
|
||||
|
||||
bump all dependencies
|
||||
@@ -65,10 +65,10 @@
|
||||
"date-fns": "^4.1.0",
|
||||
"embla-carousel-autoplay": "8.5.2",
|
||||
"embla-carousel-react": "8.5.2",
|
||||
"fumadocs-core": "^15.3.1",
|
||||
"fumadocs-docgen": "^2.0.0",
|
||||
"fumadocs-mdx": "^11.6.3",
|
||||
"fumadocs-ui": "^15.3.1",
|
||||
"fumadocs-core": "15.3.1",
|
||||
"fumadocs-docgen": "2.0.0",
|
||||
"fumadocs-mdx": "11.6.3",
|
||||
"fumadocs-ui": "15.3.1",
|
||||
"input-otp": "^1.4.2",
|
||||
"jotai": "^2.1.0",
|
||||
"little-date": "^1.0.0",
|
||||
|
||||
@@ -33,7 +33,6 @@ export default defineConfig({
|
||||
export const docs = defineDocs({
|
||||
dir: "content/docs",
|
||||
docs: {
|
||||
// @ts-expect-error - TODO: fix the type.
|
||||
schema: frontmatterSchema.extend({
|
||||
links: z
|
||||
.object({
|
||||
|
||||
@@ -63,43 +63,42 @@
|
||||
"test:dev": "REGISTRY_URL=http://localhost:4000/r vitest run"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/ni": "^23.2.0",
|
||||
"@babel/core": "^7.22.1",
|
||||
"@babel/parser": "^7.22.6",
|
||||
"@babel/plugin-transform-typescript": "^7.22.5",
|
||||
"@antfu/ni": "^25.0.0",
|
||||
"@babel/core": "^7.28.0",
|
||||
"@babel/parser": "^7.28.0",
|
||||
"@babel/plugin-transform-typescript": "^7.28.0",
|
||||
"@dotenvx/dotenvx": "^1.48.4",
|
||||
"@modelcontextprotocol/sdk": "^1.10.2",
|
||||
"commander": "^10.0.0",
|
||||
"cosmiconfig": "^8.1.3",
|
||||
"@modelcontextprotocol/sdk": "^1.17.2",
|
||||
"commander": "^14.0.0",
|
||||
"cosmiconfig": "^9.0.0",
|
||||
"deepmerge": "^4.3.1",
|
||||
"diff": "^5.1.0",
|
||||
"execa": "^7.0.0",
|
||||
"fast-glob": "^3.3.2",
|
||||
"fs-extra": "^11.1.0",
|
||||
"diff": "^8.0.2",
|
||||
"execa": "^9.6.0",
|
||||
"fast-glob": "^3.3.3",
|
||||
"fs-extra": "^11.3.1",
|
||||
"fuzzysort": "^3.1.0",
|
||||
"https-proxy-agent": "^6.2.0",
|
||||
"https-proxy-agent": "^7.0.6",
|
||||
"kleur": "^4.1.5",
|
||||
"msw": "^2.7.1",
|
||||
"node-fetch": "^3.3.0",
|
||||
"ora": "^6.1.2",
|
||||
"postcss": "^8.4.24",
|
||||
"msw": "^2.10.4",
|
||||
"node-fetch": "^3.3.2",
|
||||
"ora": "^8.2.0",
|
||||
"postcss": "^8.5.6",
|
||||
"prompts": "^2.4.2",
|
||||
"recast": "^0.23.2",
|
||||
"recast": "^0.23.11",
|
||||
"stringify-object": "^5.0.0",
|
||||
"ts-morph": "^18.0.0",
|
||||
"ts-morph": "^26.0.0",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"zod": "^3.20.2",
|
||||
"zod-to-json-schema": "^3.24.5"
|
||||
"zod": "^3.24.1",
|
||||
"zod-to-json-schema": "^3.24.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/babel__core": "^7.20.1",
|
||||
"@types/diff": "^5.0.3",
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"@types/prompts": "^2.4.2",
|
||||
"@types/babel__core": "^7.20.5",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"@types/stringify-object": "^4.0.5",
|
||||
"rimraf": "^6.0.1",
|
||||
"tsup": "^6.6.3",
|
||||
"type-fest": "^3.8.0",
|
||||
"typescript": "^4.9.3"
|
||||
"tsup": "^8.5.0",
|
||||
"type-fest": "^4.41.0",
|
||||
"typescript": "^5.9.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ export const transformTwPrefixes: Transformer = async ({
|
||||
|
||||
// Find all jsx attributes with the name className.
|
||||
sourceFile.getDescendantsOfKind(SyntaxKind.JsxAttribute).forEach((node) => {
|
||||
if (node.getName() === "className") {
|
||||
if (node.getNameNode().getText() === "className") {
|
||||
// className="..."
|
||||
if (node.getInitializer()?.isKind(SyntaxKind.StringLiteral)) {
|
||||
const value = node.getInitializer()
|
||||
@@ -122,7 +122,7 @@ export const transformTwPrefixes: Transformer = async ({
|
||||
}
|
||||
|
||||
// classNames={...}
|
||||
if (node.getName() === "classNames") {
|
||||
if (node.getNameNode().getText() === "classNames") {
|
||||
if (node.getInitializer()?.isKind(SyntaxKind.JsxExpression)) {
|
||||
node
|
||||
.getDescendantsOfKind(SyntaxKind.PropertyAssignment)
|
||||
@@ -162,7 +162,7 @@ export const transformTwPrefixes: Transformer = async ({
|
||||
}
|
||||
|
||||
if (node.getInitializer()?.isKind(SyntaxKind.StringLiteral)) {
|
||||
if (node.getName() !== "variant") {
|
||||
if (node.getNameNode().getText() !== "variant") {
|
||||
const classNames = node.getInitializer()
|
||||
if (classNames) {
|
||||
classNames.replaceWithText(
|
||||
|
||||
8437
pnpm-lock.yaml
generated
8437
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user