forked from twuni/asdf-yarn
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add MISE_YARN_SKIP_GPG to be able to skip gpg verification (#8)
- latest versions 1.22.20 - 1.22.22 don't have .asc signature file which makes it impossible to install these versions - needed to split tar and gpg deps to allow to skip gpg - got [ -z ${MISE_YARN_SKIP_GPG+false} ] idea from https://stackoverflow.com/a/13864829/832965
- Loading branch information
Showing
2 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,20 @@ mise plugin i yarn | |
mise plugin up yarn | ||
``` | ||
|
||
# Development | ||
## Development | ||
|
||
This repo has github workflows which check linting and formatting of code in `bin` folder. | ||
|
||
To lint code run `make lint` (note: requires `shellcheck` to be installed) | ||
|
||
To check formatting run `make format-check` (requires `shfmt` to be installed) and to format code run `make fmt` | ||
|
||
## yarn v1 missing signatures | ||
|
||
[Latest v1 releases](https://github.com/yarnpkg/yarn/releases/) (`1.22.22`, `1.22.21`, `1.22.20`) don't have signature files (`.asc`) which makes it impossible to install these versions (gpg signature verification doesn't pass). They say "we're working on fixing this" but issue persists since Nov 14, 2023 (release of 1.22.20) | ||
|
||
To be able to install those you can use `MISE_YARN_SKIP_GPG` env var | ||
|
||
```shell | ||
MISE_YARN_SKIP_GPG=true mise install [email protected] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters