Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a779a7d
Initial plan
Copilot Nov 29, 2025
8c6c5ef
Add sync-examples script and CI workflow for playground-example sync
Copilot Nov 29, 2025
70b9c6a
Update examples README to document sync workflow
Copilot Nov 29, 2025
c666461
Merge branch 'main' into copilot/consolidate-playgrounds-examples
yamcodes Nov 29, 2025
82cbce5
[autofix.ci] apply automated fixes
autofix-ci[bot] Nov 29, 2025
005cdc2
Merge branch 'main' into copilot/consolidate-playgrounds-examples
yamcodes Nov 29, 2025
de71494
Sync all examples from playgrounds, including basic and basic-js
Copilot Dec 1, 2025
7950845
Merge branch 'main' into copilot/consolidate-playgrounds-examples
yamcodes Dec 9, 2025
185eed9
[autofix.ci] apply automated fixes
autofix-ci[bot] Dec 9, 2025
e9d3436
feat: Update example dependencies, refine package manager version syn…
yamcodes Dec 9, 2025
3071c40
Merge branch 'copilot/consolidate-playgrounds-examples' of https://gi…
yamcodes Dec 9, 2025
1ae9adb
chore: reorder devDependencies in basic example package.json files
yamcodes Dec 9, 2025
6bc2301
feat: Add example synchronization utility including file system helpe…
yamcodes Dec 9, 2025
36f0151
fix: Pin rolldown-vite dependency to 7.2.10 and unify file exclusion …
yamcodes Dec 9, 2025
79a8830
[autofix.ci] apply automated fixes
autofix-ci[bot] Dec 9, 2025
88a8f16
feat: Add `skipSync` option to bypass example synchronization.
yamcodes Dec 9, 2025
43fe889
feat: Introduce a new standard schema playground app, update existing…
yamcodes Dec 9, 2025
e5a8414
chore: Add type annotation to transform function and update pnpm lock…
yamcodes Dec 9, 2025
a721a0e
[autofix.ci] apply automated fixes
autofix-ci[bot] Dec 9, 2025
cbc9ce7
style: add explicit string type to Zod transformation parameter
yamcodes Dec 9, 2025
c2158c1
chore: reorder devDependencies in package.json
yamcodes Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/sync-examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: sync-examples

on:
pull_request:
paths:
- "apps/playgrounds/**"
- "examples/**"
- "bin/sync-examples.js"
push:
branches: ["main"]
paths:
- "apps/playgrounds/**"
- "examples/**"
- "bin/sync-examples.js"

permissions:
contents: read

jobs:
check-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: "pnpm"
Comment thread
yamcodes marked this conversation as resolved.

- name: Install dependencies
run: pnpm install

- name: Build packages
run: pnpm build:packages

- name: Check examples sync
run: pnpm sync:examples:check
8 changes: 7 additions & 1 deletion apps/playgrounds/bun-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,11 @@
"@types/bun": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:"
}
},
"arkenvExamples": [
{
"name": "with-bun-react",
"packageManager": "bun"
}
]
}
15 changes: 10 additions & 5 deletions apps/playgrounds/bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"type": "module",
"private": true,
"scripts": {
"dev": "bun --watch .",
"start": "bun .",
"build": "bun build . --outdir=dist",
"preview": "bun dist",
"dev": "bun --watch run index.ts",
"start": "bun run index.ts",
"build": "bun build index.ts --outdir ./dist",
"fix": "pnpm -w run fix",
"clean": "rimraf dist node_modules"
},
Expand All @@ -18,5 +17,11 @@
"devDependencies": {
"@types/bun": "catalog:",
"typescript": "catalog:"
}
},
"arkenvExamples": [
{
"name": "with-bun",
"packageManager": "bun"
}
]
}
8 changes: 7 additions & 1 deletion apps/playgrounds/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@
"typescript": "catalog:",
"vite": "npm:rolldown-vite@latest",
"vite-tsconfig-paths": "catalog:"
}
},
"arkenvExamples": [
{
"name": "with-vite-react",
"packageManager": "npm"
}
]
}
Loading
Loading