Skip to content

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

Updated dependencies

21 Feb 15:39
8738878

Choose a tag to compare

The codemod may match what one can expect from @embroider/[email protected] (because there were no substantial changes to the blueprint since 2.11.0).

Updated latestVersions

05 Jan 08:04
8f8bb99

Choose a tag to compare

I updated the codemod to add [email protected], so that v2 addons will work on projects that have decorator-transforms@v1 as their dependency.

Added blueprints to package.json's files

26 Dec 18:33
16cd5b0

Choose a tag to compare

If your v1 addon provides blueprints, the codemod now adds 'blueprints' to the addon package.json's files.

Downstreamed changes from @embroider/[email protected]

20 Dec 16:50
626298e

Choose a tag to compare

I made a few changes to how the codemod updates the addon package.

  • babel.config.json: Replaced Babel plugins with decorator-transforms
  • unpublished-development-types/index.d.ts: Added a comment as a reminder to configure @glint/environment-ember-template-imports if the package is installed
  • package.json: Updated the latest versions
  • tsconfig.json: Added rootDir option

Updated dependencies

18 Dec 17:23
9dbc39e

Choose a tag to compare

1.1.1

Tagged 1.1.1

Downstreamed changes from @embroider/[email protected]

07 Nov 17:29
dc56063

Choose a tag to compare

I made a few changes to how the codemod updates the addon package.

  • babel.config.json: Updated Babel dependencies
  • rollup.config.mjs: Simplified addon.publicEntrypoints() and addon.appReexports() (the file pattern arrays are static; they are no longer derived in the analyze-addon step)
  • rollup.config.mjs: Added addon.gjs() (i.e. allow writing <template>-tag components)
  • package.json: Replaced ember-cli-typescript with typescript
  • tsconfig.json: Extended @tsconfig/ember

Updated dependencies

31 Oct 08:55
32e7537

Choose a tag to compare

1.0.1

Tagged 1.0.1

Dropped support for Node 16 and marked stable

14 Sep 10:05

Choose a tag to compare

I downstreamed the changes made in versions 2.4.0 and 2.5.0 of @embroider/addon-blueprint. Please see #66 to learn how to update files in your project.

Updated dependencies

02 Sep 07:01

Choose a tag to compare

I updated this project's dependencies and the versions of the dependencies that the codemod would add, should a package is missing.

One of these packages is [email protected], which has a potential breaking change. To be safe, I made a minor release instead of a patch.

Downstreamed changes from @embroider/[email protected]

12 Aug 08:08

Choose a tag to compare

After updating dependencies and refactoring code, I updated the blueprints so that, when the codemod is run, the resulting project better matches a new project created with @embroider/[email protected] (2.2.1 and 2.3.0 also included).

To keep the scope small, I didn't implement a couple of possible features. For now, it's up to the end-developer to update their project to add these features.

  • Specify the file extension .js or .ts in relative import paths
  • Support *.{gjs,gts} files

⚠️ @embroider/[email protected] introduces @embroider/[email protected] (a major version update). I have yet to test if how the codemod updates the project is compatible with @embroider/[email protected]. If you encounter a bug because of @embroider/addon-dev@v4, please let me know.