/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:

bazel build //packages/react-intl
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 MIT
@formatjs/ecma402-abstract version CHANGELOG MIT
@formatjs/icu-messageformat-parser version CHANGELOG MIT
@formatjs/intl-datetimeformat version CHANGELOG MIT
@formatjs/intl-displaynames version CHANGELOG MIT
@formatjs/intl-getcanonicallocales version CHANGELOG MIT
@formatjs/intl-listformat version CHANGELOG MIT
@formatjs/intl-locale version CHANGELOG MIT
@formatjs/intl-numberformat version CHANGELOG MIT
@formatjs/intl-pluralrules version CHANGELOG MIT
@formatjs/intl-relativetimeformat version CHANGELOG MIT
@formatjs/ts-transformer version CHANGELOG MIT
babel-plugin-formatjs version CHANGELOG MIT
eslint-plugin-formatjs version CHANGELOG MIT
intl-messageformat version CHANGELOG BSD
react-intl version CHANGELOG BSD

Big Thanks

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