Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit 19444c5

Browse files
chore: promote main to stable
2 parents 3f8abd2 + a64e8b8 commit 19444c5

File tree

12 files changed

+1471
-989
lines changed

12 files changed

+1471
-989
lines changed

.github/workflows/deploy-demo.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy Demo
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [stable]
66
paths:
77
- "demo/**"
88
- "!**.md"
@@ -16,6 +16,9 @@ permissions:
1616
jobs:
1717
deploy:
1818
runs-on: ubuntu-latest
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
1922
steps:
2023
- name: Generate token
2124
id: generate_token
@@ -41,8 +44,10 @@ jobs:
4144
- name: Install and Build
4245
run: |
4346
pnpm install
47+
rm -rf dist
4448
pnpm build
4549
cd demo
50+
rm -rf node_modules dist
4651
pnpm install
4752
pnpm build
4853
@@ -52,4 +57,5 @@ jobs:
5257
path: ./demo/dist
5358

5459
- name: Deploy to GitHub Pages
60+
id: deployment
5561
uses: actions/deploy-pages@v4

demo/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"@superdoc-dev/template-builder": "link:../.",
1212
"react": "^19.2.0",
1313
"react-dom": "^19.2.0",
14-
"superdoc": "^0.22.3"
14+
"superdoc": "^0.31.2"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^19.2.2",
18-
"@types/react-dom": "^19.2.1",
19-
"@vitejs/plugin-react": "^5.0.4",
17+
"@types/react": "^19.2.6",
18+
"@types/react-dom": "^19.2.3",
19+
"@vitejs/plugin-react": "^5.1.1",
2020
"typescript": "^5.9.3",
21-
"vite": "^7.1.9"
21+
"vite": "^7.2.2"
2222
}
23-
}
23+
}

0 commit comments

Comments
 (0)