Today I Learned

hashrocket A Hashrocket project

Install Specific Package Version with yarn

You can install a specific version of a package with yarn add. To add enzyme at version 1.2.3 you can:

$ yarn add enzyme@1.2.3

You can also specify a git repository (including branch):

$ yarn add enzyme@enzymejs/enzyme#branch-name

docs

See More #javascript TILs
Looking for help? At Hashrocket, our JavaScript experts launch scalable, performant apps on the Web, Android and iOS. Contact us and find out how we can help you.