You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
updating the release log to indicate this for other developers;
updating the package.json;
possibly shifting dependencies bumps to major versions in the future.
Steps to reproduce
Create a repo with yarn;
Use a node version of 16.13.0
Add lint-staged of 13.2+ to package.json
Run yarn install
Installing using Yarn
yarn install v1.22.18
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error execa@7.1.1: The engine "node" is incompatible with this module. Expected version "^14.18.0 || ^16.14.0 || >=18.0.0". Got "16.13.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Exited with code exit status 1
Environment
OS: MacBook M1 Pro - Ventura 13.4.1 (22F82)
Node.js: 16.13.0
lint-staged: 13.2.3
The text was updated successfully, but these errors were encountered:
Description
During the #1265 PR, a dependency update commit was made, which was released into v13.2.0-v13.2.3.
Namely it bumped
execa
from 6.1.0 to7.0.0
.This is a breaking change and means a loss of support for node
14.13.1 - 14.17.0
and16.0.0 - 16.3.0
.https://github.com/sindresorhus/execa/releases/tag/v7.0.0
Now, the package.json engine versions are no longer in sync with the actual supported versions:
https://github.com/okonet/lint-staged/blob/66a716d5a32c49f03b9a34350fec1b2411bada17/package.json#L17
I would recommend:
Steps to reproduce
yarn install
Environment
lint-staged
: 13.2.3The text was updated successfully, but these errors were encountered: