feat: @koko/ui 0.1.0 — shadcn new-york-v4 + Light Green tokens + publish guard

This commit is contained in:
2026-10-25 12:40:51 +00:00
commit 4aad3d2dbc
34 changed files with 4222 additions and 0 deletions

42
package.json Normal file
View File

@@ -0,0 +1,42 @@
{
"name": "@koko/ui",
"version": "0.1.0",
"description": "koko workbench shared shadcn/ui components + tokens (base theme: tweakcn Light Green)",
"type": "module",
"license": "UNLICENSED",
"sideEffects": ["**/*.css"],
"files": ["src", "README.md"],
"exports": {
".": "./src/index.ts",
"./styles.css": "./src/styles.css",
"./tokens.css": "./src/tokens.css",
"./components/*": "./src/components/ui/*.tsx",
"./utils": "./src/lib/utils.ts"
},
"scripts": {
"check": "tsc --noEmit -p .",
"prepublishOnly": "node scripts/prepublish-check.mjs"
},
"publishConfig": { "registry": "https://git.colinx.one/api/packages/koko/npm/" },
"peerDependencies": { "react": ">=19", "react-dom": ">=19", "tailwindcss": ">=4" },
"dependencies": {
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"lucide-react": "^0.540.0",
"next-themes": "^0.4.6",
"radix-ui": "^1.4.3",
"react-day-picker": "^9.11.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.3.1",
"tw-animate-css": "^1.4.0"
},
"devDependencies": {
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwindcss": "^4.1.0",
"typescript": "^5.9.0"
}
}