New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ghost-cli

Package Overview
Dependencies
Maintainers
7
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghost-cli - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Ghost-CLI Changelog

<a name="1.7.3"></a>
## [1.7.3](https://github.com/TryGhost/Ghost-CLI/compare/1.7.2...1.7.3) (2018-05-10)
### Bug Fixes
* **doctor:** skip install dir checks for local installs ([#712](https://github.com/TryGhost/Ghost-CLI/issues/712)) ([4715aae](https://github.com/TryGhost/Ghost-CLI/commit/4715aae)), closes [#711](https://github.com/TryGhost/Ghost-CLI/issues/711)
### Features
* **start:** direct user to admin interface ([2850af3](https://github.com/TryGhost/Ghost-CLI/commit/2850af3)), closes [#665](https://github.com/TryGhost/Ghost-CLI/issues/665)
<a name="1.7.2"></a>

@@ -7,0 +18,0 @@ ## [1.7.2](https://github.com/TryGhost/Ghost-CLI/compare/1.7.1...1.7.2) (2018-05-01)

4

lib/commands/doctor/checks/install-folder-permissions.js

@@ -19,3 +19,5 @@ 'use strict';

}).then(() => {
if (ctx.local || !ctx.system.platform.linux || (ctx.argv && ctx.argv['setup-linux-user'] === false)) {
const isLocal = ctx.local || (ctx.instance && ctx.instance.process.name === 'local');
if (isLocal || !ctx.system.platform.linux || (ctx.argv && ctx.argv['setup-linux-user'] === false)) {
return Promise.resolve();

@@ -22,0 +24,0 @@ }

@@ -25,2 +25,4 @@ 'use strict';

const ProcessManager = require('../process-manager');
const url = require('url');
const chalk = require('chalk');

@@ -63,4 +65,16 @@ const instance = this.system.getInstance();

if (!argv.quiet) {
this.ui.log(`You can access your blog at ${instance.config.get('url')}`, 'cyan');
const isInstall = process.argv[2] === 'install';
let adminUrl = instance.config.get('admin.url') || instance.config.get('url');
adminUrl = url.resolve(adminUrl, '/ghost/');
this.ui.log(`You can access your publication at ${chalk.cyan(instance.config.get('url'))}`, 'white');
if (isInstall) {
// Show a different message after a fresh install
this.ui.log(`Next, go to to your admin interface at ${chalk.cyan(adminUrl)} to complete the setup of your publication`, 'white');
} else {
this.ui.log(`Your admin interface is located at ${chalk.cyan(adminUrl)}`, 'white');
}
if (instance.config.get('mail.transport') === 'Direct') {

@@ -67,0 +81,0 @@ this.ui.log('\nGhost uses direct mail by default', 'green');

{
"name": "ghost-cli",
"version": "1.7.2",
"version": "1.7.3",
"description": "Just a CLI manager (for a blogging platform)",

@@ -5,0 +5,0 @@ "author": "Ghost Foundation",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc