feat: add package-first release flow

This commit is contained in:
2026-03-20 15:10:46 +08:00
parent 3600f3fcd9
commit e13a60369d
16 changed files with 764 additions and 191 deletions
+13 -3
View File
@@ -1,13 +1,20 @@
{
"name": "@ai-ui/tokens",
"version": "0.0.0",
"private": true,
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": [
"**/*.css"
],
"exports": {
".": "./src/index.ts",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./base.css": "./src/base.css",
"./motion.css": "./src/motion.css",
"./styles.css": "./src/styles.css",
@@ -17,8 +24,11 @@
"dist",
"src"
],
"publishConfig": {
"access": "restricted"
},
"scripts": {
"build": "tsup src/index.ts --clean --dts --format esm --out-dir dist",
"build": "tsup src/index.ts --clean --dts --format esm,cjs --out-dir dist",
"typecheck": "tsc --noEmit -p tsconfig.json"
}
}