1.0.19 • Published 10 months ago

@vroskus/lerna-i18next-aggregator v1.0.19

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@vroskus/lerna-i18next-aggregator

Tool to aggregate translations from all lerna packages. Aggregator scans lerna packages - .js and .pug files and extracts t('') function values.

Installation

Call:

npm install -D @vroskus/lerna-i18next-aggregator

yarn add -D @vroskus/lerna-i18next-aggregator

Usage

  1. Just run lerna-i18next-aggregator <languages> <resource files directory path> <lerna packages directory path>:

Args:

comma separated ISO 639-1 codes en,es,lt

a path to directory containing json files with translations. File names must match lerna package names. Only packages with matching resource file name will be processed.

  common.json
  package-a.json
  package-b.json
  ...

a path to directory containing lerna packages

  ...
  packages/
    package-a/
    package-b/
    ...
  ...
1.0.19

10 months ago

1.0.18

10 months ago

1.0.17

10 months ago

1.0.16

10 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

12 months ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago