Releases: ijlee2/ember-codemod-v1-to-v2
Updated dependencies and latestVersions
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/addon-blueprint@2.16.0
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/addon-blueprint@2.14.0
.
Updated dependencies
The codemod may match what one can expect from @embroider/addon-blueprint@2.13.0
(because there were no substantial changes to the blueprint since 2.11.0
).
Updated latestVersions
I updated the codemod to add decorator-transforms@1.0.3
, 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/addon-blueprint@2.11.0
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
Updated dependencies
1.1.1 Tagged 1.1.1
Downstreamed changes from @embroider/addon-blueprint@2.7.0
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-addon
step)rollup.config.mjs
: Addedaddon.gjs()
(i.e. allow writing<template>
-tag components)package.json
: Replacedember-cli-typescript
withtypescript
tsconfig.json
: Extended@tsconfig/ember
Updated dependencies
1.0.1 Tagged 1.0.1