File tree 5 files changed +53
-4
lines changed
5 files changed +53
-4
lines changed Original file line number Diff line number Diff line change 79
79
80
80
# Start local registry
81
81
tmp_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 &
83
83
# Wait for `verdaccio` to boot
84
84
grep -q ' http address' <( tail -f $tmp_registry_log )
85
85
Original file line number Diff line number Diff line change 73
73
74
74
# Start local registry
75
75
tmp_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 &
77
77
# Wait for `verdaccio` to boot
78
78
grep -q ' http address' <( tail -f $tmp_registry_log )
79
79
Original file line number Diff line number Diff line change 86
86
87
87
# Start local registry
88
88
tmp_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 &
90
90
# Wait for `verdaccio` to boot
91
91
grep -q ' http address' <( tail -f $tmp_registry_log )
92
92
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ ${apply_changes}
98
98
node --version
99
99
npm --version
100
100
set +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"
102
102
$( [[ ${interactive} == ' true' ]] && echo ' bash' )
103
103
CMD
104
104
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