-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(interop): parallelize and accept tarballs (#272)
- Loading branch information
Showing
11 changed files
with
428 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/env node | ||
|
||
// Ideally this would be just a Shell script but Windows exists and I don't want | ||
// to force Windows users to install Shell and configure it to be used to run | ||
// npm scripts (and break their Windows only projects?). | ||
|
||
const { spawnSync } = require("child_process"); | ||
|
||
const { status } = spawnSync( | ||
"node", | ||
[ | ||
"./bin/test-e2e-interop.js", | ||
// This is the shared stuff used in all of our projects. | ||
"--config", | ||
"./public/interop/base-config.json", | ||
// This is specific to this project. | ||
"--project", | ||
"vis-charts https://github.com/visjs/vis-charts.git", | ||
"--project", | ||
"vis-data https://github.com/visjs/vis-data.git", | ||
"--project", | ||
"vis-dev-utils ./vis-dev-utils-0.0.0-no-version.tgz", | ||
"--project", | ||
"vis-graph3d https://github.com/visjs/vis-graph3d.git", | ||
"--project", | ||
"vis-network https://github.com/visjs/vis-network.git", | ||
"--project", | ||
"vis-timeline https://github.com/visjs/vis-timeline.git", | ||
"--project", | ||
"vis-util https://github.com/visjs/vis-util.git", | ||
// Any additional options passed from the command line (e.g. a fail command | ||
// for debugging). | ||
...process.argv.slice(2), | ||
], | ||
{ stdio: "inherit" } | ||
); | ||
process.exitCode = status; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,11 @@ | ||
{ | ||
"package-script": [ | ||
"clean! build! test!", | ||
"vis-charts generate-examples-index!", | ||
"vis-data lint!", | ||
"vis-dev-utils lint!", | ||
"vis-graph3d lint! generate-examples-index!", | ||
"vis-network lint! generate-examples-index!", | ||
"vis-timeline generate-examples-index!", | ||
"vis-util lint!" | ||
], | ||
"remote-project": [ | ||
"vis-charts https://github.com/visjs/vis-charts.git", | ||
"vis-data https://github.com/visjs/vis-data.git", | ||
"vis-dev-utils https://github.com/visjs/vis-dev-utils.git", | ||
"vis-graph3d https://github.com/visjs/vis-graph3d.git", | ||
"vis-network https://github.com/visjs/vis-network.git", | ||
"vis-timeline https://github.com/visjs/vis-timeline.git", | ||
"vis-util https://github.com/visjs/vis-util.git" | ||
"vis-charts clean! build! test! generate-examples-index!", | ||
"vis-data clean! lint! build! test!", | ||
"vis-dev-utils clean! lint! build! test!", | ||
"vis-graph3d clean! lint! build! test! generate-examples-index!", | ||
"vis-network clean! lint! build! test! generate-examples-index!", | ||
"vis-timeline clean! build! test! generate-examples-index!", | ||
"vis-util clean! lint! build! test!" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.