Skip to content

Commit a9bb390

Browse files
committed
test(workflows): fix verdaccio config to prevent publish conflicts
1 parent f89037a commit a9bb390

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.verdaccio/config.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,23 @@ uplinks:
88
maxage: 60m
99

1010
packages:
11-
'**':
12-
# give all users (including non-authenticated users) full access
13-
# because it is a local registry
11+
# exceptions for external @code-pushup packages
12+
'@code-pushup/portal-client':
13+
access: $all
14+
proxy: npmjs
15+
'@code-pushup/eslint-config':
16+
access: $all
17+
proxy: npmjs
18+
19+
# allow publishing local packages
20+
'@code-pushup/*':
1421
access: $all
1522
publish: $all
1623
unpublish: $all
1724

18-
# if package is not available locally, proxy requests to npm registry
25+
# proxy other packages to official NPM registry
26+
'**':
27+
access: $all
1928
proxy: npmjs
2029

2130
# log settings

0 commit comments

Comments
 (0)