File tree Expand file tree Collapse file tree 6 files changed +49
-9
lines changed
Expand file tree Collapse file tree 6 files changed +49
-9
lines changed Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ version :
8+ timeout-minutes : 15
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout code repository
12+ uses : actions/checkout@v4
13+
14+ - name : Setup pnpm
15+ uses : pnpm/action-setup@v4
16+
17+ - name : Setup node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : 22
21+ cache : pnpm
22+
23+ - name : Install dependencies
24+ run : pnpm install
25+
26+ - name : Build dist
27+ run : pnpm build
28+
29+ - name : Create and publish versions
30+ uses : changesets/action@v1
31+ with :
32+ commit : ' chore: update versions'
33+ title : ' chore: update versions'
34+ publish : pnpm ci:publish
35+ env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37+ NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change 1717 "scripts" : {
1818 "build:docs" : " pnpm --filter @aibetter/ui-docs generate" ,
1919 "build" : " pnpm --filter \" ./packages/**\" build" ,
20+ "postbuild" : " eslint --fix ./packages/theme/src/css/theme.css" ,
2021 "lint" : " eslint ." ,
2122 "lint:fix" : " eslint . --fix" ,
2223 "bump" : " changeset" ,
2324 "release" : " changeset version" ,
24- "prepare" : " husky && aib sync"
25+ "prepare" : " husky && aib sync" ,
26+ "ci:publish" : " pnpm publish -r --access=public"
2527 },
2628 "devDependencies" : {
2729 "@aibetter/aib" : " ^0.1.3" ,
Original file line number Diff line number Diff line change 22 "name" : " @aibetter/ui-theme" ,
33 "type" : " module" ,
44 "version" : " 0.0.0" ,
5+ "private" : false ,
56 "packageManager" : " pnpm@10.13.1" ,
67 "description" : " The theme of the UI component library specially adapted for AI programming." ,
78 "author" : " litingyes" ,
1516 " color"
1617 ],
1718 "exports" : {
18- "." : {
19- "style" : " ./src/css/index.css"
20- }
19+ "." : " ./src/css/index.css" ,
20+ "./theme.css" : " ./src/css/theme.css"
2121 },
2222 "scripts" : {
23- "build:css " : " jiti scripts/build.ts && eslint --fix ./src/css/theme.css "
23+ "build" : " jiti scripts/build.ts"
2424 },
2525 "peerDependencies" : {
2626 "tailwindcss" : " catalog:"
Original file line number Diff line number Diff line change 105105
106106 --color-background : # fff ;
107107 --color-foreground : # 000 ;
108- --color-foreground-reverse : # fff ;
109108
110109 --color-text-primary : # 000 ;
111110 --color-text-secondary : oklch (21% 0.034 264.665 );
Original file line number Diff line number Diff line change @@ -33,5 +33,3 @@ export function resolveThemeOptions(options?: Partial<ThemeOptions>) {
3333
3434 return resolvedOptions
3535}
36-
37- // export function
Original file line number Diff line number Diff line change 11{
22 "name" : " @aibetter/ui-vue" ,
33 "type" : " module" ,
4- "version" : " 0.0.0" ,
4+ "version" : " 0.1.0" ,
5+ "private" : false ,
56 "packageManager" : " pnpm@10.13.1" ,
67 "description" : " The vue components of the UI component library specially adapted for AI programming." ,
78 "author" : " litingyes" ,
2223 "main" : " ./dist/index.js" ,
2324 "module" : " ./dist/index.js" ,
2425 "types" : " ./dist/index.d.ts" ,
26+ "files" : [
27+ " dist"
28+ ],
2529 "scripts" : {
2630 "dev" : " vite build --watch" ,
2731 "build" : " vite build"
You can’t perform that action at this time.
0 commit comments