New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.19 to 0.0.21-rc

build/commands/validateConfig.js

7

build/cli.js

@@ -65,4 +65,2 @@ #!/usr/bin/env node

var commands = __importStar(require("./commands"));
var DEFAULT_IMAGE = "ghcr.io/vizzly-co/query-engine:latest";
var DEFAULT_QUERY_ENGINE_PORT = "8000";
var program = new commander_1.Command();

@@ -86,2 +84,7 @@ program.description("Vizzly CLI.");

program
.command("validate")
.description("Validates a Vizzly config")
.option("-c, --config <type>", "Path to your Vizzly config.")
.action(commands.validateConfig);
program
.command("create-key-pair")

@@ -88,0 +91,0 @@ .description("Create public and private key pairs")

@@ -23,1 +23,2 @@ "use strict";

__exportStar(require("./configFromSQL"), exports);
__exportStar(require("./validateConfig"), exports);

@@ -29,6 +29,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.initVizzlyConfig = void 0;
exports.initVizzlyConfig = exports.DEFAULT_VIZZLY_CONFIG_FILE = void 0;
var VizzlyConfig = __importStar(require("../Models/VizzlyConfig"));
var fs_1 = __importDefault(require("fs"));
var chalk_1 = __importDefault(require("chalk"));
exports.DEFAULT_VIZZLY_CONFIG_FILE = "vizzly.config.json";
var readPublicCert = function (path) {

@@ -47,3 +48,3 @@ try {

var configAsString = JSON.stringify(initialVizzlyConfig, null, 2);
var vizzlyConfigFilePath = "vizzly.config.json";
var vizzlyConfigFilePath = exports.DEFAULT_VIZZLY_CONFIG_FILE;
fs_1.default.writeFileSync(vizzlyConfigFilePath, configAsString);

@@ -50,0 +51,0 @@ console.log(chalk_1.default.cyanBright("Written Vizzly config to '".concat(vizzlyConfigFilePath, "'.")));

"use strict";
// TODO initiate the different integration configs...
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
var init = function (publicKey) { return ({
connection: {},
connection: { client: "postgres", connection: {
password: "{{VIZZLY_POSTGRES_PASSWORD}}",
database: "{{VIZZLY_POSTGRES_DATABASE}}",
user: "{{VIZZLY_POSTGRES_USER}}",
host: "{{VIZZLY_POSTGRES_HOST}}",
port: 5432
} },
dataSets: [],

@@ -7,0 +14,0 @@ publicKeyCertificates: [publicKey],

{
"name": "@vizzly/cli",
"version": "0.0.19",
"version": "0.0.21-rc",
"main": "index.js",

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

"figlet": "^1.5.2",
"joi": "^17.7.0",
"jose": "^4.9.3",

@@ -47,0 +48,0 @@ "jwk-to-pem": "^2.0.5",

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