Files
ui/package.json
zeekay 11b02e8dcb feat: sync with upstream shadcn/ui (through [email protected])
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in:
- [email protected] through [email protected] releases
- New apps/v4 directory structure
- Registry system improvements and MCP server
- Framework support (Vue, Svelte, React Native)
- New templates (vite-app, monorepo-next, laravel)
- Zod 4 compatibility (scoped override for zod@>4)
- Test fixture corrections for alias resolution

All 867 merge conflicts resolved preserving Hanzo customizations.
1020/1020 shadcn tests pass.
2026-02-09 10:44:26 -08:00

173 lines
6.1 KiB
JSON

{
"name": "ui",
"version": "0.0.1",
"private": true,
"license": "MIT",
"type": "module",
"author": {
"name": "hanzo",
"url": "https://x.com/hanzoai"
},
"workspaces": [
"app",
"apps/*",
"packages/*",
"pkg/*"
],
"scripts": {
"build": "turbo run build",
"build:cli": "turbo --filter=hanzo build",
"build:registry": "pnpm --filter=app build:registry && pnpm --filter=app lint:fix && pnpm format:write -- --loglevel silent",
"registry:build": "pnpm --filter=app registry:build && pnpm lint:fix && pnpm format:write -- --loglevel silent",
"registry": "turbo run registry",
"registry:capture": "pnpm --filter=app registry:capture",
"examples:build": "pnpm --filter=v4 examples:build",
"dev": "turbo run dev --parallel",
"hanzo-ui:dev": "turbo --filter=hanzo-ui dev",
"hanzo-ui": "pnpm --filter=hanzo-ui start:dev",
"hanzo-ui:test": "pnpm --filter=hanzo-ui test",
"cli:dev": "turbo --filter=hanzo-ui dev",
"cli:start": "pnpm --filter=hanzo-ui start:dev",
"cli:build": "pnpm --filter=hanzo-ui build",
"hanzo:dev": "turbo --filter=hanzo dev",
"hanzo": "pnpm --filter=hanzo start:dev",
"hanzo:prod": "pnpm --filter=hanzo start:prod",
"hanzo:build": "pnpm --filter=hanzo build",
"hanzo:test": "pnpm --filter=hanzo test",
"shadcn:dev": "turbo --filter=shadcn dev",
"shadcn": "pnpm --filter=shadcn start:dev",
"shadcn:prod": "pnpm --filter=shadcn start:prod",
"shadcn:build": "pnpm --filter=shadcn build",
"shadcn:test": "pnpm --filter=shadcn test",
"docs:build": "pnpm --filter=www build:docs",
"www:dev": "pnpm --filter=www dev",
"www:build": "pnpm --filter=www build",
"v4:dev": "pnpm --filter=v4 dev",
"v4:build": "pnpm --filter=v4 build",
"lint": "turbo run lint",
"lint:fix": "turbo run lint:fix",
"preview": "turbo run preview",
"typecheck": "turbo run typecheck",
"format:write": "turbo run format:write",
"format:check": "turbo run format:check",
"sync:templates": "./scripts/sync-templates.sh \"templates/*\"",
"check": "turbo lint typecheck format:check",
"release": "changeset version",
"pub:beta": "cd packages/hanzo && pnpm pub:beta",
"pub:release": "cd packages/hanzo && pnpm pub:release",
"test:dev": "turbo run test --filter=!hanzo-ui --force",
"test": "start-server-and-test v4:dev http://localhost:4000 test:dev",
"validate:registries": "pnpm --filter=v4 validate:registries",
"test:apps": "pnpm --filter=v4 test:apps",
"health-check": "tsx tests/component-health-check.ts",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:visual": "playwright test tests/visual/",
"crawl": "tsx scrapers/example-usage.ts",
"crawl:hanzo": "tsx scrapers/example-usage.ts hanzo",
"crawl:mui": "tsx scrapers/example-usage.ts mui",
"crawl:antd": "tsx scrapers/example-usage.ts antd",
"crawl:test": "playwright test scrapers/playwright-crawler.test.ts"
},
"packageManager": "[email protected]",
"dependencies": {
"@babel/core": "^7.22.1",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.29.7",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^17.6.3",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@manypkg/cli": "^0.20.0",
"@tanstack/react-table": "^8.21.3",
"@typescript-eslint/parser": "^5.59.7",
"autoprefixer": "^10.4.14",
"chrono-node": "^2.9.0",
"eslint": "^8.41.0",
"eslint-config-next": "16.0.1",
"eslint-config-prettier": "^8.8.0",
"eslint-config-turbo": "^1.9.9",
"eslint-plugin-react": "^7.32.2",
"little-date": "^1.0.0",
"motion": "^12.12.1",
"postcss": "^8.4.24",
"puppeteer": "^23.6.0",
"recharts": "^3.3.0",
"tailwindcss-animate": "^1.0.5",
"tsx": "^4.20.6",
"vite-tsconfig-paths": "^4.2.0"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
"@playwright/test": "^1.56.1",
"@tailwindcss/oxide": "^4.1.16",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/hast": "^3.0.4",
"@types/node": "^22.12.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.0.4",
"@vitest/coverage-v8": "4.0.6",
"@vitest/ui": "^4.0.6",
"chalk": "^5.6.2",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"eslint-plugin-tailwindcss": "3.18.2",
"happy-dom": "^19.0.2",
"jest-axe": "^10.0.0",
"jsdom": "^27.0.0",
"lucide-react": "0.456.0",
"playwright": "^1.56.1",
"prettier": "^3.6.2",
"pretty-quick": "^4.2.2",
"react": "19.2.0",
"react-dom": "19.2.0",
"start-server-and-test": "^2.1.2",
"tailwindcss": "4.1.16",
"tsup": "^8.5.0",
"turbo": "^2.6.0",
"typescript": "^5.9.3",
"vite": "^7.2.0",
"vitest": "^4.0.6",
"vitest-axe": "^0.1.0"
},
"pnpm": {
"overrides": {
"got@<11.8.5": ">=11.8.5",
"axios@>=0.8.1 <0.28.0": ">=0.28.0",
"next@>=14.0.0 <14.2.21": ">=14.2.21",
"undici@>=6.0.0 <6.21.1": ">=6.21.1",
"esbuild@<=0.24.2": ">=0.25.0",
"axios@<0.30.0": ">=0.30.0",
"undici@>=6.0.0 <6.21.2": ">=6.21.2",
"cross-spawn@<6.0.6": ">=6.0.6",
"next@>=13.0 <14.2.30": ">=14.2.30",
"prismjs@<1.30.0": ">=1.30.0",
"next@>=0.9.9 <14.2.31": ">=14.2.31",
"next@>=0.9.9 <14.2.32": ">=14.2.32",
"axios@<0.30.2": ">=0.30.2",
"next@>=0.9.9 <14.2.24": ">=14.2.24",
"happy-dom@<20.0.0": ">=20.0.0",
"next@>=14.0.0 <14.2.25": ">=14.2.25",
"happy-dom@<20.0.2": ">=20.0.2",
"vite@>=5.2.6 <=5.4.20": ">=5.4.21",
"vite@>=7.1.0 <=7.1.10": ">=7.1.11",
"validator@<13.15.20": ">=13.15.20",
"tar@=7.5.1": ">=7.5.2",
"zod@>4": "4.1.12",
"@hookform/resolvers": "^3.9.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2"
},
"public-hoist-pattern": [
"zod",
"@hookform/resolvers"
]
}
}