Skip to content

Proposal: support publishConfig #172

@waldronmatt

Description

@waldronmatt

First I want to say thank you for this tool, it has been extremely helpful to ensure type compliance on packages.

I've recently adopted a technique in my monorepo where I use my package exports to point to source ts files so VS Code will reflect "live" types even across package boundaries. I use publishConfig to point to esm / cjs bundles which overrides exports during the packing and publishing process to npm. This technique has been popularized by colinhacks (Zod author): https://colinhacks.com/essays/live-types-typescript-monorepo

It would be amazing if the cli could support parsing through publishConfig exports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions