Skip to content

Releases: ijlee2/ember-codemod-v1-to-v2

Downstreamed changes from @embroider/addon-blueprint

23 May 06:28
Compare
Choose a tag to compare

Features

  • Set allowDeclareFields for TS projects to true by default1

1. See #32 to learn how to keep your v2 addon up-to-date.

Refactored utilities

17 May 12:18
Compare
Choose a tag to compare

Some of the utilities have been replaced with those from @codemod-utils. This should help reduce the maintenance cost.

Downstreamed changes from @embroider/addon-blueprint

03 May 05:54
Compare
Choose a tag to compare

Bug fixes

  • Added @babel/runtime to the addon's package.json1

1. See #29 to learn how to keep your v2 addon up-to-date.

Updated blueprints for the workspace root

27 Apr 13:10
Compare
Choose a tag to compare

In addition to updating the dependencies, I simplified the codemod by not allowing the blueprints to add prettier to the workspace root (not necessary).

Removed useRelativePaths. Refactored code.

10 Mar 08:58
Compare
Choose a tag to compare

Based on feedback from the Ember community as well as myself, I decided to remove the useRelativePaths step. The removal has a few benefits:

  • There's less code to maintain.
  • The end-developer's code is preserved better.
  • The end-developer can have an easier time getting the scripts for the addon and test-app packages to run.

If you did want to have relative paths, I recommend doing so in a separate pull request (i.e. separately from migrating to v2 format). ✨

Accounted for public assets

06 Mar 22:20
Compare
Choose a tag to compare

Thanks to @pragatheeswarans and @phndiaye.

Features

Bug fixes

1. See #23 to learn how to keep your v2 addon up-to-date.
2. See #22 to learn how to keep your v2 addon up-to-date.

Fixed bugs for scoped packages

10 Feb 04:46
Compare
Choose a tag to compare

Thanks to @phndiaye.

Bug fixes

1. See #17 to learn how to keep your v2 addon up-to-date.

Fixed a bug for TypeScript projects

31 Jan 22:47
Compare
Choose a tag to compare

Bug fixes

  • Listed the default key as the last (the bug didn't affect JavaScript projects)1

1. See #16 to learn how to keep your v2 addon up-to-date.

Downstreamed changes from @embroider/addon-blueprint

31 Jan 22:10
Compare
Choose a tag to compare

Features

Bug fixes

1. See #14 to learn how to keep your v2 addon up-to-date.

Added files from addon-test-support to addon.publicEntrypoints()

27 Jan 10:22
Compare
Choose a tag to compare

Features

  • When a v1 addon has addon-test-support, the codemod adds its files to addon.publicEntrypoints(). In other words, the codemod takes care of a configuration step for rollup.config.{js,mjs}.1

1. See #11 to learn how to keep your v2 addon up-to-date.