Open tommy-mitchell opened 1 year ago
This should also support resolving pre-
and post-
scripts.
Ideally, this would parse all commands in order and make a task for each of them.
If the task is unnamed, the name should come from the script:
> listr yarn:lint tests::pnpm:test 'npm:build-*'
⠼ lint
◼ tests
◼ build-ts
◼ build-scss
◼ postbuild
The documentation should also mention quoting globs to escape them.
concurrently
references: expand-npm-shortcut
, expand-npm-wildcard
Potential matcher
blocker: https://github.com/sindresorhus/matcher/issues/35
It would be convenient to have a shorthand for
npm run my-script
, likeconcurrently
has:I think the
npm:script
syntax is good as-is.concurrently
also supports wild cards and negations.matcher
could possibly be used for this: