Skip to content

Commit 3c86277

Browse files
committed
chore(demos): track @next for esign and template-builder
- bump superdoc to 1.38.0-next.2 in esign and template-builder - pin the version via overrides so transitive resolutions stay on next - widen renovate followTag:next to include esign and template-builder - drop path filter on deploy workflow so any push to main publishes
1 parent f142fd4 commit 3c86277

7 files changed

Lines changed: 50 additions & 26 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v6
1717
- uses: oven-sh/setup-bun@v2
18-
- run: bun install
18+
- run: bun install --frozen-lockfile
1919
- run: bunx biome check .
2020
- run: bunx tsc --noEmit
2121

@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@v6
3434
- uses: oven-sh/setup-bun@v2
35-
- run: bun install
35+
- run: bun install --frozen-lockfile
3636
- run: bunx vite build
3737

3838
build-rag-web:
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v6
4444
- uses: oven-sh/setup-bun@v2
45-
- run: bun install
45+
- run: bun install --frozen-lockfile
4646
working-directory: rag
4747
- run: bunx vite build
4848
working-directory: rag/apps/web
@@ -61,7 +61,7 @@ jobs:
6161
- name: Build demo
6262
working-directory: ${{ matrix.demo }}
6363
run: |
64-
bun install
64+
bun install --frozen-lockfile
6565
bunx vite build
6666
- name: Install Playwright
6767
working-directory: tests

.github/workflows/deploy-rag.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
workflow_dispatch:
55
push:
66
branches: [main]
7-
paths:
8-
- "rag/**"
9-
- "esign/**"
10-
- "template-builder/**"
11-
- ".github/workflows/deploy-rag.yml"
127

138
env:
149
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
@@ -24,7 +19,7 @@ jobs:
2419
steps:
2520
- uses: actions/checkout@v6
2621
- uses: oven-sh/setup-bun@v2
27-
- run: bun install
22+
- run: bun install --frozen-lockfile
2823
- run: bunx biome check .
2924
- run: bunx tsc --noEmit
3025

@@ -41,7 +36,7 @@ jobs:
4136
with:
4237
node-version: 22
4338
- uses: oven-sh/setup-bun@v2
44-
- run: bun install
39+
- run: bun install --frozen-lockfile
4540
- run: bunx wrangler deploy
4641
working-directory: rag/apps/api
4742

@@ -57,7 +52,7 @@ jobs:
5752
- uses: oven-sh/setup-bun@v2
5853

5954
# Build DocRAG
60-
- run: bun install
55+
- run: bun install --frozen-lockfile
6156
working-directory: rag
6257
- run: bunx vite build
6358
working-directory: rag/apps/web
@@ -66,15 +61,15 @@ jobs:
6661
BASE_PATH: /docrag/
6762

6863
# Build eSign
69-
- run: bun install
64+
- run: bun install --frozen-lockfile
7065
working-directory: esign
7166
- run: bunx vite build
7267
working-directory: esign
7368
env:
7469
BASE_PATH: /esign/
7570

7671
# Build Template Builder
77-
- run: bun install
72+
- run: bun install --frozen-lockfile
7873
working-directory: template-builder
7974
- run: bunx vite build
8075
working-directory: template-builder

esign/bun.lock

Lines changed: 13 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esign/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
"react": "^19.0.0",
1313
"react-dom": "^19.0.0",
1414
"signature_pad": "^5.1.1",
15-
"superdoc": "^1.29.1"
15+
"superdoc": "1.38.0-next.2"
16+
},
17+
"overrides": {
18+
"superdoc": "1.38.0-next.2"
1619
},
1720
"devDependencies": {
1821
"@types/react": "^19.0.0",

renovate.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@
1313
{
1414
"description": "Demos that ship from the @next channel follow the next dist-tag",
1515
"matchPackageNames": ["superdoc", "@superdoc-dev/**"],
16-
"matchFileNames": ["rag/**/package.json"],
17-
"followTag": "next"
16+
"matchFileNames": [
17+
"esign/package.json",
18+
"template-builder/package.json",
19+
"rag/**/package.json"
20+
],
21+
"followTag": "next",
22+
"rangeStrategy": "pin"
1823
}
1924
]
2025
}

template-builder/bun.lock

Lines changed: 13 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

template-builder/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"@superdoc-dev/template-builder": "1.12.0-next.2",
1111
"react": "^19.0.0",
1212
"react-dom": "^19.0.0",
13-
"superdoc": "^1.29.1"
13+
"superdoc": "1.38.0-next.2"
14+
},
15+
"overrides": {
16+
"superdoc": "1.38.0-next.2"
1417
},
1518
"devDependencies": {
1619
"@types/react": "^19.0.0",

0 commit comments

Comments
 (0)