Configure npm to prefer online installation

Instead of using a local cache, so that mirror
checks apply.

Bug: none
Change-Id: Ifa87fcbcb6491f05194417dc586b32ed9099b928
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5478387
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
This commit is contained in:
Alex Rudenko
2024-04-24 06:51:39 +00:00
committed by Devtools-frontend LUCI CQ
parent e6256afd3f
commit 55e283c424
+1
View File
@@ -5,5 +5,6 @@ omit = optional # This is to avoid downloading esbuild-* package.
ignore-scripts = true
save-exact = true
save-dev = true # Only devDependencies are allowed.
prefer-online = true # To consult the mirror instead of local cache.
# See go/sk-npm-audit-mirror.
registry = https://npm.skia.org/chrome-devtools