/formatjs

The monorepo home to all of the FormatJS related libraries, most notably react-intl.

Primary LanguageTypeScript

FormatJS

Unit + Karma Tests Slack FormatJS

Sauce Browser Matrix Status

This repository is the home of FormatJS and related libraries.

Slack: Join us on Slack at formatjs.slack.com for help, general conversation and more 💬🎊🎉 You can sign-up using this invitation link.

Development

We currently use bazel to develop, along with lerna for package management.

To setup locally, first initialize the git submodule:

git submodule init
git submodule update

Now you can build & test with npm:

npm i && npm run build && npm run test

To run examples:

npm run examples

To build/test individual package:

npx bazel build //packages/react-intl
npx bazel test //packages/react-intl

Releases can be done with the following steps (must use npm):

npm run release

To publish next tag (must use npm):

npm run release:next

Published Packages

Package Version Changelog License
@formatjs/cli version CHANGELOG license
@formatjs/icu-messageformat-parser version CHANGELOG license
@formatjs/intl-datetimeformat version CHANGELOG license
@formatjs/intl-displaynames version CHANGELOG license
@formatjs/intl-getcanonicallocales version CHANGELOG license
@formatjs/intl-listformat version CHANGELOG license
@formatjs/intl-locale version CHANGELOG license
@formatjs/intl-numberformat version CHANGELOG license
@formatjs/intl-pluralrules version CHANGELOG license
@formatjs/intl-relativetimeformat version CHANGELOG license
@formatjs/intl version CHANGELOG license
@formatjs/ts-transformer version CHANGELOG license
babel-plugin-formatjs version CHANGELOG license
eslint-plugin-formatjs version CHANGELOG license
intl-messageformat version CHANGELOG license
react-intl version CHANGELOG license

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs