Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

[codemod request] ember.js upgrade codemods v3 to v5 #222

Description

@alexbit-codemod

Ember Codemod

ember-3x-codemods A collection of codemods for adressing deprecations introduced in Ember 3.x General ember 3.x (varies)

  • app-controller-router-props
  • array-wrapper
  • cp-property-map
  • cp-property
  • cp-volatile
  • deprecate-merge
  • deprecate-router-events
  • ember-jquery-legacy
  • fpe-computed
  • fpe-observes
  • fpe-on
  • jquery-apis
  • jquery-event
  • new-array-wrapper → covered by array-wrapper codemod
  • notify-property-change
  • object-new-constructor
  • ember-tracked-properties-codemod Transforms your app code to use @Tracked properties General ember 3.13+
  • es5-getter-ember-codemod Transforms gets to native property access General ember 3.1+
  • ember-angle-brackets-codemod Transforms your templates to use angle bracket syntax Templates ember?
  • ember-component-template-colocation-migrator Migrates classical components to colocated components Components ember?
  • ember-native-class-codemod Transforms your app code to use the native classes and decorators General ember?
  • ember-mocha-codemods Transforms your Mocha test modules to use the setup* helper family Testing ember 2.4+, ember-mocha?
  • (BENNY WIP) ember-qunit-codemod Transforms your QUnit test modules to use the setup* helper family Testing ember 2.4+, ember-qunit?
  • ember-test-helpers-codemod Transforms your test code to use @ember/test-helpers Testing ember 2.4+
  • ember-computed-getter-codemod Transforms computed properties to use split get and set functions General ember?
  • ember-modules-codemod Transforms your code to use the module API General ember?
  • ember-memory-leaks-codemod Identifies and fixes common memory leaks in Ember apps General
  • ember-cli-htmlbars-inline-precompile-codemod Transforms imports to avoid using htmlbars-inline-precompile General
  • tagless-ember-components-codemod Transforms your components to use tagName: '' Components
  • ember-no-implicit-this-codemod Transforms your templates to use explicit this Templates
  • ember-test-onerror-codemod Transforms your test code to avoid using Ember.onerror Testing

Add a clear description of what should the codemod do.

Applicability Criteria

  • Framework/library: Ember
  • Version: v3 -> v5]

Estimated time saving

Add an expected time saving this codemod can provide. 5 minutes per occurrence

Additional context

Add any other context about the problem here. This might include extra considerations, edge cases, relevant business logic, existing migration guides, relevant links, etc.
https://github.com/ember-codemods

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions