Comparing version 0.24.0-rc.2 to 0.24.0-rc.3
@@ -19,5 +19,5 @@ | ||
return next() | ||
} else { | ||
sdk.manifest(domain, { user: "token", pass: req.creds.token }, function(error, response){ | ||
helpers.displayAnalytics(response) | ||
} else { | ||
sdk.manifest(domain, { user: "token", pass: req.creds.token }, function(error, manifest){ | ||
helpers.displayManifest(manifest, domain) | ||
return next() | ||
@@ -24,0 +24,0 @@ }) |
@@ -7,3 +7,3 @@ var helpers = require("../util/helpers") | ||
.log() | ||
.log(" " + req.configuration.platform.replace(/^\w/, c => c.toUpperCase()).underline.blue, "- Static Web Publishing".brightYellow, req.pkg.version.grey) | ||
.log(" " + req.configuration.platform.replace(/^\w/, c => c.toUpperCase()).underline.blue, ("⚡ " + req.pkg.description).brightYellow, req.pkg.version.grey) | ||
.log() | ||
@@ -10,0 +10,0 @@ .log(" "+ req.configuration.name +" "+"(opt --preview)".grey+" publish with prompts".grey) |
@@ -523,4 +523,4 @@ var colors = require("colors") | ||
exports.displayGuide = function(data){ | ||
var table = tables.guide(data) | ||
exports.displayManifest = function(data, domain){ | ||
var table = tables.manifest(data, domain) | ||
var rows = table.toString().split("\n") | ||
@@ -527,0 +527,0 @@ space() |
@@ -278,3 +278,3 @@ | ||
exports.guide = function(guide){ | ||
exports.manifest = function(manifest, domain){ | ||
var table = new Table({ | ||
@@ -289,9 +289,9 @@ chars: cleanTable, | ||
var files = Object.keys(guide.manifest) | ||
var files = Object.keys(manifest) | ||
files.forEach(function(file){ | ||
table.push([ | ||
{ content: xbytes(guide.manifest[file]["size"]).cyan, hAlign: "right" }, | ||
{ content: xbytes(manifest[file]["size"]).cyan, hAlign: "right" }, | ||
//{ content: manifest[file]["md5sum"].grey }, | ||
{ content: guide.domain.green + file.grey, } | ||
{ content: domain.green + file.grey, } | ||
@@ -298,0 +298,0 @@ ]) |
{ | ||
"name": "surge", | ||
"version": "0.24.0-rc.2", | ||
"description": "CDN for front-end developers", | ||
"version": "0.24.0-rc.3", | ||
"description": "Static Web Publishing", | ||
"author": "Brock Whitten <brock@chloi.io>", | ||
@@ -21,3 +21,3 @@ "bin": "./bin/surge", | ||
"surge-ignore": "0.2.0", | ||
"surge-sdk": "0.3.2", | ||
"surge-sdk": "0.3.3", | ||
"url-parse-as-address": "1.0.0", | ||
@@ -24,0 +24,0 @@ "xbytes": "^1.7.0" |
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
214138
+ Addedsurge-sdk@0.3.3(transitive)
- Removedsurge-sdk@0.3.2(transitive)
Updatedsurge-sdk@0.3.3