created a @workspace/ui package - shared by dashboard and playground. for now it only has button component for testing
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on refactoring the `postcss` and `tailwind` configurations across multiple applications to centralize styles in the `@workspace/ui` package, along with various updates to components and layouts.
### Detailed summary
- Deleted `postcss.config.js` files and replaced them with `postcss.config.mjs` referencing `@workspace/ui`.
- Updated CSS imports to use `@workspace/ui/global.css`.
- Added `tailwindcss` configuration in `@workspace/ui` and updated references.
- Introduced new utility functions in `packages/ui/src/lib/utils.ts`.
- Modified component imports to utilize centralized components from `@workspace/ui`.
- Updated `package.json` files to include `@workspace/ui` as a dependency.
- Refactored button components to use a centralized button definition in `@workspace/ui`.
- Adjusted TypeScript configurations to align with the new structure.
- Enhanced global styles and configurations across multiple applications to ensure consistency.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- New Features
- Added a shared UI package and unified Button component used across apps.
- Style
- Apps now load shared global styles and animations from the UI package; global CSS and theme tokens consolidated.
- Bug Fixes
- AI chat header uses a safe fallback when the client ID is missing.
- Refactor
- Replaced local UI implementations with shared re-exports and composed Tailwind configs.
- Chores
- Added UI package dependencies, PostCSS delegation, and enabled Next.js transpilation for the UI package; lint/scan ignore lists updated.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
133 lines
4.3 KiB
JSON
133 lines
4.3 KiB
JSON
{
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.9.1",
|
|
"@marsidev/react-turnstile": "^1.1.0",
|
|
"@radix-ui/react-accordion": "^1.2.11",
|
|
"@radix-ui/react-alert-dialog": "^1.1.14",
|
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
"@radix-ui/react-checkbox": "^1.3.2",
|
|
"@radix-ui/react-collapsible": "^1.1.11",
|
|
"@radix-ui/react-dialog": "1.1.14",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
"@radix-ui/react-hover-card": "^1.1.14",
|
|
"@radix-ui/react-label": "^2.1.7",
|
|
"@radix-ui/react-popover": "^1.1.14",
|
|
"@radix-ui/react-progress": "^1.1.7",
|
|
"@radix-ui/react-radio-group": "^1.3.7",
|
|
"@radix-ui/react-select": "^2.2.5",
|
|
"@radix-ui/react-separator": "^1.1.7",
|
|
"@radix-ui/react-slot": "^1.2.3",
|
|
"@radix-ui/react-switch": "^1.2.5",
|
|
"@radix-ui/react-tooltip": "1.2.7",
|
|
"@scalar/api-reference-react": "0.7.25",
|
|
"@sentry/nextjs": "9.34.0",
|
|
"@shazow/whatsabi": "0.22.2",
|
|
"@tanstack/react-query": "5.81.5",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"@thirdweb-dev/service-utils": "workspace:*",
|
|
"@thirdweb-dev/vault-sdk": "workspace:*",
|
|
"@vercel/functions": "2.2.2",
|
|
"@vercel/og": "^0.6.8",
|
|
"@workspace/ui": "workspace:*",
|
|
"abitype": "1.0.8",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"compare-versions": "^6.1.0",
|
|
"date-fns": "4.1.0",
|
|
"fast-xml-parser": "^5.2.5",
|
|
"fuse.js": "7.1.0",
|
|
"input-otp": "^1.4.1",
|
|
"ioredis": "^5.6.1",
|
|
"ipaddr.js": "^2.2.0",
|
|
"lucide-react": "0.525.0",
|
|
"next": "15.3.5",
|
|
"next-themes": "^0.4.6",
|
|
"nextjs-toploader": "^1.6.12",
|
|
"nuqs": "^2.4.3",
|
|
"papaparse": "^5.5.3",
|
|
"pluralize": "^8.0.0",
|
|
"posthog-js": "1.256.1",
|
|
"posthog-node": "^5.4.0",
|
|
"prettier": "3.6.2",
|
|
"react": "19.1.0",
|
|
"react-children-utilities": "^2.10.0",
|
|
"react-day-picker": "^8.10.1",
|
|
"react-dom": "19.1.0",
|
|
"react-dropzone": "^14.3.8",
|
|
"react-error-boundary": "6.0.0",
|
|
"react-hook-form": "7.55.0",
|
|
"react-markdown": "10.1.0",
|
|
"react-table": "^7.8.0",
|
|
"recharts": "2.15.3",
|
|
"remark-gfm": "4.0.1",
|
|
"responsive-rsc": "0.0.7",
|
|
"server-only": "^0.0.1",
|
|
"shiki": "1.27.0",
|
|
"sonner": "2.0.6",
|
|
"spdx-correct": "^3.2.0",
|
|
"stripe": "17.7.0",
|
|
"swagger-ui-react": "^5.24.1",
|
|
"tailwind-merge": "^2.6.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"thirdweb": "workspace:*",
|
|
"tiny-invariant": "^1.3.3",
|
|
"use-debounce": "^10.0.5",
|
|
"vaul": "^1.1.2",
|
|
"zod": "3.25.75"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.0.6",
|
|
"@chromatic-com/storybook": "4.0.1",
|
|
"@next/bundle-analyzer": "15.3.5",
|
|
"@next/eslint-plugin-next": "15.3.5",
|
|
"@playwright/test": "1.53.2",
|
|
"@storybook/addon-docs": "9.0.15",
|
|
"@storybook/addon-links": "9.0.15",
|
|
"@storybook/addon-onboarding": "9.0.15",
|
|
"@storybook/nextjs": "9.0.15",
|
|
"@types/color": "4.2.0",
|
|
"@types/node": "22.14.1",
|
|
"@types/papaparse": "^5.3.16",
|
|
"@types/pluralize": "^0.0.33",
|
|
"@types/react": "19.1.8",
|
|
"@types/react-dom": "19.1.6",
|
|
"@types/react-table": "^7.7.20",
|
|
"@types/spdx-correct": "^3.1.3",
|
|
"@types/swagger-ui-react": "^5.18.0",
|
|
"@typescript-eslint/eslint-plugin": "7.14.1",
|
|
"@typescript-eslint/parser": "7.14.1",
|
|
"autoprefixer": "^10.4.21",
|
|
"checkly": "6.0.1",
|
|
"eslint": "8.57.0",
|
|
"eslint-config-biome": "1.9.4",
|
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
"eslint-plugin-storybook": "9.0.15",
|
|
"knip": "5.60.2",
|
|
"next-sitemap": "^4.2.3",
|
|
"postcss": "8.5.6",
|
|
"storybook": "9.0.15",
|
|
"tailwindcss": "3.4.17",
|
|
"typescript": "5.8.3"
|
|
},
|
|
"name": "thirdweb-dashboard",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "NODE_OPTIONS=--max-old-space-size=6144 next build",
|
|
"build-storybook": "storybook build",
|
|
"build:analyze": "ANALYZE=true pnpm run build",
|
|
"dev": "next dev --turbopack",
|
|
"fix": "biome check ./src --fix && eslint ./src --fix",
|
|
"format": "biome format ./src --write",
|
|
"knip": "knip",
|
|
"lint": "biome check ./src && knip && eslint ./src",
|
|
"playwright": "playwright test",
|
|
"postbuild": "next-sitemap",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"start": "next start",
|
|
"storybook": "storybook dev -p 6006",
|
|
"typecheck": "tsc --noEmit",
|
|
"update-checkly": "npx checkly deploy"
|
|
},
|
|
"version": "3.0.0"
|
|
}
|