From 1eb97b229db72a0e906a0ecd4fb2600fe1843581 Mon Sep 17 00:00:00 2001 From: Marcus Hultman Date: Fri, 15 Sep 2023 18:05:22 -0400 Subject: [PATCH] Config - Add npmRegistry (#667) Co-authored-by: Kevin Whinnery --- getting_started/configuration_file.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/getting_started/configuration_file.md b/getting_started/configuration_file.md index 9ddc5779..45413353 100644 --- a/getting_started/configuration_file.md +++ b/getting_started/configuration_file.md @@ -107,6 +107,10 @@ Used to specify a different file name for the lockfile. By default deno will use Used to enable or disable the `node_modules` directory when using npm packages. +## `npmRegistry` + +Used to specify a custom npm registry for npm specifiers. + ## `compilerOptions` `deno.json` can also act as a TypeScript configuration file and supports @@ -148,6 +152,7 @@ See also }, "lock": false, "nodeModulesDir": true, + "npmRegistry": "https://mycompany.net/artifactory/api/npm/virtual-npm", "test": { "include": ["src/"], "exclude": ["src/testdata/", "data/fixtures/**/*.ts"]