PkgSteward
Audience: ContributorLast verified against repo: 2026-11-28

Contributor Setup & Tests

For contributors developing PkgSteward itself: repository layout, Node.js 24 test suites, and frontend validation scripts.

Repository layout and Node.js 24 development baseline

While end users can run PkgSteward on Node.js 22.18+, active development and automated test suites target Node.js 24 (matching the root .nvmrc file). The repository is organized into apps/api (local loopback API service) and apps/web (Web UI).

Run unit tests, end-to-end tests, and UI checks

Run the automated test suites from the repository root and the theme/i18n verification scripts inside apps/web before opening a pull request.
bash
# Yarn test commands from repository root
yarn --cwd apps/web test # frontend unit tests
yarn --cwd apps/api test --runInBand # backend unit tests
yarn --cwd apps/api test:e2e --runInBand # backend HTTP end-to-end tests
​
# Frontend checks (inside apps/web)
pnpm theme:check
pnpm i18n:check
Why the test examples include yarn --cwd commands
You can run test scripts with pnpm, npm, or Yarn Classic (1.22.22 on Node.js 24). The upstream README includes yarn --cwd examples to verify Yarn Classic compatibility across both apps/web and apps/api.
Last verified against repo: 2026-11-28 (README.md)View source doc on GitHub(opens in new tab)