Skip to content

build: migrate gallery tooling to pnpm - #27

Merged
simonvanlierde merged 1 commit into
mainfrom
build/pnpm-toolchain
Nov 14, 2026
Merged

simonvanlierde merged 1 commit into
mainfrom
build/pnpm-toolchain

Conversation

@simonvanlierde

@simonvanlierde simonvanlierde commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Use one pinned package manager for local development, CI and ingestion. This replaces the npm lockfile with a pnpm lockfile and updates the contributor commands and Git hooks.

The dependency versions stay the same. An explicit @emnapi/runtime 1.11.3 development dependency keeps Astro's checker on its compatible bridge API; Rolldown retains its separate runtime. Only Lefthook is allowed to run dependency build scripts.

Tested: fresh frozen offline install; lint; Astro check with zero diagnostics; tests with 96.1% coverage; six-page build; axe on every page in light and dark mode with zero violations; actionlint. Hosted CI and CodeQL pass. A separate review found no correctness issues.

Not checked: a Pages deployment. Existing lint warnings remain.

- Pin pnpm 12.18.0 and import the existing dependency versions into its lockfile.
- Use frozen pnpm installs in CI and ingestion, and update contributor commands and hooks.
- Pin @emnapi/runtime 1.11.3 so Astro check uses the runtime API expected by @emnapi/core 1.x.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@simonvanlierde
simonvanlierde merged commit 120f07e into main Nov 14, 2026
4 checks passed
@simonvanlierde
simonvanlierde deleted the build/pnpm-toolchain branch November 14, 2026 17:00
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