Skip to content

Commit 4416209

Browse files
authored
chore: changesets and workflows (#635)
1 parent 8156a27 commit 4416209

File tree

5 files changed

+56
-3
lines changed

5 files changed

+56
-3
lines changed

.changeset/all-files-film.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"jsrepo": patch
3+
---
4+
5+
v3 initial beta release
6+

.changeset/wacky-suns-go.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@jsrepo/transform-prettier": patch
3+
"@jsrepo/transform-biome": patch
4+
"@jsrepo/shadcn": patch
5+
"@jsrepo/mcp": patch
6+
---
7+
8+
initial beta release
9+

.github/workflows/publish.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches:
6+
- next
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
release:
12+
name: Build & Publish Release
13+
if: github.repository == 'jsrepojs/jsrepo'
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: pnpm/action-setup@v4
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: "22"
22+
cache: pnpm
23+
24+
- name: Install dependencies
25+
run: pnpm install
26+
27+
- name: Create Release Pull Request or Publish
28+
id: changesets
29+
uses: changesets/action@v1
30+
with:
31+
commit: "chore(release): version package"
32+
title: "chore(release): version package"
33+
version: pnpm changeset:version
34+
publish: pnpm ci:release
35+
env:
36+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
NODE_ENV: production

apps/docs/src/components/feature-tabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function FeatureTabsTrigger({
120120
<div
121121
data-state={activeTab === value ? "active" : "inactive"}
122122
className={cn(
123-
"hidden md:block border-border group bg-card px-6 [--radix-accordion-content-height:137px] duration-300",
123+
"hidden md:block border-border group bg-fd-card px-6 [--radix-accordion-content-height:137px] duration-300",
124124
"h-0 data-[state=inactive]:py-0 data-[state=active]:py-4 data-[state=inactive]:h-0 data-[state=active]:h-[137px] data-[state=inactive]:animate-accordion-up data-[state=active]:animate-accordion-down"
125125
)}
126126
>
@@ -140,7 +140,7 @@ function FeatureTabsContent({
140140
return activeTab !== value ? (
141141
<></>
142142
) : (
143-
<div className={cn("border border-t-0 md:border-l-0 md:border-y-0 w-full bg-card", className)} {...props}>
143+
<div className={cn("border border-t-0 md:border-l-0 md:border-y-0 w-full bg-fd-card", className)} {...props}>
144144
{children}
145145
</div>
146146
);

apps/docs/src/components/ui/terminal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export const Terminal = ({
229229
data-slot="terminal"
230230
ref={containerRef}
231231
className={cn(
232-
"border-border bg-card z-0 h-full max-h-[400px] w-full max-w-lg rounded-xl border",
232+
"border-border bg-fd-card z-0 h-full max-h-[400px] w-full max-w-lg rounded-xl border",
233233
className
234234
)}
235235
>

0 commit comments

Comments
 (0)