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
- `YARN_IGNORE_PATH=true`: The repository includes a bundled Yarn 3.3.1 binary for legacy deployment servers. This tells Yarn 4 to ignore it and use corepack instead.
26
26
- `YARN_NPM_MINIMAL_AGE_GATE=10080`: Protects against supply chain attacks by requiring NPM packages to be at least 7 days old before installation (Yarn 4+ feature).
27
27
28
-
.Setting these variables - two options:
29
-
****
30
-
==== Option A: Global shell configuration (simple)
28
+
==== Setting these variables - two options:
29
+
30
+
*Option A: Global shell configuration (simple)*
31
31
32
32
Add the variables to your shell profile (`.bashrc`, `.zshrc`, etc.) as shown above. These will apply to all Yarn projects on your system.
33
33
34
-
==== Option B: Per-repository with direnv (recommended)
34
+
*Option B: Per-repository with direnv (recommended)*
35
35
36
36
Use https://direnv.net/[direnv] to automatically set these variables only when working in this repository:
37
37
@@ -60,7 +60,6 @@ direnv allow
60
60
----
61
61
62
62
The environment variables will now be set automatically whenever you enter this repository directory, and unset when you leave.
0 commit comments