Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
executes commands on packages in parallel, but is aware of the dependencies between them
Run npm scripts in a yarn workspace, like a boss.
wsrun cmd [<package>] [options]
Options:
Mode (choose one):
--parallel fully parallel mode (default)
--stages run in stages; start with packages that have no deps.
--serial same as "stages", but with no parallelism at the stage level
Individual package opts:
-r, --recursive execute the same script on all of its dependencies, too
Misc:
--fast-exit if at least one script exits with code > 0, abort
--collect-logs collect per-package stdout, print everything at the end, grouped
--no-prefix don't prefix output
--bin=yarn which program should we pass the script to (default yarn)
--done-criteria=regex consider the process "done" when output line matches regex
--exclude pkgname skip actually running the script for that package
--exclude-missing skip packages which lack the specified script
--report show an execution report once all scripts are finished
yarn wsrun watch
will run yarn watch
on every individual package, in parallel.
yarn wsrun build --stages
will build all packages, in stages, starting from those that don't
depend on other packages.
yarn wsrun watch planc -r
will watch planc and all of its dependencies.
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
yarn wsrun watch planc -r --stages --done-criteria='Compilation complete'
will watch planc deps,
in order, continuing when command outputs "Compilation complete"
yarn wsrun clean
will remove "build" folders in every package.
yarn wsrun test
will test every package.
yarn wsrun test --exclude-missing
will run the test script only on packages that have it
FAQs
executes commands on packages in parallel, but is aware of the dependencies between them
The npm package wsrun receives a total of 43,269 weekly downloads. As such, wsrun popularity was classified as popular.
We found that wsrun demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.