1.0.0 • Published 5 years ago

unow-i18n v1.0.0

Weekly downloads
4
License
-
Repository
-
Last release
5 years ago

Unow rules the world

i18n

This module provide some class to manage multi language over all Unow's app. It fits with react-intl to assure a good development continuously.

Get started

$ yarn add -E @unowmooc/i18n

API

intl

API

Development

You can use yarn link on our projects to use and develop directly with no publish.

Open the project package needed and your app.

./packages/i18n

$ yarn link

auth-client

$ yarn link "@unowmooc/i18n"

Et voila!

If you need to come back to the original state.

auth-client

$ yarn install

Get sync

If you wish, you can develop on both side by using:

./packages/i18n

$ yarn watch

It will build your lib and provide source.map! Amazing right ?!

Documentation

Update the docs

$ yarn documentation
$ git add .
$ git commit -m "docs(): update docs"
$ git push

Publish

We are using standard-version to version packages.

Follow this instructions:

$ git checkout master
$ git pull origin master
$
$ cd ./packages/i18n
$
$ yarn release
$ git push --follow-tags origin master && npm publish
1.0.0

5 years ago