Socket
Socket
Sign inDemoInstall

wsrun

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wsrun - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

4

build/index.js

@@ -26,2 +26,3 @@ #!/usr/bin/env node

const doneCriteria = yargs_1.argv.doneCriteria;
const exclude = (yargs_1.argv.exclude && (Array.isArray(yargs_1.argv.exclude) ? yargs_1.argv.exclude : [yargs_1.argv.exclude])) || [];
const cmd = yargs_1.argv._[0];

@@ -45,3 +46,4 @@ const pkgName = yargs_1.argv._[1];

recursive,
doneCriteria
doneCriteria,
exclude
}, pkgPaths);

@@ -48,0 +50,0 @@ let runlist = yargs_1.argv._.slice(1);

@@ -41,2 +41,3 @@ /// <reference types="node" />

doneCriteria: string | undefined;
exclude: string[];
}

@@ -43,0 +44,0 @@ export declare class RunGraph {

@@ -163,2 +163,6 @@ "use strict";

return myDeps.then(() => {
if (this.opts.exclude.indexOf(pkg) >= 0) {
console.log('Package', pkg, 'in exclude list', this.opts.exclude, ': skipping');
return Promise.resolve();
}
let cmdLine = this.makeCmd(cmd, pkg);

@@ -165,0 +169,0 @@ const child = new CmdProcess(cmdLine, pkg, {

{
"name": "wsrun",
"version": "1.2.1",
"version": "1.2.2",
"description": "executes commands on packages in parallel, but is aware of the dependencies between them",

@@ -5,0 +5,0 @@ "main": "./build/index.js",

@@ -25,2 +25,3 @@ # Workspace command runner

--done-criteria=regex consider the process "done" when output line matches regex
--exclude pkgname skip actually running the command for that package
```

@@ -36,2 +37,4 @@

`yarn wsrun watch planc -r --exclude planc` will watch all of planc's dependencies but not planc
`yarn wsrun build h4zip -r --stages` will build all the deps. in order, then build h4zip

@@ -38,0 +41,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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