mazhansheng001
Advanced tools
Comparing version 1.0.2 to 1.0.3
13
index.js
@@ -30,3 +30,8 @@ /* | ||
module.exports = { | ||
format, | ||
phoneFormat, | ||
randomCode, | ||
pwdRegex | ||
} | ||
/* | ||
@@ -39,7 +44,7 @@ 流程: | ||
1.npm publish 上传失败 | ||
问题1:由于之前切换镜像,需将镜像切换至npm 镜像 | ||
问题1:由于之前切换镜像,需将镜像切换至 npm 镜像 | ||
npm config set registry https://registry.npmjs.org/ | ||
问题2: 包名在 npm 重复; 在 package.json 修改包名 | ||
问题 3:npm 登录失效; | ||
npm whoami 命令 检测npm 登录状态 返回npm 用户名则登录,失效重新登录 | ||
问题3:npm 登录失效; | ||
npm whoami 命令 检测npm 登录状态 返回npm 用户名则登录, 否则失效重新登录 | ||
@@ -46,0 +51,0 @@ |
{ | ||
"name": "mazhansheng001", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
<!-- | ||
1.注册 npm 账号 | ||
2.编写包 | ||
npm init -y 初始化生成 package.json 文件 | ||
1>.npm init -y 初始化生成 package.json 文件 | ||
3. 发包 | ||
@@ -6,0 +6,0 @@ 注意需要设置为npm镜像源:npm config set registry https://registry.npmjs.org/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4563
116