Releases: ijlee2/ember-codemod-v1-to-v2
Updated dependencies
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
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
If your v1 addon provides blueprints, the codemod now adds 'blueprints' to the addon package.json's files.
Downstreamed changes from @embroider/[email protected]
I made a few changes to how the codemod updates the addon package.
babel.config.json: Replaced Babel plugins with decorator-transformsunpublished-development-types/index.d.ts: Added a comment as a reminder to configure@glint/environment-ember-template-importsif the package is installedpackage.json: Updated the latest versionstsconfig.json: AddedrootDiroption
Updated dependencies
1.1.1 Tagged 1.1.1
Downstreamed changes from @embroider/[email protected]
I made a few changes to how the codemod updates the addon package.
babel.config.json: Updated Babel dependenciesrollup.config.mjs: Simplifiedaddon.publicEntrypoints()andaddon.appReexports()(the file pattern arrays are static; they are no longer derived in theanalyze-addonstep)rollup.config.mjs: Addedaddon.gjs()(i.e. allow writing<template>-tag components)package.json: Replacedember-cli-typescriptwithtypescripttsconfig.json: Extended@tsconfig/ember
Updated dependencies
1.0.1 Tagged 1.0.1
Dropped support for Node 16 and marked stable
Updated dependencies
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]
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
.jsor.tsin 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.