Skip to content

v2.1.1

Choose a tag to compare

@prosdev prosdev released this 27 Oct 10:46

A patch release: the template has a new name, refuses old pnpm, and its pnpm and publishing docs are corrected.

Changed

  • Renamed to ts-monorepo-starter (#15). GitHub redirects the old prosdevlab/ts-monorepo URLs. The root package name, the README's clone commands and folder tree, and the CONTRIBUTING heading follow.
  • pnpm older than 12 is refused (#16). Root engines.pnpm is >=12. pnpm 9 used to install silently with itself, ignoring the pinned pnpm, the 3-day release rule and the pinned Node, and rewriting the lockfile. It now stops with ERR_PNPM_UNSUPPORTED_ENGINE.
  • pnpm 10 docs corrected (#16). pnpm 10.26 or newer switches itself to pnpm 12 from packageManager, so a global pnpm 12 install isn't needed. The ENOEXEC failure came from a Volta-managed pnpm 10, and its fix is volta install pnpm@12.15.0.
  • The publishing steps add a repository field (#16). npm provenance checks it against the repository that publishes.

Changes for existing projects

  1. Add "pnpm": ">=12" to the root package.json engines.
  2. Before publishing a package, add "repository": {"type": "git", "url": "git+https://github.com/<owner>/<repo>.git", "directory": "packages/<name>"} to its package.json.
  3. Optionally, copy the corrected install step and the ENOEXEC and ERR_PNPM_UNSUPPORTED_ENGINE troubleshooting entries from README.md and AGENTS.md.

The rename changes nothing in existing projects.