From ef98a1b76167069e360291b9901ece985c6fa263 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Tue, 19 Sep 2023 13:38:00 -0700 Subject: Improve formatting again --- docs/guides/install/azure-artifacts.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/guides/install') diff --git a/docs/guides/install/azure-artifacts.md b/docs/guides/install/azure-artifacts.md index b1b3cae1d..a317dff43 100644 --- a/docs/guides/install/azure-artifacts.md +++ b/docs/guides/install/azure-artifacts.md @@ -14,6 +14,8 @@ To use it with `bun install`, add a `bunfig.toml` file to your project with the ### Configure with bunfig.toml +--- + Make sure to replace `my-azure-artifacts-user` with your Azure Artifacts username, such as `jarred1234`. 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. @@ -30,6 +32,8 @@ password = "$NPM_PASSWORD" ### Configure with environment variables +--- + You can also use an environment variable to configure Azure Artifacts with `bun install`. Like with the `npm` CLI, the environment variable to use is `NPM_CONFIG_REGISTRY`. The URL should include `:username` and `:_password` as query parameters. Replace `` and `` with the apprropriate values. -- cgit v1.2.3