-
Notifications
You must be signed in to change notification settings - Fork 489
Closed
Description
Is your feature request related to a problem? Please describe.
The jscodeshift project uses yarn for development, but doesn't manage yarn version using corepack recommended by yarn team.
$ node -v
v20.15.1
$ yarn
zsh: command not found: yarn
$ corepack -v
0.28.1
$ corepack enable
$ yarn
! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
yarn install v1.22.19
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.22.22", while you're on "1.22.19".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
$ cp -R src/ dist/
✨ Done in 2.70s.Describe the solution you'd like
Use corepack for managing yarn version
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels