Skip to content

Fork istanbuljs/istanbuljs as @vitest/istanbuljs #9433

@AriPerkkio

Description

@AriPerkkio

Clear and concise description of the problem

Vitest's coverage packages rely on istanbuljs organizations monorepo's packages https://github.com/istanbuljs/istanbuljs. This project has existed for ~13 years and is battle-tested by large projects like Jest, nyc, c8 and Vitest.

The project has had limited maintenance for long time. Landing fixes and features has been taking months. Currently we have 3 PRs that we are (/going to be) patching to Vitest:

Patching some Istanbul packages is really tricky as they do instanceof checks on runtime. Having two sources for same package fails these checks.

Suggested solution

Fork https://github.com/istanbuljs/istanbuljs as vitest-dev/istanbuljs and publish its packages as @vitest/istanbul-lib-<name> packages. I would expect these packages to live outside of vitest-dev/vitest monorepo.

Alternative

Get someone from Vitest team into Istanbuljs organization and as maintainer of istanbuljs/istanbuljs package. ✋

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions