Skip to content

Commit 676d7d4

Browse files
authored
Merge pull request #14 from sadmann7/build-packages
chore: build packages
2 parents 09b04eb + 732b7ce commit 676d7d4

File tree

8 files changed

+1311
-1915
lines changed

8 files changed

+1311
-1915
lines changed

.changeset/smart-apples-appear.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@diceui/checkbox-group": minor
3+
"@diceui/combobox": minor
4+
"@diceui/mention": minor
5+
"@diceui/shared": minor
6+
"@diceui/tags-input": minor
7+
---
8+
9+
Bump slot

.github/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ runs:
1313
version: 9.15.4
1414

1515
- run: pnpm install
16-
shell: bash
16+
shell: bash

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ jobs:
8181
version: 9.15.4
8282
- uses: ./.github/setup
8383

84-
- run: pnpm turbo typecheck
84+
- run: pnpm turbo typecheck

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
- name: Build
3737
run: pnpm turbo build
3838

39-
# - name: Create Release
40-
# id: changesets
41-
# uses: changesets/action@v1.4.1
42-
# with:
43-
# commit: "chore(release): version packages"
44-
# title: "chore(release): version packages"
45-
# publish: pnpm changeset publish
46-
# env:
47-
# GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
48-
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
- name: Create Release
40+
id: changesets
41+
uses: changesets/action@v1.4.1
42+
with:
43+
commit: "chore(release): version packages"
44+
title: "chore(release): version packages"
45+
publish: pnpm changeset publish
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

docs/package.json

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
"scripts": {
66
"build": "next build",
77
"build:registry": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts",
8+
"build:packages": "pnpm --filter \"@diceui/*\" build",
89
"dev": "next dev -p 3001",
9-
"postinstall": "fumadocs-mdx",
10+
"postinstall": "pnpm build:packages && fumadocs-mdx",
1011
"start": "next start",
1112
"lint": "biome check .",
1213
"lint:fix": "biome check . --write",
@@ -21,60 +22,60 @@
2122
"@dnd-kit/modifiers": "^9.0.0",
2223
"@dnd-kit/sortable": "^10.0.0",
2324
"@dnd-kit/utilities": "^3.2.2",
24-
"@hookform/resolvers": "^3.9.1",
25+
"@hookform/resolvers": "^3.10.0",
2526
"@radix-ui/react-checkbox": "^1.1.3",
2627
"@radix-ui/react-collapsible": "^1.1.2",
27-
"@radix-ui/react-dialog": "^1.1.4",
28-
"@radix-ui/react-dropdown-menu": "^2.1.3",
28+
"@radix-ui/react-dialog": "^1.1.5",
29+
"@radix-ui/react-dropdown-menu": "^2.1.5",
2930
"@radix-ui/react-label": "^2.1.1",
30-
"@radix-ui/react-popover": "^1.1.4",
31+
"@radix-ui/react-popover": "^1.1.5",
3132
"@radix-ui/react-radio-group": "^1.2.2",
3233
"@radix-ui/react-scroll-area": "^1.2.2",
33-
"@radix-ui/react-select": "^2.1.3",
34+
"@radix-ui/react-select": "^2.1.5",
3435
"@radix-ui/react-slot": "^1.1.1",
3536
"@radix-ui/react-tabs": "^1.1.2",
36-
"@radix-ui/react-tooltip": "^1.1.5",
37-
"@tanstack/react-virtual": "^3.11.2",
37+
"@radix-ui/react-tooltip": "^1.1.7",
38+
"@tanstack/react-virtual": "^3.11.3",
3839
"class-variance-authority": "^0.7.1",
3940
"clsx": "^2.1.1",
40-
"cmdk": "1.0.0",
41-
"fumadocs-core": "^14.6.0",
42-
"fumadocs-docgen": "^1.3.2",
43-
"fumadocs-mdx": "^11.1.2",
44-
"fumadocs-typescript": "^3.0.2",
41+
"cmdk": "1.0.4",
42+
"fumadocs-core": "^15.0.0",
43+
"fumadocs-docgen": "^1.3.5",
44+
"fumadocs-mdx": "^11.3.2",
45+
"fumadocs-typescript": "^3.0.3",
4546
"fumadocs-ui": "^14.6.0",
4647
"geist": "^1.3.1",
47-
"jotai": "^2.10.3",
48-
"lucide-react": "^0.468.0",
48+
"jotai": "^2.11.1",
49+
"lucide-react": "^0.474.0",
4950
"match-sorter": "^8.0.0",
50-
"motion": "^11.14.3",
51-
"next": "^15.1.0",
51+
"motion": "^12.0.6",
52+
"next": "^15.1.6",
5253
"next-themes": "^0.4.4",
5354
"react": "^19.0.0",
5455
"react-dom": "^19.0.0",
55-
"react-hook-form": "^7.54.1",
56-
"sonner": "^1.7.1",
57-
"tailwind-merge": "^2.5.5",
56+
"react-hook-form": "^7.54.2",
57+
"sonner": "^1.7.3",
58+
"tailwind-merge": "^3.0.1",
5859
"tailwindcss-animate": "^1.0.7",
5960
"zod": "^3.24.1"
6061
},
6162
"devDependencies": {
62-
"@shikijs/compat": "^1.24.2",
63+
"@shikijs/compat": "^2.2.0",
6364
"@types/mdx": "^2.0.13",
64-
"@types/react": "^19.0.1",
65-
"@types/react-dom": "^19.0.2",
65+
"@types/react": "^19.0.8",
66+
"@types/react-dom": "^19.0.3",
6667
"autoprefixer": "^10.4.20",
67-
"postcss": "^8.4.49",
68-
"react-scan": "^0.0.54",
68+
"postcss": "^8.5.1",
69+
"react-scan": "^0.1.1",
6970
"rehype-pretty-code": "^0.14.0",
7071
"rehype-slug": "^6.0.0",
7172
"remark-code-import": "^1.2.0",
7273
"remark-math": "^6.0.0",
73-
"shiki": "^1.24.2",
74+
"shiki": "^2.2.0",
7475
"tailwindcss": "^3.4.16",
75-
"ts-morph": "^24.0.0",
76+
"ts-morph": "^25.0.0",
7677
"tsx": "^4.19.2",
77-
"typescript": "^5.7.2",
78+
"typescript": "^5.7.3",
7879
"unist-builder": "^4.0.0",
7980
"unist-util-visit": "^5.0.0"
8081
}

docs/tailwind.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { createPreset } from "fumadocs-ui/tailwind-plugin";
21
import type { Config } from "tailwindcss";
2+
import { createPreset } from "fumadocs-ui/tailwind-plugin";
33
import { fontFamily } from "tailwindcss/defaultTheme";
44

55
export default {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"dev": "turbo run dev",
1010
"build": "turbo run build",
1111
"build:registry": "pnpm --filter=docs build:registry --loglevel silent",
12+
"build:packages": "pnpm --filter \"@diceui/*\" build",
1213
"lint": "biome check .",
1314
"lint:fix": "biome check . --write",
1415
"typecheck": "turbo typecheck",

0 commit comments

Comments
 (0)