-
Notifications
You must be signed in to change notification settings - Fork 196
Conversation
Hi @Embraser01, Thanks a lot for working on this! Note: we would also need to:
|
Looking at the code for Some options have changed, Furthermore, the |
Thanks for all that information! I have summarized it in a separate issue for Any help to improve Yarn support in the |
Co-authored-by: ehmicky <[email protected]>
This looks good to me! |
Looks good. I suggest we prefix the environment variable like (It would be weird if someone has |
Issue to add to documentation: https://github.com/netlify/docs/issues/632 |
Co-authored-by: ehmicky <[email protected]>
This PR add a new environment variable that allows anyone to force the usage of yarn. It's a simple workaround of #196.
The current workaround for Yarn workspaces (here) only works with Yarn v1, Yarn v2 use yarn.lock to determine the root of the project and so, setting a empty
yarn.lock
in a specific folder will fail.I choose the env var
USE_YARN
but it could be anything really 😄.