Releases: ijlee2/ember-codemod-v1-to-v2
Corrected the addon file locations for TypeScript projects
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]
1.4.1 Tagged 1.4.1
Updated dependencies. Used pnpm@9 to manage dependencies.
Follows @embroider/[email protected]
closely.
Updated dependencies and latestVersions
Still follows @embroider/[email protected]
closely.
Allowed codemod to set linters for the v2 addon
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
The codemod may match what one can expect from @embroider/[email protected]
.
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-imports
if the package is installedpackage.json
: Updated the latest versionstsconfig.json
: AddedrootDir
option