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

feat!: update multiformats, publish as ESM #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 18, 2022

  1. feat!: update multiformats, publish as ESM

    Updates multiformats module to 10.x.x.  This module is now published
    as ESM-only so I had to update `tsconfig.json` to do the same here
    otherwise this module gets transpiled to CJS which then explodes at
    runtime when trying to import the ESM-only multiformats.
    
    I removed ts-jest as I just couldn't get it to work with ESM-only
    modules, instead using babel's `@babel/preset-typescript` to compile
    ts to js.
    
    There were also two snapshots directories - `__snapshots__` and
    `__SNAPSHOTS__` in this repo which wreak havoc on case-insensitive
    filesystems like MacOS, hopefully there's only one directory now.
    achingbrain committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    7828090 View commit details
    Browse the repository at this point in the history