File tree Expand file tree Collapse file tree 4 files changed +1404
-213
lines changed Expand file tree Collapse file tree 4 files changed +1404
-213
lines changed Original file line number Diff line number Diff line change @@ -30,5 +30,6 @@ coverage
30
30
.vscode /
31
31
* .report.html
32
32
33
+ scripts /release /verdaccio
33
34
# used when doing subtree splitting to read-only repos
34
35
.subsplit
Original file line number Diff line number Diff line change 44
44
"postbootstrap" : " node scripts/monorepo-tests.js" ,
45
45
"commit" : " git-cz" ,
46
46
"release:rc" : " ./scripts/release/rc-release.sh" ,
47
- "release" : " ./scripts/release/release.sh"
47
+ "release" : " ./scripts/release/release.sh" ,
48
+ "_verdaccio" : " rm -rf scripts/release/verdaccio && npm run config:verdaccio & npm run start:verdaccio" ,
49
+ "_start:verdaccio" : " verdaccio --listen 4000 -c scripts/release/verdaccio.yml" ,
50
+ "_config:verdaccio" : " wait-on http://localhost:4000/ && npx npm-auth-to-token@1.0.0 -u 'bolt' -p 'bolt' -e 'bolt@boltdesignsystem.com' -r http://localhost:4000 && rm -rf scripts/release/verdaccio/storage/@bolt"
48
51
},
49
52
"dependencies" : {
53
+ "wait-on" : " ^3.2.0" ,
54
+ "verdaccio" : " ^3.10.1" ,
50
55
"ci-utils" : " ^0.5.0" ,
51
56
"sassdoc" : " ^2.5.0" ,
52
57
"npm-run-all" : " ^4.1.5" ,
Original file line number Diff line number Diff line change
1
+ #
2
+ # This is based on verdaccio's default config file. It allows all users
3
+ # to do anything, 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 : ./verdaccio/storage
11
+
12
+ auth :
13
+ htpasswd :
14
+ file : ./verdaccio/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 : $all
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