Describe the user story
I found pnpm as a pretty powerful task runner with --parallel task execution.
But I found that I can use it only in monorepo with multiple projects. If I have a simple project, I will get:
{
"private": true,
"scripts": {
"build": "vite build -m production",
"test:types": "tsc --noEmit && eslint . && stylelint **/*.css",
"test:js": "eslint .",
"test:css": "stylelint **/*.css",
"test:audit": "pnpm audit --prod --audit-level high",
"test:build": "pnpm build && size-limit",
"test": "pnpm run --parallel /^test:/"
}
}
❯ pnpm test
> oklch-picker@ test /home/ai/Dev/oklch-picker
> pnpm run --parallel /^test:/
No projects matched the filters in "/home/ai/Dev/oklch-picker"
Describe the solution you'd like
Allow to use --parallel if a user pass a RegExp for tasks,
Describe the drawbacks of your solution
Don’t see any
Describe alternatives you've considered
N/A
Describe the user story
I found
pnpmas a pretty powerful task runner with--paralleltask execution.But I found that I can use it only in monorepo with multiple projects. If I have a simple project, I will get:
{ "private": true, "scripts": { "build": "vite build -m production", "test:types": "tsc --noEmit && eslint . && stylelint **/*.css", "test:js": "eslint .", "test:css": "stylelint **/*.css", "test:audit": "pnpm audit --prod --audit-level high", "test:build": "pnpm build && size-limit", "test": "pnpm run --parallel /^test:/" } }Describe the solution you'd like
Allow to use
--parallelif a user pass a RegExp for tasks,Describe the drawbacks of your solution
Don’t see any
Describe alternatives you've considered
N/A