Skip to content

intl-template-transform 1.1.0

Install from the command line:
Learn more about npm packages
$ npm install @soxhub/intl-template-transform@1.1.0
Install via package.json:
"@soxhub/intl-template-transform": "1.1.0"

About this version

Intl Template Transform

What it does?

This repo provides an AST transform to convert

icon-transform.js

There is icon-transform.js to add no-bare-strings above auditboard-icons

{{! template-lint-disable no-bare-strings }}
{{! TODO: non translatable icon }}
<i class="auditboard-icons">
  close
</i>

How to run icon-transform.js

  • run icon-transform.js
  • run format hbs files
npx ember-template-recast path-to-file-or-directory -t path-to/icon-transform.js
npm run format:hbs

Compatibility

  • Node.js v14 or above

Installation

License

This project is licensed under the MIT License.

Details


Assets

  • intl-template-transform-1.1.0.tgz

Download activity

  • Total downloads 802
  • Last 30 days 0
  • Last week 0
  • Today 0