Releases: ijlee2/ember-codemod-v1-to-v2
Releases · ijlee2/ember-codemod-v1-to-v2
Refactored code and updated dependencies
0.7.3 Tagged 0.7.3
Simplified project structure
v0.7.2-alpha.2
Tagged 0.7.2-alpha.2
Investigated how to simplify project structure
#43 didn't quite work. Ignore this tag.
Fully patched 0.7.0
0.7.1-alpha.1
Investigated how to get blueprints to work.
Introduced TypeScript
I added types to improve documentation and learn how we can write codemods in TypeScript.
A bug may be possible when running npx [email protected]
. I'll update the release notes after testing the release on my local machine.
Separated validation concerns
@codemod-utils/[email protected]
allows us to opt in to validating the name and version.
Updated dependencies and latestVersions
0.6.2 Tagged 0.6.2
Updated latestVersions and babel.config.json
A couple of changes to the blueprint files. In effect, I downstreamed the changes in @embroider/[email protected]
.
- Updated
latestVersions
- Updated
__addonLocation__/babel.config.json
by removing deprecated syntax
You can update your addon's babel.config.json
as shown below:
/* Before: babel.config.json (TS projects) */
{
"presets": [["@babel/preset-typescript"]],
"plugins": [
"@embroider/addon-dev/template-colocation-plugin",
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-class-properties"
]
}
/* After: babel.config.json (TS projects) */
{
"presets": [["@babel/preset-typescript"]],
"plugins": [
"@embroider/addon-dev/template-colocation-plugin",
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
["@babel/plugin-proposal-decorators", { "version": "legacy" }],
"@babel/plugin-proposal-class-properties"
]
}