Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twuni/asdf-yarn
asdf plugin for Yarn.
https://github.com/twuni/asdf-yarn
asdf asdf-plugin yarn
Last synced: 4 days ago
JSON representation
asdf plugin for Yarn.
- Host: GitHub
- URL: https://github.com/twuni/asdf-yarn
- Owner: twuni
- License: mit
- Created: 2019-05-23T15:03:02.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T17:53:14.000Z (8 months ago)
- Last Synced: 2024-08-02T16:08:53.849Z (3 months ago)
- Topics: asdf, asdf-plugin, yarn
- Language: Shell
- Size: 35.2 KB
- Stars: 136
- Watchers: 3
- Forks: 24
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# asdf-yarn
[![Build Status][3]][4]
Yarn plugin for the [asdf][1] version manager.
> 💡 **Note:** This plugin validates package authenticity via [`gpg`][2].
## Requirements
This plugin should work out of the box on Linux and Mac operating systems.
If one of the commands needed is unavailable, it will let you know.## Installing
```
asdf plugin-add yarn
asdf install yarn latest
```## Looking for Yarn v2?
In v2.x, Yarn introduced its own version manager which can only be
configured on a per-project basis. There is no "global install" variation
of the v2.x release line.To use Yarn v2.x in your project:
1. Use this plugin to set the v1.x Yarn version for the project
(e.g: `asdf local yarn 1.22.10`).2. Use Yarn to set the v2.x Yarn version for the project
(e.g: `yarn set version 2.4.1`).After these two steps, your project will be configured to use Yarn v2.x.
If you do not wish to opt in to v2.x, then step 1 is all you need.[1]: https://asdf-vm.com/
[2]: https://www.openpgp.org/
[3]: https://travis-ci.org/twuni/asdf-yarn.svg?branch=main
[4]: https://travis-ci.org/twuni/asdf-yarn