Skip to content

Commit

Permalink
test: improve e2e verdaccio configuration
Browse files Browse the repository at this point in the history
```
lerna notice total files:   64                                      
775
lerna notice 
776
lerna ERR! E503 one of the uplinks is down, refuse to publish
777
error Command failed with exit code 1.
778
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
779
Error: Process completed with exit code 1.
```
  • Loading branch information
juanpicado authored Aug 17, 2022
1 parent eac3239 commit 40fd731
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions admin/verdaccio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@

storage: ../storage

publish:
allow_offline: false

# A list of other known repositories we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@docusaurus/*':
access: $all
publish: $all
'@*/*':
access: $all
publish: $authenticated
proxy: npmjs
'**':
# Allow all users (including non-authenticated users) to read and
# publish all packages
Expand Down

0 comments on commit 40fd731

Please sign in to comment.