Skip to content

Latest commit

 

History

History
286 lines (125 loc) · 13.4 KB

CHANGELOG.md

File metadata and controls

286 lines (125 loc) · 13.4 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.2.0 (2019-02-11)

Features

  • dev: add loglevel to configure console logging (#351) (d4a596c)

3.1.3 (2019-01-21)

3.1.2 (2019-01-16)

Bug Fixes

3.1.1 (2018-03-24)

Bug Fixes

3.1.0 (2018-02-08)

Bug Fixes

  • Fix path transformation for dot files that are siblings (#253) (7dc2da6)

Features

  • Ability to declare aliases in an array to preserve the order (#243) (d03715d)
  • Add stripExtensions option to determine which extensions get removed (#247) (fdf5da9)
  • Allow using a function to define the result of an alias (#245) (9299d9a)
  • run plugin also on Program exit to handle dynamically added imports from other transforms (#269) (12a2d07)

3.0.0 (2017-11-08)

Features

  • Add jest.setMock to the list of transformed jest functions (#225) (a7c04b0)
  • Add require.requireActual and require.requireMock to the list of transformed Jest functions (#227) (47fd5ba)
  • Make alias config take precedence over root config (#221) (3c711f8)

BREAKING CHANGES

  • This makes alias taking precedence over the root config because it's usually more specific.

3.0.0-beta.5 (2017-08-17)

Bug Fixes

3.0.0-beta.4 (2017-07-10)

Bug Fixes

  • Prevent double application of the transform (#176) (feefe9e)

Features

3.0.0-beta.3 (2017-05-16)

3.0.0-beta.2 (2017-05-16)

Bug Fixes

  • package: update pkg-up to version 2.0.0 (#168) (ccba432)
  • Fix path resolution when the alias is not a proper sub path (#177) (dcd5dca)

Features

  • Add the .mjs extension to the default extensions (#172) (ea9e457)
  • Run the plugin in the "enter" phase of the Program (#179) (c4794f9)

3.0.0-beta.0 (2017-04-23)

Feat

  • warn when the package from resolved alias is not available (#160) (c937f79)

Features

  • Add support for new ES dynamic import() (#143) (ad65935)
  • Convert root to array if root is a string (#153) (2bcea0c), closes #152
  • Support 'packagejson' as a custom cwd option (#149) (52600af)

BREAKING CHANGES

  • The "npm:" prefix has been removed.

2.7.0 (2017-03-30)

Reverts

  • Force a 2.7.0 by reverting all changes since 2.5.0 (577afad)

2.6.2 (2017-03-30)

Bug Fixes

2.6.1 (2017-03-29)

Bug Fixes

  • Fix regExps.find undefined error (2171200)

2.6.0 (2017-03-29)

Bug Fixes

Features

2.5.0 (2017-02-05)

Bug Fixes

  • Add only directories in a glob root config (#120) (ac87924)
  • Remove unnecessary trailing /index in the local path resolution (#117) (ac0c671)

Features

  • Add support for jest doMock and dontMock functions (#114) (0bc01ec)
  • Export manipulateOptions (85270e1)
  • Export the default extensions used by the plugin (1c4fbcc)

2.4.0 (2016-11-30)

Features

2.3.0 (2016-11-06)

Bug Fixes

  • Fix wrong location of modified path (e7083ab), closes #94

Features

  • Move the babelrc lookup behind a custom cwd value option (2a8aca5)

2.2.0 (2016-08-27)

Bug Fixes

  • Fix plugin on windows (d6b0a4b)
  • Fix the root resolver when both a file and directory have the same name (a4cff68)

Features

  • Add glob support in the root config (#78) (1f6245b)

2.1.1 (2016-08-22)

Bug Fixes

  • Fix resolver with filename containing a dot (#75) (bb6c903), closes #74

2.1.0 (2016-08-19)

Bug Fixes

  • Fix root mapping with custom extensions (#72) (3d4756b)

Features

  • Aliasing a npm module without 'npm:' (#73) (8e95988)

2.0.0 (2016-08-14)

Features

  • Add support for custom root directories (#69) (3dd29a0), closes #46

BREAKING CHANGES

  • There's a new way to specify alias in the plugin options. See README for more info