0.4.0 • Published 5 years ago

ember-i18n-intl-migrator v0.4.0

Weekly downloads
524
License
MIT
Repository
-
Last release
5 years ago

ember-i18n-to-intl-migrator

A node script to migrate both your translation files and service injections to ember-intl

Installation

Run the following command in your terminal:

npm install ember-i18n-intl-migrator -g

or alternatively with yarn:

yarn global add ember-i18n-intl-migrator

Usage

To transform the translation files run:

ember-i18n-intl-migrator # default conversion to json
ember-i18n-intl-migrator --type=yaml

To also run the codemod that will replace i18n: service() by intl: service() (and it's usages), you first have to install jscodeshift with:

npm install -g jscodeshift

Then you can run the codemod with:

jscodeshift -t https://raw.githubusercontent.com/DockYard/ember-i18n-to-intl-migrator/master/lib/codemod.js app/
0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.0.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1-security

6 years ago