aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-09-19 00:13:52 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-09-19 00:13:52 -0700
commitd2328285f952537603fa2cbcdef44fde50c69b82 (patch)
treeb3fd2fd280dcd5cc78e7e616acc4ff3c3e4452a9
parent346f8e9c944920d910535ad98c10ed6381621cc7 (diff)
downloadbun-d2328285f952537603fa2cbcdef44fde50c69b82.tar.gz
bun-d2328285f952537603fa2cbcdef44fde50c69b82.tar.zst
bun-d2328285f952537603fa2cbcdef44fde50c69b82.zip
Update azure-artifacts.md
-rw-r--r--docs/guides/install/azure-artifacts.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/guides/install/azure-artifacts.md b/docs/guides/install/azure-artifacts.md
index 5f52b942c..d173c1f81 100644
--- a/docs/guides/install/azure-artifacts.md
+++ b/docs/guides/install/azure-artifacts.md
@@ -6,7 +6,9 @@ name: Using bun install with an Azure Artifacts npm registry
To use it with `bun install`, add a `bunfig.toml` file to your project with the following contents:
-**Configure with bunfig.toml**
+---
+
+### Configure with bunfig.toml
Make sure to replace `my-azure-artifacts-user` with your Azure Artifacts username, such as `jarred1234`.
@@ -21,7 +23,9 @@ password = "$NPM_PASSWORD"
Set the `$NPM_PASSWORD` environment variable to your Azure Artifacts npm registry password and Bun will automatically replace it with the correct value. You can also choose not to use an environment variable and instead hardcode your password in the `bunfig.toml` file, but be careful not to commit it to source control.
-**Configure with environment variables**
+---
+
+### Configure with environment variables
You can also use an environment variable to configure Azure Artifacts with bun install.
@@ -38,7 +42,9 @@ Make sure to:
- Replace `my-azure-artifacts-user` with your Azure Artifacts username, such as `jarred1234`
- Replace `my-azure-artifacts-password` with the non-base64 encoded password for your Azure Artifacts npm registry
-**Don't base64 encode the password**
+---
+
+### Don't base64 encode the password
In [Azure Artifact's](https://learn.microsoft.com/en-us/azure/devops/artifacts/npm/npmrc?view=azure-devops&tabs=windows%2Cclassic) instructions for `.npmrc`, they say to base64 encode the password. Do not do this for `bun install`. Bun will automatically base64 encode the password for you if needed.