1.0.3 • Published 2 years ago

verdaccio-taimei-auth v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

安装

npm install -g verdaccio-taimei-auth 

或者

yarn global add  verdaccio-taimei-auth

使用

  1. 在verdaccio服务的配置文件config.yaml增加配置文件例如:
# config.yaml
storage: ./storage
plugins: ./plugins

web:
    title: Verdaccio

auth:
    htpasswd:
        file: ./htpasswd
    # 新增的配置 start
    taimei-auth:
        file: ./auth.yaml
        realTimeReadConfig: true #是否实时读配置,可以不配,默认false
    # 新增的配置 end

# 省略
# ......

新增的配置auth.yaml

isTestRunning: true # 是否是在试运行,临时的配置,以后会去掉
publishAccess:
    #  事业部前缀
     clinical:
        # 事业部允许首部发包的用户列表
        - username1
        - username2
        - username3
   
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago