Releases: ijlee2/ember-codemod-v1-to-v2
Downstreamed bug fix from @embroider/addon-blueprint#155
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
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.jsonaccordingly
For more information, you can check the changes to test fixtures in #56.
Moved away from rollup-plugin-ts
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
0.7.4 Tagged 0.7.4
Refactored code and updated dependencies
0.7.3 Tagged 0.7.3
Simplified project structure
v0.7.2-alpha.2
Tagged 0.7.2-alpha.2
Investigated how to simplify project structure
#43 didn't quite work. Ignore this tag.

Fully patched 0.7.0
0.7.1-alpha.1
Investigated how to get blueprints to work.

