package-filter
Run commands in specific workspace packages using pnpm filters. Use to execute commands in specific packages within the monorepo.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Package Filter Skill
Run commands in specific workspace packages using pnpm filters.
Usage
Execute commands in specific packages within the monorepo.
Common Filters
-
@cartridge/controller- Main SDK package -
@cartridge/keychain- Keychain UI application -
@cartridge/connector- Connector package -
@cartridge/profile- Profile application
Examples
# Run tests in specific package
pnpm --filter @cartridge/keychain test
# Build specific package
pnpm --filter @cartridge/controller build
# Run dev server for keychain only
pnpm --filter @cartridge/keychain dev
# Install dependency to specific package
pnpm --filter @cartridge/controller add <package-name>
Steps
- Identify target package
- Use
pnpm --filter <package-name> <command> - Verify command execution in correct package
Notes
- Workspace dependencies automatically linked
- Filter by package name (with @scope) not directory path
- Use
pnpm -rfor recursive commands across all packages
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!