* 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>
* chore: dependencies maintenance
- upgrade node-fetch to latest stable version
- upgrade lru-cache and remove @types/lru-cache stub type definitions
- remove eslint disables in npm-resolver index.ts
- upgrade @types/validate-npm-package-name to v4 to match package major version
- upgrade dependencies in @pnpm/get-release-text
* updated pnpm.overrides section
* include changeset
* - update local.d.ts
- replace deprecated lru-cache maxAge option with ttl
* turn down node-fetch version to 3.0.0-beta.9 again since newer ones are ESM-only
* update changeset
* fix: read package manifest when verifyStoreIntegrity is false
* fixup: add test
* fixup: resolve manifest even if no package.json was found
* fixup: relocate function to read manifest from store
* fixup: add changeset
* fix(lockfile): change sorting of keys in lockfile
Make it more deterministic and prevent unnecessary churn in the lockfile.
It is useful when looking for affected projects after changes to the lockfile.
When the changes happen among various developers using various locale,
the locale specific sorting causes changes in the lockfile for extraneous projects.
Therefore, it could cause running unnecessary CI jobs, builds, releases and other
work that would not be needed otherwise.
* chore: add comment
Co-authored-by: Zoltan Kochan <z@kochan.io>