Skip to content

chore: switch to pnpm and fix peer dependencies - #345

Merged
mnahkies merged 3 commits into
mainfrom
mn/fix/peer-deps
Jul 20, 2025
Merged

chore: switch to pnpm and fix peer dependencies#345
mnahkies merged 3 commits into
mainfrom
mn/fix/peer-deps

Conversation

@mnahkies

@mnahkies mnahkies commented Jul 6, 2025

Copy link
Copy Markdown
Owner

A somewhat reoccurring issue has been dependency updates introducing peerDependency misalignment that causes installation / run errors with tools like npx.

Originally I was planning to address this by introducing new CI steps that checked for this, but instead I've decided to give pnpm a go. As far as I understand it has the strictest rules of the common package managers around dependency resolution, and therefore if it works with pnpm it'll probably work with everything else.

Making this change surfaced a number of implicit dependency issues across the repository, and unintentional reliance on jest globals.

I'd be fairly keen to additionally do away with the lerna dependency, as its now only used for publishing the packages, but that's probably a job for another day.

@mnahkies
mnahkies force-pushed the mn/fix/peer-deps branch 2 times, most recently from 3a19b07 to 47c464b Compare July 6, 2025 09:57
@mnahkies
mnahkies force-pushed the mn/fix/peer-deps branch 5 times, most recently from b5a42af to 5123be4 Compare July 19, 2025 13:44
@mnahkies mnahkies changed the title fix: peer dependencies chore: switch to pnpm and fix peer dependencies Jul 20, 2025
@mnahkies
mnahkies enabled auto-merge (squash) July 20, 2025 10:31
@mnahkies
mnahkies merged commit 91a9939 into main Jul 20, 2025
@mnahkies
mnahkies deleted the mn/fix/peer-deps branch July 20, 2025 10:35
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.

1 participant