feat(registry): use npm backend for yarn (#5745)
Please consider including the npm backend for yarn.
The
mise-yarn
plugin does not work on Windows (https://github.com/mise-plugins/mise-yarn/issues/12). I just discovered that the binary installed from npm works on Windows (at least in CI).The package on npm has no readme and strange name. But this is the same bundled binary. See
corepack
s config:
- the
mise-yarn
plugin loads yarn binary from https://repo.yarnpkg.com, https://github.com/nodejs/corepack/blob/0b492c9c97e4b3d5e9a139eeedb931860127b470/config.json#L137- few lines below
@yarnpkg/cli-dist
package is included as an alternative, https://github.com/nodejs/corepack/blob/0b492c9c97e4b3d5e9a139eeedb931860127b470/config.json#L152
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
mise-en-place
The front-end to your dev env.
What is it?
Demo
The following demo shows how to install and use
mise
to manage multiple versions ofnode
on the same system. Note that callingwhich node
gives us a real path to node, not a shim.It also shows that you can use
mise
to install and many other tools such asjq
,terraform
, orgo
.See demo transcript.
Quickstart
Install mise
See Getting started for more options.
Hook mise into your shell (pick the right one for your shell):
Execute commands with specific tools
Install tools
See dev tools for more examples.
Manage environment variables
Note that
mise
can also load.env
files.Run tasks
See tasks for more information.
Example mise project
Here is a combined example to give you an idea of how you can use mise to manage your a project’s tools, environment, and tasks.
Run it with:
Find more examples in the mise cookbook.
Full Documentation
See mise.jdx.dev
Special Thanks
We’re grateful for Cloudflare’s support us through Project Alexandria.
Contributors