← All tasks
javascripteslint/js #660Not a task: not reproduced

Change Request: Replace `npm-run-all2` with a native script to reduce the dependency footprint

envgap__eslint__js-660

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
ab3d59382b03d03a4e57def3742f94da16d88738
Manifest
packages/espree/package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

eslint/js #660 · read the original issue
### Which packages would you like to change?

- [x] `espree`
- [ ] `eslint-scope`
- [ ] `eslint-visitor-keys`

### What problem do you want to solve?

In this issue, I would like to suggest replacing the `npm-run-all2` package with a native script to reduce the dependency footprint.

Currently, the `npm-run-all2` package is only used in the `espree` package as a devDependency, and it is only used when running the test scripts `test:cjs` and `test:esm`.


### What do you think is the correct solution?

The `npm-run-all` script can be simply replaced with a native script:

```diff
- "npm-run-all -s test:*"
+ "npm run test:cjs && npm run test:esm"
```

Also, `eslint-visitor-keys` follows this strategy:
https://github.com/eslint/js/blob/main/packages/eslint-visitor-keys/package.json#L51

### Participation

- [x] I am willing to submit a pull request for this change.

### Additional comments

_No response_
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]