gevik
gevik

Reputation: 3407

How to install pre-release packages with Lerna and Yarn?

I have a monorepo setup with Lerna and Yarn. I would like to install and use some pre-release packages from a third party project into my monorepo and after some time I would like to switch to the "release" versions of those third party packages.

Is these an easy way to achieve this without the need to change the package.json files manually?

Thanks.

Upvotes: 2

Views: 1361

Answers (1)

Mayank Patel
Mayank Patel

Reputation: 8536

Simply put you cannot do it with yarn. You can read a long discussion about it here

But as you can use npm for this with --no-save option. This will not change your package.json or yarn.lock file.

Upvotes: 2

Related Questions