Releases: ijlee2/ember-codemod-v1-to-v2
Updated dependencies
Updated latestVersions
2.1.1 Tagged 2.1.1
Updated dependencies
2.1.0 Tagged 2.1.0
Modernized blueprints. Dropped Node v18 support.
Since ember-codemod-v1-to-v2@1.0.0
(i.e. 2023, when the migration guide had been written), the blueprints from ember-cli
and @embroider/addon-blueprint
have changed, and several dependencies for an Ember project (e.g. eslint
, ember-try
) have introduced breaking changes through major releases.
As a result, if I simply let the codemod move files (i.e. use existing configurations and old versions of dependencies), the resulting project will become hard to fix for maintainers who are new to v2 addons. It's now a good time for the codemod to reset the project in a few ways:
- Configure linters (
ember-template-lint
,eslint
,stylelint
, andtypescript
). - Configure
.gitignore
files. - Install
ember-try@v4
.
ember-codemod-v1-to-v2@2.0.0
also introduces a couple of new features:
- Add
addon.publicAssets()
torollup.config.mjs
. - Set up
@embroider/broccoli-side-watch
intest-app
.
It follows @embroider/addon-blueprint@4.1.1
closely.
Simplified lint configurations
1.7.1 Tagged 1.7.1
Updated dependencies and blueprints
Follows @embroider/addon-blueprint@3.2.0
closely.
Updated dependencies and blueprints
Follows @embroider/addon-blueprint@3.0.0
closely.
Corrected the addon file locations for TypeScript projects
Follows @embroider/addon-blueprint@2.18.0
closely.
Note
If you had addon-test-support/index.{js,ts}
in your v1 addon, you will need to add test-support.js
(or test-support.ts
) to addon.publicEntrypoints()
in the Rollup configuration.
Downstreamed changes from @codemod-utils/cli@2.0.1
1.4.1 Tagged 1.4.1
Updated dependencies. Used pnpm@9 to manage dependencies.
Follows @embroider/addon-blueprint@2.17.0
closely.