← All tasks
javascriptlint-staged/lint-staged #1644Not a task: not reproduced

perf: consider dependency changes

envgap__lint-staged__lint-staged-1644

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
445f9dd042b88528c798b2e25c21c9adbc69a732
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

lint-staged/lint-staged #1644 · read the original issue
Would you be open to changing a couple of dependencies?

Particularly:

- chalk
  - This could be replaced by `picocolors` or `ansis` - both of which are much smaller and de-dupe better
- nano-spawn
  - This could be replaced by `tinyexec` which will de-dupe much better
- micromatch
  - This could possibly be replaced by `picomatch` if we don't need to support the far edge cases micromatch exists for
- listr2
  - This could probably be replaced by clack or something similar (which will be smaller and will result in sub dependencies de-duping better)
  - This one would change DX though so probably can leave it for now

Importantly in the wider picture, these are not the dependencies of choice these days. It is increasingly common for a stack to not include these libraries, so when we do, we're just duplicating functionality for no gain.

I'd be happy to put the PRs together for this if you're open to it
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
[]