inftest-cli
Advanced tools
Comparing version 0.0.4 to 0.0.6
// config info | ||
const CONFIG = { | ||
projectName: 'inftest-cli', | ||
authorID: 'maxiaodong04', // missId | ||
templateName: 'inftest-cli', // 模板名称 | ||
projectName: 'react-cli', | ||
authorID: 'li-shuaishuai', // github ID | ||
templateName: 'react-template', // 模板名称 | ||
branch: 'master', // 下载模板的分支 | ||
@@ -8,0 +8,0 @@ npmReg: 'https://registry.npmjs.org/', |
@@ -14,3 +14,3 @@ | ||
return new Promise((resolve, reject) => { | ||
download('direct:ssh://git@git.sankuai.com/~maxiaodong04/mxd-first-rep.git', target, (err) => { | ||
download(`${CONFIG.authorID}/${CONFIG.templateName}#${CONFIG.branch}`, target, (err) => { | ||
if (err) { | ||
@@ -17,0 +17,0 @@ spinner.fail(); |
{ | ||
"name": "inftest-cli", | ||
"version": "0.0.4", | ||
"version": "0.0.6", | ||
"description": "auto make", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
2562