Skip to content

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

Downstreamed bug fix from @embroider/addon-blueprint#155

17 Jul 12:15

Choose a tag to compare

See embroider-build/addon-blueprint#155 for more information.

Migration guide

My attempts to migrate ember-container-query and embroider-css-modules suggested that, if the addon has relative paths, we now need to explicitly add the extension .ts.

This, in return, may require updating tsconfig.json to include the compiler option "allowImportingTsExtensions": true.

Replaced @babel/plugin-proposal-class-properties with @babel/plugin-transform-class-properties

14 Jul 04:25

Choose a tag to compare

The Babel plugin had been renamed to @babel/plugin-transform-class-properties (there have been no recent releases for the plugin with the old name).

To migrate your v2 addon:

  • Uninstall @babel/plugin-proposal-class-properties
  • Install @babel/plugin-transform-class-properties
  • Update babel.config.json accordingly

For more information, you can check the changes to test fixtures in #56.

Moved away from rollup-plugin-ts

06 Jul 15:47

Choose a tag to compare

I downstreamed changes from @embroider/[email protected]. For v1 addons that support TypeScript, rollup-plugin-ts is no longer used to create declaration files.

If you had used this codemod to migrate to v2 format and want to know how to move away from rollup-plugin-ts, please see the two pull requests mentioned in #51.

Updated dependencies

04 Jul 08:40

Choose a tag to compare

0.7.4

Tagged 0.7.4

Refactored code and updated dependencies

21 Jun 13:27

Choose a tag to compare

Simplified project structure

13 Jun 18:14

Choose a tag to compare

v0.7.2-alpha.2

13 Jun 18:09

Choose a tag to compare

v0.7.2-alpha.2 Pre-release
Pre-release
Tagged 0.7.2-alpha.2

Investigated how to simplify project structure

13 Jun 16:56

Choose a tag to compare

#43 didn't quite work. Ignore this tag.

Fully patched 0.7.0

12 Jun 14:47

Choose a tag to compare

Looks better. 😓

0.7.1-alpha.1

12 Jun 14:40

Choose a tag to compare

0.7.1-alpha.1 Pre-release
Pre-release

Investigated how to get blueprints to work.