ghost-cli
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,2 +5,18 @@ # Ghost-CLI Changelog | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/TryGhost/Ghost-CLI/compare/1.0.0...1.0.1) (2017-07-29) | ||
### Bug Fixes | ||
* **config:** Allow all wellknown mail services ([3cc07b9](https://github.com/TryGhost/Ghost-CLI/commit/3cc07b9)), closes [#383](https://github.com/TryGhost/Ghost-CLI/issues/383) | ||
* **config:** transform urls to lowercase ([185334e](https://github.com/TryGhost/Ghost-CLI/commit/185334e)), closes [#399](https://github.com/TryGhost/Ghost-CLI/issues/399) | ||
* **migration:** don't hide migration errors ([42a9832](https://github.com/TryGhost/Ghost-CLI/commit/42a9832)), closes [#378](https://github.com/TryGhost/Ghost-CLI/issues/378) | ||
* **run:** disable update check on `ghost run` ([7abe68b](https://github.com/TryGhost/Ghost-CLI/commit/7abe68b)), closes [#356](https://github.com/TryGhost/Ghost-CLI/issues/356) | ||
* **setup:** re-add ability for linux-user step to be skipped with flag ([605dd02](https://github.com/TryGhost/Ghost-CLI/commit/605dd02)), closes [#385](https://github.com/TryGhost/Ghost-CLI/issues/385) | ||
* **ui:** fix typo in error output (#398) ([b44937f](https://github.com/TryGhost/Ghost-CLI/commit/b44937f)), closes [#398](https://github.com/TryGhost/Ghost-CLI/issues/398) | ||
### Features | ||
* **help:** add status as an alias for 'ls' (#380) ([0877523](https://github.com/TryGhost/Ghost-CLI/commit/0877523)) | ||
<a name="1.0.0"></a> | ||
@@ -7,0 +23,0 @@ # [1.0.0](https://github.com/TryGhost/Ghost-CLI/compare/1.0.0-rc.4...v1.0.0) (2017-07-22) |
@@ -19,2 +19,3 @@ 'use strict'; | ||
insall: 'install', | ||
status: 'ls', | ||
upgrade: 'update', | ||
@@ -21,0 +22,0 @@ udpate: 'update' |
@@ -11,4 +11,4 @@ 'use strict'; | ||
const knownMailServices = [ | ||
'AOL', 'DynectEmail', 'Gmail', 'hot.ee', 'Hotmail', 'iCloud', 'mail.ee', 'Mail.Ru', 'Mailgun', | ||
'Mailjet', 'Mandrill', 'Postmark', 'QQ', 'QQex (Tencent Business Email)', 'SendGrid', | ||
'AOL', 'DynectEmail', 'FastMail', 'Gmail', 'GoDaddy', 'GoDaddyAsia', 'GoDaddyEurope', 'hot.ee', 'Hotmail', 'iCloud', | ||
'mail.ee', 'Mail.Ru', 'Mailgun', 'Mailjet', 'Mandrill', 'Postmark', 'QQ', 'QQex', 'SendGrid', | ||
'SendCloud', 'SES', 'Yahoo', 'yandex', 'Zoho' | ||
@@ -28,2 +28,3 @@ ]; | ||
'Invalid URL. Your URL should include a protocol, E.g. http://my-ghost-blog.com', | ||
transform: value => value.toLowerCase(), | ||
type: 'string', | ||
@@ -37,2 +38,3 @@ group: 'Ghost Options:' | ||
'Invalid URL. Your URL should include a protocol, E.g. http://my-ghost-blog.com', | ||
transform: value => value.toLowerCase(), | ||
type: 'string', | ||
@@ -39,0 +41,0 @@ group: 'Ghost Options:' |
@@ -38,2 +38,6 @@ 'use strict'; | ||
if (value && option.transform) { | ||
value = option.transform(value); | ||
} | ||
return Promise.resolve(option.validate ? option.validate(value) : true).then((validated) => { | ||
@@ -40,0 +44,0 @@ if (validated !== true) { |
@@ -112,3 +112,3 @@ 'use strict'; | ||
if (!argv.local && os.platform() === 'linux') { | ||
if (!argv.local && argv['setup-linux-user'] !== false && os.platform() === 'linux') { | ||
initialStages.push({ | ||
@@ -115,0 +115,0 @@ title: 'Setting up "ghost" system user', |
@@ -34,5 +34,3 @@ 'use strict'; | ||
preferLocal: true, | ||
localDir: __dirname, | ||
stdout: 'ignore', | ||
stderr: 'pipe' | ||
localDir: __dirname | ||
}); | ||
@@ -39,0 +37,0 @@ } |
@@ -303,3 +303,3 @@ 'use strict'; | ||
// maunally generates this error) | ||
this.log(`A ${error.type} occured.\n`, 'red'); | ||
this.log(`A ${error.type} occurred.\n`, 'red'); | ||
@@ -306,0 +306,0 @@ // We always want to output the verbose error to the logfile, so we go ahead and get it now |
{ | ||
"name": "ghost-cli", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Just a CLI manager (for a blogging platform)", | ||
@@ -88,3 +88,8 @@ "author": "Ghost Foundation", | ||
"tmp": "0.0.31" | ||
}, | ||
"standard-version": { | ||
"skip": { | ||
"tag": true | ||
} | ||
} | ||
} |
@@ -21,5 +21,5 @@ # Ghost-CLI | ||
- [Complete Setup Guide](https://docs.ghost.org/docs/installing-ghost-via-the-cli) | ||
- [Command Reference](https://docs.ghost.org/v1.0.0/docs/overview) | ||
- [Troubleshooting Guide](https://docs.ghost.org/v1.0.0/docs/troubleshooting-guide#section-cli-errors) | ||
- [Complete Setup Guide](https://docs.ghost.org/docs/install) | ||
- [Command Reference](https://docs.ghost.org/v1.0.0/docs/ghost-cli) | ||
- [Troubleshooting Guide](https://docs.ghost.org/v1.0.0/docs/troubleshooting#section-cli-errors) | ||
@@ -26,0 +26,0 @@ ## Developer Setup (for contributing) |
Sorry, the diff of this file is not supported yet
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
328521
4033