-
Notifications
You must be signed in to change notification settings - Fork 532
pnpm tips and tricks
Tyler Butler edited this page Feb 7, 2023
·
2 revisions
pnpm has a rich filtering syntax to run on a subset of packages. You can run commands only on packages that match a particular scope, depend on specific other packages, those that are in a particular directory, and even those that have been edited since a previous commit.
Filtering can be done with most pnpm commands, including exec, run, add, and remove.
This example adds mocha-multi-reporters and mocha-json-output-reporter as devDependencies to all packages in the release group that already depend on c8.
pnpm add -D --filter "...^c8" mocha-multi-reporters mocha-json-output-reporter
pnpm run -r --filter "...[origin/main]" format
This wiki is focused on contributing to the Fluid Framework codebase.
For information on using Fluid Framework or building applications on it, please refer to fluidframework.com.
- Submitting Bugs and Feature Requests
-
Contributing to the Repo
- Repo Basics
- Common Workflows and Patterns
- Managing dependencies
- Client Code
- Server Code
- PR Guidelines
- CI Pipelines
- Breaking vs Non-Breaking Changes
- Branches, Versions, and Releases
- Compatibility & Versioning
- Testing
- Debugging
- npm package scopes
- Maintaining API support levels
- Developer Tooling Maintenance
- API Deprecation
- Working with the Website (fluidframework.com)
- Coding Guidelines
- Documentation Guidelines
- CLA