andrew2026-09-04 13:35已复制发布包到npmjs上,在仓库目录执行下面命令,如不指定registry,会使用本地的registry配置npm login --registry=https://registry.npmjs.orgnpm whoami --registry=https://registry.npmjs.orgnpm publish --registry=https://registry.npmjs.org详情