-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yarn 2 does not run prepare/prepublishOnly script #2305
Labels
working as intended
The current behavior is intended.
Comments
paul-soporan
changed the title
Yarn 2 do not run prepare/prepublishOnly script
Yarn 2 does not run prepare/prepublishOnly script
Jan 2, 2021
That's intended, Yarn 2+ doesn't support You can find a list of supported lifecycle scripts here: https://yarnpkg.com/advanced/lifecycle-scripts. |
dguo
added a commit
to dguo/coinbase-js
that referenced
this issue
Mar 26, 2023
prepublishOnly isn't supported in Yarn v2+. See: yarnpkg/berry#2305 (comment)
mifi
added a commit
to transloadit/uppy
that referenced
this issue
Sep 15, 2023
doesn't work on yarn yarnpkg/berry#2305
mifi
added a commit
to transloadit/uppy
that referenced
this issue
Sep 15, 2023
doesn't work on yarn yarnpkg/berry#2305
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package.json
Command
What is the expected behavior?
Run prepublishOnly script before
➜ git:(master) ✗ npm publish
What is the current behavior?
➜ git:(master) ✗ yarn npm publish
➤ YN0000: codegen.yml
➤ YN0000: lib/index.d.ts
➤ YN0000: lib/index.js
➤ YN0000: lib/index.js.map
➤ YN0000: lib/sdk.d.ts
➤ YN0000: lib/sdk.js
➤ YN0000: lib/sdk.js.map
➤ YN0000: package.json
➤ YN0000: tsconfig.json
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: