mysticatea / npm-run-all

A CLI tool to run multiple npm-scripts in parallel or sequential.
MIT License
5.72k stars 240 forks source link

Unknown option: 'xxxx:commitizen_path' with pnpm #249

Open gyhyfj opened 1 year ago

gyhyfj commented 1 year ago

if my package.json includes such config field:

"config": {
    "commitizen": {
      "path": "./node_modules/cz-customizable"
    }
  }

If I run npm-run-all script with pnpm , It would print Unknown option: 'xxxx:commitizen_path' in terminal, and exit with code 1.

7086cmd commented 1 year ago

Same problem. image image

AC-0308 commented 1 year ago

same problem

jayyoonn commented 1 year ago

me too

ap-1 commented 1 year ago

You can use concurrently as a replacement until this gets fixed

llemllen commented 1 year ago

same problem

llemllen commented 1 year ago

When i remove name from package.json, it work

llemllen commented 1 year ago

node高版本也会有,传递参数启动时候异常

error code

shijistar commented 1 year ago

Remove the config section from package.json, and create .czrc file instead then move config into it.

{
  "path": "cz-conventional-changelog"
}