Skip to content

Commit

Permalink
test(workflows): fix verdaccio config to prevent publish conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk committed May 28, 2024
1 parent f89037a commit a9bb390
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .verdaccio/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,23 @@ uplinks:
maxage: 60m

packages:
'**':
# give all users (including non-authenticated users) full access
# because it is a local registry
# exceptions for external @code-pushup packages
'@code-pushup/portal-client':
access: $all
proxy: npmjs
'@code-pushup/eslint-config':
access: $all
proxy: npmjs

# allow publishing local packages
'@code-pushup/*':
access: $all
publish: $all
unpublish: $all

# if package is not available locally, proxy requests to npm registry
# proxy other packages to official NPM registry
'**':
access: $all
proxy: npmjs

# log settings
Expand Down

0 comments on commit a9bb390

Please sign in to comment.