/formatjs

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

Primary LanguageTypeScript

FormatJS

Node Tests Sauce Labs 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 yarn:

> yarn
> yarn build
> yarn test

To run examples:

> yarn examples

Releases can be done with the following steps:

> lerna version
> lerna exec --concurrency 1 --no-bail --sort -- bazel run :publish

or combined together

> npx lerna version --yes && npx lerna exec --concurrency 1 --no-bail --sort -- bazel run :publish

To publish next tag

> lerna version prerelease --yes && lerna exec --concurrency 1 --no-bail --sort -- bazel run :publish -- --tag next

Published Packages

Package Version Changelog License
@formatjs/cli 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/intl-utils version CHANGELOG MIT
@formatjs/ts-transformer version CHANGELOG MIT
babel-plugin-react-intl version CHANGELOG BSD
eslint-plugin-formatjs version CHANGELOG MIT
intl-messageformat-parser version CHANGELOG BSD
intl-messageformat version CHANGELOG BSD
react-intl version CHANGELOG BSD

Big Thanks

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