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

quip-cli

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quip-cli - npm Package Compare versions

Comparing version 0.2.0-alpha.4 to 0.2.0-alpha.5

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# 0.2.0-alpha.5 (2021-03-03)
**Note:** Version bump only for package quip-cli
# 0.2.0-alpha.4 (2021-03-02)

@@ -8,0 +16,0 @@

5

lib/commands/bump.js

@@ -10,2 +10,3 @@ "use strict";

const semver_1 = tslib_1.__importDefault(require("semver"));
const config_1 = require("../lib/config");
const manifest_1 = require("../lib/manifest");

@@ -53,3 +54,3 @@ const print_1 = require("../lib/print");

try {
await util_1.runCmd(dir, "git", "add", manifestPath);
await util_1.runCmdPromise(dir, "git", "add", manifestPath);
}

@@ -69,3 +70,3 @@ catch (e) {

// run with --force since we will have a dirty tree (cause we added manifest.json above)
await util_1.runCmd(dir, "npm", "version", "--force", version, ...extraArgs);
await util_1.runCmd(dir, config_1.NPM_BINARY_NAME, "version", "--force", version, ...extraArgs);
if (!silent) {

@@ -72,0 +73,0 @@ print_1.println(chalk_1.default `{magenta Successfully updated ${manifest.name} v${manifest.version_name} (${manifest.version_number})}`);

4

lib/commands/init.js

@@ -222,3 +222,3 @@ "use strict";

print_1.println(chalk_1.default `{green installing dependencies...}`);
await util_1.runCmd(appDir, "npm", "install");
await util_1.runCmd(appDir, config_1.NPM_BINARY_NAME, "install");
// bump the version since we already have a version 0 in the console

@@ -229,3 +229,3 @@ print_1.println(chalk_1.default `{green bumping version...}`);

print_1.println(chalk_1.default `{green building app...}`);
await util_1.runCmd(appDir, "npm", "run", "build");
await util_1.runCmd(appDir, config_1.NPM_BINARY_NAME, "run", "build");
// then publish the new version

@@ -232,0 +232,0 @@ print_1.println(chalk_1.default `{green uploading bundle...}`);

export declare const DEFAULT_SITE = "quip.com";
export declare const SKIP_SSL_FOR_SITES: Set<string>;
export declare const NPM_BINARY_NAME: string;
interface QLAConfigSite {

@@ -4,0 +5,0 @@ accessToken: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.readConfig = exports.writeSiteConfig = exports.defaultConfigPath = exports.SKIP_SSL_FOR_SITES = exports.DEFAULT_SITE = void 0;
exports.readConfig = exports.writeSiteConfig = exports.defaultConfigPath = exports.NPM_BINARY_NAME = exports.SKIP_SSL_FOR_SITES = exports.DEFAULT_SITE = void 0;
const tslib_1 = require("tslib");

@@ -11,2 +11,5 @@ const fs_1 = tslib_1.__importDefault(require("fs"));

exports.SKIP_SSL_FOR_SITES = new Set(["quip.codes"]);
exports.NPM_BINARY_NAME = /^win/.test(process.platform)
? "npm.cmd"
: "npm";
exports.defaultConfigPath = () => path_1.default.join(os_1.default.homedir(), ".quiprc");

@@ -13,0 +16,0 @@ exports.writeSiteConfig = async (configPath, site, config) => {

@@ -24,3 +24,3 @@ "use strict";

}
return closestManifest;
return closestManifest ? path_1.default.join(dir, closestManifest) : undefined;
};

@@ -27,0 +27,0 @@ const FIND_INDENT = /^{\n(\s+)[^\s]/;

@@ -1,1 +0,1 @@

{"version":"0.2.0-alpha.4","commands":{"apps":{"id":"apps","description":"Browse, inspect, and manipulate your Apps","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"id":{"name":"id","type":"option","char":"i","description":"show the details of an app ID"},"version":{"name":"version","type":"option","char":"v","description":"which version to show the details for. Only useful with --id"},"json":{"name":"json","type":"boolean","char":"j","description":"output responses in JSON","allowNo":false},"config":{"name":"config","type":"option","description":"Use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[]},"bump":{"id":"bump","description":"Bump the application version (and create a version commit/tag)","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"message":{"name":"message","type":"option","char":"m","description":"Specify a commit message to use as the version commit message"},"prerelease-name":{"name":"prerelease-name","type":"option","char":"p","description":"When specifying prerelease, use this as the prefix, e.g. -p alpha will produce v0.x.x-alpha.x"},"no-git":{"name":"no-git","type":"boolean","char":"n","description":"Don't perform git operations even when available (just makes changes inline)","allowNo":false}},"args":[{"name":"increment","description":"which number to bump - can be one of 'prerelease', 'major', 'minor', or 'patch' - defaults to 'patch'"}]},"init":{"id":"init","description":"Initialize a new Live App Project","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"Print what this would do, but don't create any files.","hidden":true,"allowNo":false},"no-create":{"name":"no-create","type":"boolean","description":"only create a local app (don't create an app in the dev console or assign an ID)","allowNo":false},"no-release":{"name":"no-release","type":"boolean","description":"don't release the initial version (leave app uninstallable and in the \"unreleased\" state)","allowNo":false},"dir":{"name":"dir","type":"option","char":"d","description":"specify directory to create app in (defaults to the name provided)"},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"json":{"name":"json","type":"boolean","char":"j","description":"output responses in JSON (must provide --name and --id)","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"set the name of the application"},"id":{"name":"id","type":"option","char":"i","description":"set the ID of the application"},"config":{"name":"config","type":"option","description":"Use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[]},"login":{"id":"login","description":"Logs in to Quip and stores credentials in the .quiprc file","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"forces a re-login even if a user is currently logged in","allowNo":false},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"port":{"name":"port","type":"option","description":"Use a custom port for the OAuth redirect server (defaults to 9898)","hidden":true,"default":9898},"hostname":{"name":"hostname","type":"option","description":"Use a custom hostname for the OAuth redirect server (defaults to 127.0.0.1)","hidden":true,"default":"127.0.0.1"},"config":{"name":"config","type":"option","description":"Use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[]},"migration":{"id":"migration","description":"Creates a new migration","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"folder":{"name":"folder","type":"option","char":"f","description":"The folder where your migrations are stored","default":"migrations"},"version":{"name":"version","type":"option","char":"v","description":"The version to generate this migration for. By default, it will use the current version_number in the manifest"},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"Print what this would do, but don't create any files.","allowNo":false},"manifest":{"name":"manifest","type":"option","char":"m","description":"A manifest.json file to add the migration to. By default, we'll use the first one we find.","hidden":true}},"args":[{"name":"name","description":"A short description to generate the filename with"}]},"publish":{"id":"publish","description":"Uploads this bundle to the developer console, and sets it as the latest development version.","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output responses in JSON","allowNo":false},"ignore":{"name":"ignore","type":"option","char":"i","description":"blob to ignore. Defaults to 'node_modules'","default":"node_modules"},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"config":{"name":"config","type":"option","description":"Use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[]},"release":{"id":"release","description":"Release an app to Beta or Production","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"beta":{"name":"beta","type":"boolean","char":"b","description":"release beta version","allowNo":false},"prod":{"name":"prod","type":"boolean","char":"p","description":"release production version","allowNo":false},"major-changes":{"name":"major-changes","type":"option","description":"First party only: required when using --prod. Pass either YES or NO to indicate if this build contains major security, availability, or confidentiality changes","hidden":true,"helpValue":"(YES|NO)","options":["YES","NO"]},"json":{"name":"json","type":"boolean","char":"j","description":"output responses in JSON","allowNo":false},"config":{"name":"config","type":"option","description":"use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[{"name":"build number","description":"the build number to release"}]}}}
{"version":"0.2.0-alpha.5","commands":{"apps":{"id":"apps","description":"Browse, inspect, and manipulate your Apps","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"id":{"name":"id","type":"option","char":"i","description":"show the details of an app ID"},"version":{"name":"version","type":"option","char":"v","description":"which version to show the details for. Only useful with --id"},"json":{"name":"json","type":"boolean","char":"j","description":"output responses in JSON","allowNo":false},"config":{"name":"config","type":"option","description":"Use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[]},"bump":{"id":"bump","description":"Bump the application version (and create a version commit/tag)","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"message":{"name":"message","type":"option","char":"m","description":"Specify a commit message to use as the version commit message"},"prerelease-name":{"name":"prerelease-name","type":"option","char":"p","description":"When specifying prerelease, use this as the prefix, e.g. -p alpha will produce v0.x.x-alpha.x"},"no-git":{"name":"no-git","type":"boolean","char":"n","description":"Don't perform git operations even when available (just makes changes inline)","allowNo":false}},"args":[{"name":"increment","description":"which number to bump - can be one of 'prerelease', 'major', 'minor', or 'patch' - defaults to 'patch'"}]},"init":{"id":"init","description":"Initialize a new Live App Project","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"Print what this would do, but don't create any files.","hidden":true,"allowNo":false},"no-create":{"name":"no-create","type":"boolean","description":"only create a local app (don't create an app in the dev console or assign an ID)","allowNo":false},"no-release":{"name":"no-release","type":"boolean","description":"don't release the initial version (leave app uninstallable and in the \"unreleased\" state)","allowNo":false},"dir":{"name":"dir","type":"option","char":"d","description":"specify directory to create app in (defaults to the name provided)"},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"json":{"name":"json","type":"boolean","char":"j","description":"output responses in JSON (must provide --name and --id)","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"set the name of the application"},"id":{"name":"id","type":"option","char":"i","description":"set the ID of the application"},"config":{"name":"config","type":"option","description":"Use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[]},"login":{"id":"login","description":"Logs in to Quip and stores credentials in the .quiprc file","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"forces a re-login even if a user is currently logged in","allowNo":false},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"port":{"name":"port","type":"option","description":"Use a custom port for the OAuth redirect server (defaults to 9898)","hidden":true,"default":9898},"hostname":{"name":"hostname","type":"option","description":"Use a custom hostname for the OAuth redirect server (defaults to 127.0.0.1)","hidden":true,"default":"127.0.0.1"},"config":{"name":"config","type":"option","description":"Use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[]},"migration":{"id":"migration","description":"Creates a new migration","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"folder":{"name":"folder","type":"option","char":"f","description":"The folder where your migrations are stored","default":"migrations"},"version":{"name":"version","type":"option","char":"v","description":"The version to generate this migration for. By default, it will use the current version_number in the manifest"},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"Print what this would do, but don't create any files.","allowNo":false},"manifest":{"name":"manifest","type":"option","char":"m","description":"A manifest.json file to add the migration to. By default, we'll use the first one we find.","hidden":true}},"args":[{"name":"name","description":"A short description to generate the filename with"}]},"publish":{"id":"publish","description":"Uploads this bundle to the developer console, and sets it as the latest development version.","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output responses in JSON","allowNo":false},"ignore":{"name":"ignore","type":"option","char":"i","description":"blob to ignore. Defaults to 'node_modules'","default":"node_modules"},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"config":{"name":"config","type":"option","description":"Use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[]},"release":{"id":"release","description":"Release an app to Beta or Production","pluginName":"quip-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"site":{"name":"site","type":"option","char":"s","description":"use a specific quip site rather than the standard quip.com login","default":"quip.com"},"beta":{"name":"beta","type":"boolean","char":"b","description":"release beta version","allowNo":false},"prod":{"name":"prod","type":"boolean","char":"p","description":"release production version","allowNo":false},"major-changes":{"name":"major-changes","type":"option","description":"First party only: required when using --prod. Pass either YES or NO to indicate if this build contains major security, availability, or confidentiality changes","hidden":true,"helpValue":"(YES|NO)","options":["YES","NO"]},"json":{"name":"json","type":"boolean","char":"j","description":"output responses in JSON","allowNo":false},"config":{"name":"config","type":"option","description":"use a custom config file (default ~/.quiprc)","hidden":true,"default":"/home/runner/.quiprc"}},"args":[{"name":"build number","description":"the build number to release"}]}}}
{
"name": "quip-cli",
"description": "A Command Line Interface for the Quip Live Apps platform",
"version": "0.2.0-alpha.4",
"version": "0.2.0-alpha.5",
"author": "Quip",

@@ -92,3 +92,3 @@ "bin": {

"types": "lib/index.d.ts",
"gitHead": "aba5b261ae0384495bb62d22c8a8b4d5b3a89c32"
"gitHead": "3747cf35a468b5277ab5fb60e18735984423b5b8"
}
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