Socket
Socket
Sign inDemoInstall

@percy/cli-exec

Package Overview
Dependencies
Maintainers
6
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/cli-exec - npm Package Compare versions

Comparing version 1.0.0-beta.39 to 1.0.0-beta.40

9

dist/commands/exec/index.js

@@ -58,2 +58,7 @@ "use strict";

process.env.PERCY_PARALLEL_TOTAL = '-1';
} // set environment partial build flag
if (this.flags.partial) {
process.env.PERCY_PARTIAL_BUILD = '1';
} // attempt to start percy if enabled

@@ -115,4 +120,6 @@

parallel: _cliCommand.flags.boolean({
char: 'p',
description: 'marks the build as one of many parallel builds'
}),
partial: _cliCommand.flags.boolean({
description: 'marks the build as a partial build'
})

@@ -119,0 +126,0 @@ });

2

oclif.manifest.json

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

{"version":"1.0.0-beta.39","commands":{"exec":{"id":"exec","description":"Start and stop Percy around a supplied command","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"examples":["$ percy exec -- echo \"percy is running around this echo command\"","$ percy exec -- yarn test"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338},"parallel":{"name":"parallel","type":"boolean","char":"p","description":"marks the build as one of many parallel builds","allowNo":false}},"args":[]},"exec:ping":{"id":"exec:ping","description":"Pings a local running Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]},"exec:start":{"id":"exec:start","description":"Starts a local Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"examples":["$ percy exec:start","$ percy exec:start &> percy.log"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]},"exec:stop":{"id":"exec:stop","description":"Stops a local running Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]}}}
{"version":"1.0.0-beta.40","commands":{"exec":{"id":"exec","description":"Start and stop Percy around a supplied command","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"examples":["$ percy exec -- echo \"percy is running around this echo command\"","$ percy exec -- yarn test"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338},"parallel":{"name":"parallel","type":"boolean","description":"marks the build as one of many parallel builds","allowNo":false},"partial":{"name":"partial","type":"boolean","description":"marks the build as a partial build","allowNo":false}},"args":[]},"exec:ping":{"id":"exec:ping","description":"Pings a local running Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]},"exec:start":{"id":"exec:start","description":"Starts a local Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"examples":["$ percy exec:start","$ percy exec:start &> percy.log"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]},"exec:stop":{"id":"exec:stop","description":"Stops a local running Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]}}}
{
"name": "@percy/cli-exec",
"description": "capture and upload snapshots",
"version": "1.0.0-beta.39",
"version": "1.0.0-beta.40",
"license": "MIT",

@@ -15,8 +15,8 @@ "main": "dist/index.js",

"scripts": {
"build": "cross-env NODE_ENV=production babel src --out-dir dist --root-mode upward",
"build": "node ../../scripts/build",
"lint": "eslint --ignore-path ../../.gitignore .",
"postbuild": "oclif-dev manifest",
"readme": "oclif-dev readme",
"test": "cross-env NODE_ENV=test mocha",
"test:coverage": "nyc yarn test"
"test": "node ../../scripts/test",
"test:coverage": "yarn test --coverage"
},

@@ -26,6 +26,2 @@ "publishConfig": {

},
"mocha": {
"require": "../../scripts/babel-register",
"timeout": 10000
},
"oclif": {

@@ -44,9 +40,9 @@ "bin": "percy",

"dependencies": {
"@percy/cli-command": "^1.0.0-beta.39",
"@percy/core": "^1.0.0-beta.39",
"@percy/logger": "^1.0.0-beta.39",
"@percy/cli-command": "^1.0.0-beta.40",
"@percy/core": "^1.0.0-beta.40",
"@percy/logger": "^1.0.0-beta.40",
"cross-spawn": "^7.0.3",
"which": "^2.0.2"
},
"gitHead": "bd5cea12ca0d21ca167ce9100df2ead274428b7e"
"gitHead": "1607ab0f5dbe5ab8ef3c9f7b6c2a89f66533348c"
}
# @percy/cli-exec
Percy CLI commands for running a local snapshot server using `@percy/core`.
Percy CLI commands for running a local snapshot server using [`@percy/core`](./packages/core).

@@ -24,3 +24,2 @@ ## Commands

-h, --allowed-hostname=allowed-hostname allowed hostnames
-p, --parallel marks the build as one of many parallel builds
-q, --quiet log errors only

@@ -30,2 +29,4 @@ -t, --network-idle-timeout=network-idle-timeout asset discovery idle timeout

--disable-cache disable asset discovery caches
--parallel marks the build as one of many parallel builds
--partial marks the build as a partial build
--silent log nothing

@@ -32,0 +33,0 @@

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