Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

每次发npm版本才能更新源,咋解? #116

Open
i5ting opened this issue Nov 10, 2021 · 1 comment
Open

每次发npm版本才能更新源,咋解? #116

i5ting opened this issue Nov 10, 2021 · 1 comment

Comments

@i5ting
Copy link
Collaborator

i5ting commented Nov 10, 2021

提问:每次发npm版本才能更新源,咋解?

将配置文件和npm包进行拆分,配置文件放到cdn上会更好。

@CaptainOfPhB
Copy link
Contributor

CaptainOfPhB commented Nov 11, 2021

可以放到 Vercel 上,配置还是写在 registries.json 中,但是通过打接口拿配置,以后添加 registry 就可以只用 push 到 master 不用发版了,接口拿到的 json 自动就是最新的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants