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 -->
22 lines
510 B
JSON
22 lines
510 B
JSON
{
|
|
"$schema": "https://unpkg.com/knip@5/schema.json",
|
|
"ignore": [
|
|
"src/@/components/ui/**",
|
|
"src/@/components/misc/AnnouncementBanner.tsx",
|
|
"src/@/components/cmd-k-search/index.tsx",
|
|
"src/@/lib/search.ts"
|
|
],
|
|
"ignoreBinaries": ["only-allow"],
|
|
"ignoreDependencies": [
|
|
"@thirdweb-dev/service-utils",
|
|
"@thirdweb-dev/vault-sdk",
|
|
"thirdweb",
|
|
"@types/color",
|
|
"fast-xml-parser",
|
|
"@workspace/ui",
|
|
"tailwindcss-animate"
|
|
],
|
|
"next": true,
|
|
"project": ["src/**"]
|
|
}
|