Skip to content

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

Modernized blueprints. Dropped Node v18 support.

25 Mar 09:39
c0ed718

Choose a tag to compare

Since [email protected] (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, and typescript).
  • Configure .gitignore files.
  • Install ember-try@v4.

[email protected] also introduces a couple of new features:

  • Add addon.publicAssets() to rollup.config.mjs.
  • Set up @embroider/broccoli-side-watch in test-app.

It follows @embroider/[email protected] closely.

Simplified lint configurations

10 Feb 12:21
72e5071

Choose a tag to compare

1.7.1

Tagged 1.7.1

Updated dependencies and blueprints

15 Jan 08:33
973889d

Choose a tag to compare

Updated dependencies and blueprints

27 Dec 12:04
2872178

Choose a tag to compare

Corrected the addon file locations for TypeScript projects

05 Sep 08:56
70c5d58

Choose a tag to compare

Follows @embroider/[email protected] 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/[email protected]

28 Aug 08:54
b03f3eb

Choose a tag to compare

Updated dependencies. Used pnpm@9 to manage dependencies.

14 Aug 07:40
876e9e7

Choose a tag to compare

Updated dependencies and latestVersions

07 Jun 06:39
c51cad5

Choose a tag to compare

Allowed codemod to set linters for the v2 addon

26 Apr 09:40
b69683e

Choose a tag to compare

The codemod now accepts the responsibility of setting linters for the v2 addon. The configurations match those from @embroider/[email protected] closely.

Note, the end-developer is, for the time being, still responsible for installing and configuring ember-template-imports in their v2 addon (if they want to write *.{gjs,gts} files).

Updated dependencies and latestVersions

18 Mar 06:53
3bb517b

Choose a tag to compare

The codemod may match what one can expect from @embroider/[email protected].