Skip to content

coltonehrman/bag-of-tricks

Repository files navigation

XO code style

Adding local package dependency to another local package

pnpm add [-D] <PACKAGE_NAME> --filter <OTHER_PACKAGE_NAME> --workspace

Example:

pnpm add -D @cehrman/tsconfig --filter @cehrman/module-a --workspace

This command will add the local package @cehrman/tsconfig as a dev dependency to the local package @cehrman/module-a. Notice the pnpm special protocol workspace: is used when doing this.

pnpm add docs

Releasing

Create Changeset

pnpm changeset

Version Packages

pnpm changeset version

Publish Packages

pnpm changeset publish

changeset docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published