Рет қаралды 68,230
Publishing a package to npm can be daunting, especially when it comes to versioning. Here's how I approach it, using the best tools available in 2023.
Got an opinion about one of these? GET IN THE COMMENTS.
Example repo: github.com/mattpocock/pkg-demo
Changesets: github.com/changesets/changesets
PNPM: pnpm.io/
GitHub Actions: github.com/features/actions
TypeScript: typescriptlang.org/
tsup: tsup.egoist.dev/
Become a TypeScript Wizard with Matt's upcoming TypeScript Course:
www.totaltypescript.com/
Follow Matt on Twitter
/ mattpocockuk