diff options
author | 2023-09-18 23:49:42 -0700 | |
---|---|---|
committer | 2023-09-18 23:49:42 -0700 | |
commit | db1263662c6bb4d39a1ebb2e623ccff03cc3bda9 (patch) | |
tree | 0438f952b7164187fe7d29211adfab9d4af47a30 | |
parent | 63afadcb91d9c8b623da2761f7c7628634baab22 (diff) | |
download | bun-db1263662c6bb4d39a1ebb2e623ccff03cc3bda9.tar.gz bun-db1263662c6bb4d39a1ebb2e623ccff03cc3bda9.tar.zst bun-db1263662c6bb4d39a1ebb2e623ccff03cc3bda9.zip |
Update azure-artifacts.md
-rw-r--r-- | docs/guides/install/azure-artifacts.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/guides/install/azure-artifacts.md b/docs/guides/install/azure-artifacts.md index 716d8dd3a..bc2e777f6 100644 --- a/docs/guides/install/azure-artifacts.md +++ b/docs/guides/install/azure-artifacts.md @@ -8,6 +8,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`. + ```toml#bunfig.toml [install.registry] url = "https://pkgs.dev.azure.com/my-azure-artifacts-user/_packaging/my-azure-artifacts-user/npm/registry" @@ -16,8 +18,6 @@ username = "my-azure-artifacts-user" password = "$NPM_PASSWORD" ``` -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. @@ -29,7 +29,7 @@ Like with the `npm` CLI, the environment variable to use is `NPM_CONFIG_REGISTRY The URL should include `:username` and `:_password` as query parameters. For example: -```bash +```bash#shell NPM_CONFIG_REGISTRY=https://pkgs.dev.azure.com/my-azure-artifacts-user/_packaging/my-azure-artifacts-user/npm/registry/:username=my-azure-artifacts-user:_password=my-azure-artifacts-password ``` |