Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vizzly/cli

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vizzly/cli - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

build/api/createLiveDashboard.js

24

build/cli.js

@@ -92,2 +92,16 @@ #!/usr/bin/env node

program
.command("sign-in")
.description("Sign into Vizzly.")
.requiredOption("-t, --token <type>", "Single-use auth token found at app.vizzly.co")
.action(commands.signIn);
program
.command("create-live-dashboard")
.description("Create a new live dashboard.")
.action(commands.createLiveDashboard);
program
.command("upload-public-key")
.description("Upload your public key to your Vizzly account.")
.option("-pub, --public-key <type>", "Path to your public key.", commands.DEFAULT_PUBLIC_KEY_FILE_PATH)
.action(commands.uploadPublicKey);
program
.command("validate")

@@ -108,3 +122,3 @@ .description("Validates a Vizzly config")

program
.command("init")
.command("init-config")
.description("Create skeleton of the Vizzly config file.")

@@ -117,2 +131,10 @@ .addOption(new commander_1.Option("-i, --integration <integration>", "Integration type")

program
.command("setup")
.description("Create a Vizzly project.")
.addOption(new commander_1.Option("-i, --integration <integration>", "Integration type")
.choices(VizzlyConfig_1.SUPPORTED_CLIENTS)
.makeOptionMandatory())
.option("-pub, --public-key <type>", "Path to your public key.", commands.DEFAULT_PUBLIC_KEY_FILE_PATH)
.action(commands.setupVizzlyProject);
program
.command("docs")

@@ -119,0 +141,0 @@ .description("Open the Vizzly docs.")

@@ -24,1 +24,5 @@ "use strict";

__exportStar(require("./accessTokens"), exports);
__exportStar(require("./signIn"), exports);
__exportStar(require("./createLiveDashboard"), exports);
__exportStar(require("./uploadPublicKey"), exports);
__exportStar(require("./setupVizzlyProject"), exports);

11

build/commands/initVizzlyConfig.js

@@ -33,13 +33,6 @@ "use strict";

var chalk_1 = __importDefault(require("chalk"));
var readCertificate_1 = __importDefault(require("../readCertificate"));
exports.DEFAULT_VIZZLY_CONFIG_FILE = "vizzly.config.json";
var readPublicCert = function (path) {
try {
return fs_1.default.readFileSync(path).toString();
}
catch (e) {
return null;
}
};
var initVizzlyConfig = function (args) {
var publicKeyContent = readPublicCert(args.publicKey);
var publicKeyContent = (0, readCertificate_1.default)(args.publicKey);
if (publicKeyContent) {

@@ -46,0 +39,0 @@ var initialVizzlyConfig = VizzlyConfig.init(args.integration, publicKeyContent);

{
"name": "@vizzly/cli",
"version": "0.0.26",
"version": "0.0.27",
"main": "index.js",

@@ -47,2 +47,3 @@ "repository": "git@github.com:vizzly-co/cli.git",

"glob": "^8.0.3",
"isomorphic-fetch": "^3.0.0",
"joi": "^17.7.0",

@@ -52,2 +53,3 @@ "jose": "^4.9.3",

"lodash": "^4.17.21",
"node-fetch": "^3.3.0",
"node-jose": "^2.1.1",

@@ -54,0 +56,0 @@ "node-sql-parser": "^4.5.1"

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