Skip to content

DEV: Move pnpm settings to pnpm-workspace.yaml - #2

Merged
davidtaylorhq merged 1 commit into
mainfrom
pnpm-12
Oct 19, 2026
Merged

davidtaylorhq merged 1 commit into
mainfrom
pnpm-12

Conversation

@davidtaylorhq

Copy link
Copy Markdown
Member

The skeletons now use pnpm 12, which only reads auth and registry settings from .npmrc. The updater now brings over the skeleton's pnpm-workspace.yaml and .npmrc and merges them into the project's own.

  • In pnpm-workspace.yaml, the skeleton's settings replace the project's, and the project's other settings stay. List settings such as minimumReleaseAgeExclude keep the project's entries and add the skeleton's.
  • .npmrc is merged like .gitignore: the project keeps its lines and gets the skeleton's settings that it lacks, matched by setting name. auto-install-peers and strict-peer-dependencies are removed, because pnpm reads them from pnpm-workspace.yaml. engine-strict stays, because npm reads it and then refuses to install a project whose engines say "npm": "please-use-pnpm".
  • The install no longer passes --ignore-workspace, which would skip pnpm-workspace.yaml. The project's own pnpm-workspace.yaml keeps the install inside the project.
  • The test fixtures match the skeletons' TypeScript 7 and pnpm 12 changes.

Bumps the package to 0.2.0.

The skeletons now use pnpm 12, which only reads auth and registry settings from `.npmrc`. The updater now brings over the skeleton's `pnpm-workspace.yaml` and `.npmrc` and merges them into the project's own.

- In `pnpm-workspace.yaml`, the skeleton's settings replace the project's, and the project's other settings stay. List settings such as `minimumReleaseAgeExclude` keep the project's entries and add the skeleton's.
- `.npmrc` is merged like `.gitignore`: the project keeps its lines and gets the skeleton's settings that it lacks, matched by setting name. `auto-install-peers` and `strict-peer-dependencies` are removed, because pnpm reads them from `pnpm-workspace.yaml`. `engine-strict` stays, because npm reads it and then refuses to install a project whose engines say `"npm": "please-use-pnpm"`.
- The install no longer passes `--ignore-workspace`, which would skip `pnpm-workspace.yaml`. The project's own `pnpm-workspace.yaml` keeps the install inside the project.
- The test fixtures match the skeletons' TypeScript 7 and pnpm 12 changes.

Bumps the package to 0.2.0.
@davidtaylorhq
davidtaylorhq merged commit 807c748 into main Oct 19, 2026
3 checks passed
@davidtaylorhq
davidtaylorhq deleted the pnpm-12 branch October 19, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants