Add pnpm and Nix development tooling #2

Merged
Fryuni merged 5 commits from nix-flake into main 2026-07-30 19:01:34 +00:00
Owner

Summary

Migrate World Feast from npm to pinned pnpm tooling and add reproducible Nix packaging plus a direnv-loaded development shell.

Changes

  • replace package-lock.json and npm CI commands with pnpm 11.17.0, a frozen pnpm lockfile, and explicit dependency build permissions
  • package the CLI through a pinned multi-system Nix flake with Node.js 22 and fixed pnpm dependencies
  • add a default flake development shell and checked-in .envrc for Node.js and pnpm
  • document pnpm, Nix, and direnv workflows

Testing

  • pnpm install --frozen-lockfile
  • pnpm test (99 tests)
  • pnpm run typecheck
  • pnpm run build
  • pnpm run smoke:cli
  • pnpm pack --dry-run
  • nix build 'path:.#world-feast' --offline
  • packaged world-feast --help
  • nix flake check 'path:.' --offline
  • direnv exec . sh -c 'node --version && pnpm --version && pnpm run typecheck'
## Summary Migrate World Feast from npm to pinned pnpm tooling and add reproducible Nix packaging plus a direnv-loaded development shell. ## Changes - replace package-lock.json and npm CI commands with pnpm 11.17.0, a frozen pnpm lockfile, and explicit dependency build permissions - package the CLI through a pinned multi-system Nix flake with Node.js 22 and fixed pnpm dependencies - add a default flake development shell and checked-in `.envrc` for Node.js and pnpm - document pnpm, Nix, and direnv workflows ## Testing - `pnpm install --frozen-lockfile` - `pnpm test` (99 tests) - `pnpm run typecheck` - `pnpm run build` - `pnpm run smoke:cli` - `pnpm pack --dry-run` - `nix build 'path:.#world-feast' --offline` - packaged `world-feast --help` - `nix flake check 'path:.' --offline` - `direnv exec . sh -c 'node --version && pnpm --version && pnpm run typecheck'`
Add pnpm and Nix development tooling
Some checks failed
Checks / checks (pull_request) Failing after 16s
b24849d4fb
Allow latest Earendil packages
Some checks failed
Checks / checks (pull_request) Failing after 16s
3a2e74f29d
Approve builds
All checks were successful
Checks / checks (pull_request) Successful in 25s
0db08f8212
Run typecheck before tests in CI
All checks were successful
Checks / checks (pull_request) Successful in 24s
6c42a2b12f
Remove ignored permissions from CI
All checks were successful
Checks / checks (pull_request) Successful in 24s
3731e62b86
Fryuni merged commit 7af461995e into main 2026-07-30 19:01:34 +00:00
Fryuni deleted branch nix-flake 2026-07-30 19:01:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
RPG/world-feast!2
No description provided.