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 Token免登陆发包 | 前端路上 #6

Open
2ue opened this issue Apr 24, 2024 · 0 comments
Open

使用Npm Token免登陆发包 | 前端路上 #6

2ue opened this issue Apr 24, 2024 · 0 comments

Comments

@2ue
Copy link
Owner

2ue commented Apr 24, 2024

https://2ue.github.io/2019/10/12/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8Npm%20Token%E5%85%8D%E7%99%BB%E9%99%86%E5%8F%91%E5%8C%85.html

在使用 npm 包管理器进行包的发布时,通常需要手动登录 npm 账户,并且我们在本地使用npm时因为某些不可抗原因,使用了非npm官方源,导致我们每次发布都需要切换到官方源,显得非常繁琐。现在,通过使用 npm Token,可以避免手动登录,切换源等步骤,实现自动化发布流程,特别是在持续集成/持续部署(CI/CD)环境中。 1. 准备工作在开始之前,请确保:

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

No branches or pull requests

1 participant