* feat(env): add uninstall command to pnpm env
* chore(changeset): define minor bump
* fix(env): fixes for pnpm env uninstall
- Fix broken node path for the windows platform
- Notify user when removing default Node.JS
- Remove `await` on `fs.unlink` in `Promise.all`
- Add support for Node.JS v14.13 and earlier
* fix(env): fix failing tests on Windows platform
* fix(env): update aliases and error catching
- Add `rm, un, uninstall` aliases to the `remove` command
- Update CLI help message
- Ignore only `ENOENT` errors
* refactor(env): cr updates
- Use `remove` with `rm` alias only
- Update CLI help message
- Update tests to use `remove` command
- Replace custom support for older Node.JS versions
with `@zkochan/rimraf`
* refactor(env): simplify catch block
* fix: env rm
* refactor: test
Co-authored-by: Mark Omarov <inkfaust@gmail.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
* fix: install peerDeps which is not optional on headless install
* chore: add testcase for install peerDependencies which is not optional
* refactor: auto install
Co-authored-by: Zoltan Kochan <z@kochan.io>
* fix(node.fetcher): node < 16 download fail on apple silicon
Add a check for macos apple silicon and required node version < 16.
In such case, download x64 binary.
Because arm build does not exist.
Previous behaviour:
Try to download non existing arm build and fail with 404.
NO breaking change
fixes#4489
* refactor(node.fetcher): move code to normalizeArch
* fix: mergeGitBranchLockfiles when merged lockfile is up-to-date
* chore: test install with --merge-git-branch-lockfiles when merged lockfile is up to date
* chore: changeset
* chore: test add also frozenLockfile: true+
close#5212
Co-authored-by: Cheng Liu <liucheng.leo@bytedance>
Co-authored-by: Cheng Liu <chengcyber@users.noreply.github.com>