Package Publishing
Publishing packages is how you share reusable code โ whether with the open-source community on npm, within your organization via private registries, or across projects in a monorepo.
This section covers the full journey from your first npm publish to managing complex multi-package release workflows.
What's in this sectionโ
- Getting Started โ publish your first package to npm in minutes
- Versioning โ semantic versioning, dist-tags, and automated release tools
- Advanced Topics โ dual ESM/CJS, TypeScript declarations, provenance, and OSS examples
- GitHub Packages โ publish to and consume from the GitHub npm registry
- Private Packages & Registries โ npm orgs, Verdaccio, Artifactory, and scoped registry config
- Publishing from a Monorepo โ Changesets, Nx release, and coordinated versioning