Skip to content

Migrate to pnpm catalogs#104

Merged
krispya merged 4 commits intomainfrom
refactor/pnpm-catalog
Apr 8, 2026
Merged

Migrate to pnpm catalogs#104
krispya merged 4 commits intomainfrom
refactor/pnpm-catalog

Conversation

@krispya
Copy link
Copy Markdown
Member

@krispya krispya commented Apr 7, 2026

Swaps to pnpm for the package manager (like the rest of our repos) and syncpack for making sure all of the demos are running the same versions of our libraries. At first I was using pnpm catalogs but this doesn't work correctly with degit which duplicates the package out of the monorepo workspace.

@krispya krispya merged commit 68b3f42 into main Apr 8, 2026
2 checks passed
krispya added a commit that referenced this pull request Apr 8, 2026
* Migrate to pnpm catalogs (#104)

* Migrate to pnpm catalogs

* Switch from catalogs to syncpack

* Attemp to fix CI script

* Another CI fix

* Improve examples menu UI

* Hoist bin files like npm
{
"versionGroups": [
{
"label": "Demos must use identical versions of shared dependencies",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there, to ensure identical versions you'll need to remove "policy": "sameRange" as that policy relaxes the rules https://syncpack.dev/version-groups/same-range/

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.

2 participants