PNPM Catalogs Tooling
pnpm add -D pnpmc
[!IMPORTANT]
Notice that this tool is for pnpm workspace feature only.
You can show the defined catalogs and catalogable dependencies on your pnpm workspace projects (pnpm-workspace.yaml):
pnpx pnpmc # or `pnpx pnpm show`
# PNPM Catalogs Tooling (pnpmc v0.4.0)
#
# π Defined catalogs in pnpm-workspace.yaml:
# (none)
#
# π¦ Catalogable Dependencies (1):
# typescript:
# /packages/package1 (package1) : ^5.7.3
# /packages/package2 (package2) : ^5.6.0
#
You can register the dependency to the catalog on your pnpm workspace projects (pnpm-workspace.yaml):
pnpx pnpmc register --dependency typescript --alias ^5.7.0 --catalog tools
# PNPM Catalogs Tooling (pnpmc v0.1.2)
#
# π Registered 'typescript' as '5.7.0' in Catalog 'tools'
#
# π¦ Overridden 'typescript' alias on /packages/package1 (package1) : ^5.7.3 -> catalog:tools
# π¦ Overridden 'typescript' alias on /packages/package2 (package2) : ^5.6.0 -> catalog:tools
If you are interested in contributing to pnpmc, I highly recommend checking out the contributing guidelines here. Youβll find all the relevant information such as how to make a PR, how to setup development) etc., there.
The development of Gunish is supported by my OSS sponsors!
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.