mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-02-09 02:49:29 +08:00
fix
This commit is contained in:
@@ -51,13 +51,13 @@
|
||||
"@ianvs/prettier-plugin-sort-imports": "^3.7.2",
|
||||
"@manypkg/cli": "^0.20.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
||||
"@typescript-eslint/parser": "^5.59.7",
|
||||
"@typescript-eslint/parser": "^8.49.0",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"chokidar": "^4.0.3",
|
||||
"concurrently": "^8.0.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^9.26.0",
|
||||
"eslint-config-next": "13.3.0",
|
||||
"eslint-config-next": "^15.0.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-config-turbo": "^1.9.9",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
|
||||
@@ -129,7 +129,7 @@ describe("shadcn init - vite-app", () => {
|
||||
"utf-8"
|
||||
)
|
||||
expect(alertDialogContent).toContain(
|
||||
'import { buttonVariants } from "#custom/components/ui/button"'
|
||||
'import { Button } from "#custom/components/ui/button"'
|
||||
)
|
||||
expect(alertDialogContent).toContain(
|
||||
'import { cn } from "#custom/lib/utils"'
|
||||
|
||||
@@ -182,7 +182,6 @@ describe("shadcn view", () => {
|
||||
expect(parsed[0]).toMatchObject({
|
||||
name: "button",
|
||||
type: "registry:ui",
|
||||
dependencies: ["@radix-ui/react-slot"],
|
||||
files: expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
path: "registry/new-york-v4/ui/button.tsx",
|
||||
@@ -209,7 +208,6 @@ describe("shadcn view", () => {
|
||||
{
|
||||
name: "alert-dialog",
|
||||
type: "registry:ui",
|
||||
dependencies: ["@radix-ui/react-alert-dialog"],
|
||||
registryDependencies: ["button"],
|
||||
files: expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
|
||||
607
pnpm-lock.yaml
generated
607
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user