Skip to content

Commit 1522214

Browse files
committed
add verdaccio config
1 parent 8c6d96b commit 1522214

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

.verdaccio/.htpasswd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test:$2a$10$12zY71UuH8SDo/7gjrNUluY8crlkoTaXsBjEp3LO/VmDpZ0/ggHwW:autocreated 2023-12-31T12:26:02.585Z

.verdaccio/.verdaccio.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
storage: ../.verdaccio-storage
2+
3+
store:
4+
memory:
5+
limit: 1000
6+
7+
listen:
8+
- localhost:4873
9+
10+
auth:
11+
htpasswd:
12+
file: .htpasswd
13+
max_users: 0
14+
algorithm: bcrypt
15+
rounds: 10
16+
17+
middlewares:
18+
audit:
19+
enabled: false
20+
21+
uplinks:
22+
npmjs:
23+
url: https://registry.npmjs.org/
24+
cache: false
25+
taobao:
26+
url: https://registry.npmmirror.com/
27+
cache: false
28+
29+
publish:
30+
allow_offline: true
31+
32+
packages:
33+
"create-hexo":
34+
access: $all
35+
publish: $all
36+
# proxy: npmjs
37+
"@*/*":
38+
access: $all
39+
publish: $all
40+
proxy: npmjs
41+
"**":
42+
access: $all
43+
publish: $all
44+
proxy: npmjs
45+
46+
web:
47+
enable: false
48+
49+
log:
50+
- { type: stdout, format: pretty, level: warn }

0 commit comments

Comments
 (0)