From 6f7a28b3594fdd3412928b5c597ab5fff1011461 Mon Sep 17 00:00:00 2001 From: Chad Killingsworth Date: Mon, 26 Sep 2016 06:48:36 -0500 Subject: [PATCH] Update the configs to fully support proxying scoped packages from the npm registry --- conf/default.yaml | 3 ++- conf/docker.yaml | 3 ++- conf/full.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/conf/default.yaml b/conf/default.yaml index fca9e122c..43e071c49 100644 --- a/conf/default.yaml +++ b/conf/default.yaml @@ -26,8 +26,9 @@ packages: # scoped packages access: $all publish: $authenticated + proxy: npmjs - '*': + '**': # allow all users (including non-authenticated users) to read and # publish all packages # diff --git a/conf/docker.yaml b/conf/docker.yaml index 9e6e7dbdc..b55be010d 100644 --- a/conf/docker.yaml +++ b/conf/docker.yaml @@ -26,8 +26,9 @@ packages: # scoped packages access: $all publish: $all + proxy: npmjs - '*': + '**': # allow all users (including non-authenticated users) to read and # publish all packages # diff --git a/conf/full.yaml b/conf/full.yaml index a8786cfd0..1d0c011a2 100644 --- a/conf/full.yaml +++ b/conf/full.yaml @@ -60,7 +60,7 @@ packages: # # you can override storage directory for a group of packages this way: # storage: 'local_storage' - '*': + '**': # allow all users to read packages (including non-authenticated users) # # you can specify usernames/groupnames (depending on your auth plugin)