Skip to content

Refresh all example dependencies to latest stable releases - #467

Merged
valthon merged 1 commit into
mainfrom
codex/example-dependencies
Sep 20, 2026
Merged

valthon merged 1 commit into
mainfrom
codex/example-dependencies

Conversation

@valthon

@valthon valthon commented Sep 20, 2026 •

Copy link
Copy Markdown
Owner

Summary

All three examples still declared TypeScript 5, Vitest 1, and Node 20 types. Update blog, GolfSim, and plugins to the npm registry's stable releases: TypeScript 7.0.2, Vitest 5.0.1, and @types/node 26.6.2. Migrate GolfSim's fetch mock to Vitest's function-type generic.

Track the previously ignored example lockfiles and use npm ci in example CI and GolfSim bootstrap. Update the shared Zigapagos launcher from 0.4.0 to stable 0.5.0; this also serves the public site. Audited all three Zig manifests and frontend imports: ZigBase/client remain local path dependencies, and frontend runtime imports are supplied by Zigapagos.

Documentation & examples sync

  • All three example manifests, lockfiles, and affected test usage updated.
  • Internal changelog fragment added.
  • Pairing guide, all example READMEs, site README/footer, and generated skill/published mirrors match Zigapagos 0.5.0.
  • N/A: public API changes and screenshots; no application behavior or interface changes.

Verification

  • Clean npm ci and typechecks for all three examples.
  • All three frontend and pinned-Zig backend builds.
  • Example end-to-end tests: blog 2, GolfSim 5, plugins 6 passed.
  • GolfSim frontend tests: 9 passed; frozen bootstrap build passed.
  • Blog browser flow passed.
  • Full site npm test passed, including build, doctor, static/generated checks, and browser smoke against Zigapagos 0.5.0.
  • Requeried npm stable versions and confirmed all direct example dependency lock entries match.

Node runtime remains the repository's pinned Node 24; the latest Node type package was verified with these examples. No root SDK dependency changes are included.

  • Documentation follow-up: skill sync check and 67 docs/skill tests passed; full site suite rerun successfully.

Copilot AI lite review requested due to automatic review settings September 20, 2026 11:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Documentation still advertises Zigapagos 0.4.0 while the launcher uses 0.5.0; references and mirrors must be synchronized.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Refreshes dependencies across the three examples, adds lockfiles, switches installs to npm ci, updates GolfSim typing, and pins Zigapagos to 0.5.0.

Changes:

  • Updates TypeScript, Vitest, and Node type dependencies.
  • Tracks example lockfiles and updates CI/bootstrap installs.
  • Updates the Zigapagos launcher and changelog.
File Summary
scripts/​zigapagos.sh Pins Zigapagos to 0.5.0; documented references still require synchronization.
examples/​plugins/​package.json Updates plugin tooling dependencies.
examples/​plugins/​package-lock.json Locks plugin dependencies.
examples/​plugins/​.gitignore Allows tracking the lockfile.
examples/​golfsim/​test/​api.frontend.test.ts Migrates the Vitest fetch mock type.
examples/​golfsim/​package.json Updates GolfSim tooling dependencies.
examples/​golfsim/​package-lock.json Locks GolfSim dependencies.
examples/​golfsim/​frontend/​build.sh Uses deterministic npm installation.
examples/​golfsim/​.gitignore Allows tracking the lockfile.
examples/​blog/​package.json Updates blog tooling dependencies.
examples/​blog/​package-lock.json Locks blog dependencies.
examples/​blog/​.gitignore Allows tracking the lockfile.
changelog.d/​example-dependencies.md Records the dependency refresh.
.github/​workflows/​ci.yml Uses npm ci for example jobs.
Files not reviewed (3)
  • examples/blog/package-lock.json: Generated file
  • examples/golfsim/package-lock.json: Generated file
  • examples/plugins/package-lock.json: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scripts/zigapagos.sh
Copilot AI review requested due to automatic review settings September 20, 2026 11:53
@valthon
valthon force-pushed the codex/example-dependencies branch from 11859b4 to e46060c Compare September 20, 2026 11:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

Resolved since last review (1)
Files not reviewed (3)
  • examples/blog/package-lock.json: Generated file
  • examples/golfsim/package-lock.json: Generated file
  • examples/plugins/package-lock.json: Generated file

@valthon
valthon merged commit 751a15d into main Sep 20, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants