Skip to content

Commit 0ce1858

Browse files
committed
more direnv-related styling of README
1 parent 187b7ea commit 0ce1858

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ export YARN_NPM_MINIMAL_AGE_GATE=10080
2525
- `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.
2626
- `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).
2727
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)*
3131

3232
Add the variables to your shell profile (`.bashrc`, `.zshrc`, etc.) as shown above. These will apply to all Yarn projects on your system.
3333

34-
==== Option B: Per-repository with direnv (recommended)
34+
*Option B: Per-repository with direnv (recommended)*
3535

3636
Use https://direnv.net/[direnv] to automatically set these variables only when working in this repository:
3737

@@ -60,7 +60,6 @@ direnv allow
6060
----
6161

6262
The environment variables will now be set automatically whenever you enter this repository directory, and unset when you leave.
63-
****
6463

6564
=== Setup with Volta (Recommended)
6665

0 commit comments

Comments
 (0)