Socket
Socket
Sign inDemoInstall

wsrun

Package Overview
Dependencies
Maintainers
8
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 5.0.0 to 5.0.1

4

build/cmd-process.js

@@ -87,5 +87,3 @@ "use strict";

autoPathRewrite(line) {
return this.opts.pathRewriter
? this.opts.pathRewriter(this.opts.path, this.pkgName, line)
: line;
return this.opts.pathRewriter ? this.opts.pathRewriter(this.opts.path, line) : line;
}

@@ -92,0 +90,0 @@ autoAugmentLine(line) {

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

});
// close all children on ctrl+c
process.on('SIGINT', () => {
runner.closeAll();
process.exit(130);
});
//# sourceMappingURL=index.js.map

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

}
processFilePaths(basePath, line) {
return fix_paths_1.fixPaths(this.wspath, basePath, line);
}
}

@@ -40,9 +37,4 @@ class RunGraph {

this.prefixer = new Prefixer(this.opts.workspacePath).prefixer;
this.pathRewriter = fix_paths_1.fixPaths;
this.closeAll = () => {
console.log('Stopping', this.children.length, 'active children');
this.children.forEach(ch => ch.stop());
};
this.pathRewriter = (pkgPath, line) => fix_paths_1.fixPaths(this.opts.workspacePath, pkgPath, line);
this.checkResultsAndReport = this.checkResultsAndReport.bind(this);
this.closeAll = this.closeAll.bind(this);
pkgJsons.forEach(j => this.jsonMap.set(j.name, j));

@@ -58,4 +50,7 @@ this.children = [];

this.throat = mkThroat(opts.concurrency);
process.on('SIGINT', this.closeAll); // close all children on ctrl+c
}
closeAll() {
console.log('Stopping', this.children.length, 'active children');
this.children.forEach(ch => ch.stop());
}
lookupOrRun(cmd, pkg) {

@@ -62,0 +57,0 @@ let proc = this.procmap.get(pkg);

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

@@ -8,3 +8,2 @@ "main": "./build/index.js",

"license": "MIT",
"repository": "github:whoeverest/wsrun",
"jest": {

@@ -51,2 +50,3 @@ "verbose": false,

"rimraf": "^2.6.2",
"semantic-release": "^15.13.18",
"ts-jest": "23.10.5",

@@ -61,3 +61,4 @@ "typescript": "^3.1.1"

"dev": "run-p test:watch watch",
"prepublish": "tsc"
"prepublish": "tsc",
"release": "semantic-release"
},

@@ -64,0 +65,0 @@ "dependencies": {

# Workspace script runner
Run npm scripts in a yarn workspace.
Run npm scripts or custom commands in a yarn workspace

@@ -70,3 +70,3 @@ ### Usage:

#### Arguments and extra scripts
#### Additional arguments to scripts

@@ -79,2 +79,4 @@ If you want to pass additional arguments to the command you can do that by adding them after the

#### Commands not in the scripts field
When `--skip-missing` is not used, you can pass a command that doesn't exist in the scripts field:

@@ -81,0 +83,0 @@

Sorry, the diff of this file is not supported yet

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