Skip to content
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

allow-scripts setup for yarn berry #349

Open
naugtur opened this issue Jun 13, 2022 · 1 comment
Open

allow-scripts setup for yarn berry #349

naugtur opened this issue Jun 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@naugtur
Copy link
Member

naugtur commented Jun 13, 2022

https://yarnpkg.com/configuration/yarnrc/#enableScripts

yarn berry no longer uses ignore-scripts. allow-scripts setup should handle that. IF we can detect yarn version.

@leotm
Copy link
Member

leotm commented Apr 5, 2023

i think we should be able to detect the yarn version from (e.g. v3.2.4)

  • .yarnrc.yml > yarnPath: .yarn/releases/yarn-3.2.4.cjs
  • package.json > "packageManager": "yarn@3.2.4"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants