Michael Bradley, Jr
4812a0d1a2
additional warning re: potential version incompatibility
2018-10-22 19:53:50 +02:00
Michael Bradley, Jr
0f6e84bca3
return in the catch branch so the control flow is more clear
2018-10-22 19:53:49 +02:00
Michael Bradley, Jr
b9e592ae2e
color retry message yellow
2018-10-22 19:53:49 +02:00
Michael Bradley, Jr
1f47b163e4
auto-retry download with master branch
...
a fallback download of the master branch is attempted only for unqualified
template names
2018-10-22 19:53:49 +02:00
Michael Bradley, Jr
cc08a16ae3
calc a <major>.<minor> branch for unqualified template names
...
doesn't calc a branch if a url/shortcut is supplied that hostedGitInfo knows
how to parse
only does this for unqualified names if a committish isn't supplied, i.e.
doesn't override '#develop' in 'typescript#develop'
2018-10-22 19:43:16 +02:00
Michael Bradley, Jr
aa87614a98
don't log "Next steps" messages until `npm install` has finished
2018-10-22 19:25:15 +02:00
Michael Bradley, Jr
585e286adb
exit w/ error code if `npm install` fails
2018-10-22 19:25:15 +02:00
Michael Bradley, Jr
97f22a3543
consistent use of utils.errorMessage
2018-10-22 19:25:15 +02:00
Michael Bradley, Jr
36eabda506
rev error handling so error msg from hosted-git-info would be logged
2018-09-25 09:20:59 -05:00
Michael Bradley, Jr
cf67bd0332
rename var
2018-09-24 19:26:51 -05:00
Michael Bradley, Jr
d945f8f2f4
don't log complete/ready messages until after `npm install`
2018-09-24 17:44:53 -05:00
Michael Bradley, Jr
67f57217d5
log re: installing pkgs for built-in boilerplate not just demo
2018-09-24 17:44:53 -05:00
Michael Bradley, Jr
c8a9ac6048
tweak log messages
2018-09-24 17:44:53 -05:00
Michael Bradley, Jr
c2d92b19f3
log browsable url from info gen'd by hosted-git-info
2018-09-24 17:44:53 -05:00
Michael Bradley, Jr
1b7935678c
use hosted-git-info pkg to process --template name/url
2018-09-24 17:44:53 -05:00
Michael Bradley, Jr
82de81015b
allow for / in branch name when handling github shortcuts
2018-09-23 12:34:23 -05:00
Michael Bradley, Jr
a9865eedc5
provide helpful messages when template download fails
2018-09-11 15:44:54 -05:00
Michael Bradley, Jr
a44be3740b
template generator should report err msg and exit if download fails
2018-09-11 15:19:15 -05:00
eiselems
c99d75c9f1
Extend template_generator to support git urls and branches
...
This change will also:
* upgrade calls from HTTP to HTTPS
* update / add some tests
See: #765
2018-09-06 02:09:46 +02:00
Michael Bradley, Jr
2280d30cd1
don't continue with template install if destination path exists
2018-08-23 15:43:42 -05:00
Jonathan Rainville
6589101deb
fix sed issue in windows
2018-08-21 16:11:07 -04:00
Michael Bradley, Jr
f28c86666d
when installing template mv dot.gitignore -> .gitignore if it exists
2018-08-21 16:09:48 -04:00
Iuri Matias
9f529c7668
move template generator
2018-08-21 16:07:59 -04:00