Skip to main content

yarn

 yarn help


--------------



... Accessing the list of commands



yarn help


---------------


... Starting a new project


yarn init


-------------------


... Installing all the dependencies



yarn

yarn install




-------------


... Adding a dependency


yarn add [package]

yarn add [package]@[version]

yarn add [package]@[tag]


------------------


... Adding a dependency to different categories of dependencies


yarn add [package] --dev  # dev dependencies

yarn add [package] --peer # peer dependencies


----------------------


... Upgrading a dependency


yarn up [package]

yarn up [package]@[version]

yarn up [package]@[tag]



---------------


... Removing a dependency


yarn remove [package]



----------------------


... Upgrading Yarn itself


yarn set version latest

yarn set version from sources



















Popular posts from this blog

Tarana - Music Player

Tarana  is a music player that offers features such as shuffle, song sharing, themed playlists, a variety of genres, search, and filters. video Live Demo on iamsonukushwaha.github.io/tarana Code here github.com/iamsonukushwaha/tarana

cool projects

Sonu Kumar Kushwaha has created several impressive projects, showcasing his creativity and technical prowess.  

Be a Flamingo In a Flock of Pigeons

                        To decipher the meaning of this saying, we need to start at the beginning. Flamingos are beautiful pink birds with unusual pink colored feathers. They are also unique for their “standing on one leg” pose, which no one knows for sure what it serves for. These birds can be found on almost every continent, but their uniqueness makes them a special experience for everyone lucky enough to see them in the wild. They live in large flocks and are very social birds. Because of these traits and their uniqueness, they are considered a rare and unusual appearance. On the other hand, pigeons are widely spread birds, as well, but they are a way more common sig...