Skip to main content

Collections

Collections are curated bundles of packages that work together for specific development workflows.

What are Collections?

Instead of installing packages one by one:
You can install a collection:

Creating Collections

Collections are defined in your prpm.json using the collections array:

Version Ranges

Specify how packages should be updated:
  • ^1.0.0 - Compatible with 1.x.x (recommended)
  • ~1.2.0 - Compatible with 1.2.x
  • 1.0.0 - Exact version only
  • latest - Always use latest version

Required vs Optional Packages

Mark packages as optional so users can skip them:
Install without optional packages:

Publishing Collections

Collections are published alongside packages:
Or publish only a specific collection:

Use Cases

Starter Kits

Bundle everything needed for new projects:

Team Standards

Share team development standards:

Technology Stacks

Bundle complete technology stacks:

Next Steps

Publishing Collections

Learn how to publish your collections

Manifest Reference

Complete collection schema