File tree Expand file tree Collapse file tree 5 files changed +53
-4
lines changed Expand file tree Collapse file tree 5 files changed +53
-4
lines changed Original file line number Diff line number Diff line change 7979
8080# Start local registry
8181tmp_registry_log=` mktemp`
82- nohup npx verdaccio@2.7.2 & > $tmp_registry_log &
82+ nohup npx verdaccio@2.7.2 -c tasks/verdaccio.yaml & > $tmp_registry_log &
8383# Wait for `verdaccio` to boot
8484grep -q ' http address' <( tail -f $tmp_registry_log )
8585
Original file line number Diff line number Diff line change 7373
7474# Start local registry
7575tmp_registry_log=` mktemp`
76- nohup npx verdaccio@2.7.2 & > $tmp_registry_log &
76+ nohup npx verdaccio@2.7.2 -c tasks/verdaccio.yaml & > $tmp_registry_log &
7777# Wait for `verdaccio` to boot
7878grep -q ' http address' <( tail -f $tmp_registry_log )
7979
Original file line number Diff line number Diff line change 8686
8787# Start local registry
8888tmp_registry_log=` mktemp`
89- nohup npx verdaccio@2.7.2 & > $tmp_registry_log &
89+ nohup npx verdaccio@2.7.2 -c tasks/verdaccio.yaml & > $tmp_registry_log &
9090# Wait for `verdaccio` to boot
9191grep -q ' http address' <( tail -f $tmp_registry_log )
9292
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ ${apply_changes}
9898node --version
9999npm --version
100100set +x
101- ${test_command} && echo -e "\n\e[1;32m✔ Job passed\e[0m" || echo -e "\n\e[1;31m✘ Job failes \e[0m"
101+ ${test_command} && echo -e "\n\e[1;32m✔ Job passed\e[0m" || echo -e "\n\e[1;31m✘ Job failed \e[0m"
102102$( [[ ${interactive} == ' true' ]] && echo ' bash' )
103103CMD
104104
Original file line number Diff line number Diff line change 1+ #
2+ # This is the default config file. It allows all users to do anything,
3+ # so don't use it on production systems.
4+ #
5+ # Look here for more config file examples:
6+ # https://github.com/verdaccio/verdaccio/tree/master/conf
7+ #
8+
9+ # path to a directory with all packages
10+ storage : ./storage
11+
12+ auth :
13+ htpasswd :
14+ file : ./htpasswd
15+ # Maximum amount of users allowed to register, defaults to "+inf".
16+ # You can set this to -1 to disable registration.
17+ # max_users: 1000
18+
19+ # a list of other known repositories we can talk to
20+ uplinks :
21+ npmjs :
22+ url : https://registry.npmjs.org/
23+
24+ packages :
25+ ' @*/* ' :
26+ # scoped packages
27+ access : $all
28+ publish : $ll
29+ proxy : npmjs
30+
31+ ' ** ' :
32+ # allow all users (including non-authenticated users) to read and
33+ # publish all packages
34+ #
35+ # you can specify usernames/groupnames (depending on your auth plugin)
36+ # and three keywords: "$all", "$anonymous", "$authenticated"
37+ access : $all
38+
39+ # allow all known users to publish packages
40+ # (anyone can register by default, remember?)
41+ publish : $all
42+
43+ # if package is not available locally, proxy requests to 'npmjs' registry
44+ proxy : npmjs
45+
46+ # log settings
47+ logs :
48+ - {type: stdout, format: pretty, level: http}
49+ # - {type: file, path: verdaccio.log, level: info}
You can’t perform that action at this time.
0 commit comments