Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix package.json exports for ts-node/register #1026

Closed
wants to merge 1 commit into from

Commits on May 3, 2020

  1. Fix package.json exports for ts-node/register

    Commit f6cd5d4 broke `require('ts-node/register')` because
    `exports:` provides an *exclusive* list of possible entry points,
    and makes importing through other entry points impossible.
    
    In particular, this breaks node-tap with TypeScript support.
    
    Refs: https://medium.com/@forbeslindesay/is-promise-post-mortem-cab807f18dcc
    addaleax committed May 3, 2020
    Copy the full SHA
    403f88a View commit details
    Browse the repository at this point in the history