Can I publish only a subset of packages in one Turborepo, using Changesets?

732 Views Asked by At

As seen in the Turborepo docs, the monorepo can include internal packages in order to share code between apps inside the monorepo.

There is also a docs section on how to publish packages in a monorepo, via the Changesets CLI.

Is it possible to use changeset's version bumping for all the packages, but only publish one of the packages to the npm registry?

I know it is possible to prevent all packages from being published.

Goal example: After running pnpm changeset + pnpm changeset version + pnpm changeset publish, the web package is version-bumped while the ui package is both version-bumped and published to npm.

0

There are 0 best solutions below