Skip to content

v2.0.0

Choose a tag to compare

@unional unional released this 05 Jun 03:14
· 138 commits to main since this release

2.0.0 (2022-06-05)

BREAKING CHANGES

  • upgrade chalk

chalk@5 is published as ESM, and that breaks jest.

Need to add this to jest.config.js:

{
  moduleNameMapper: {
    '#(.*)': '<rootDir>/node_modules/$1' // needed for `chalk` getting `#ansi-styles`
  },
  transformIgnorePatterns: [
    'node_modules/(?!(@unional\\fixture|chalk)/)'
  ]
}