Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:

lib-common-messages

Common translations messages for all Doodle web projects.

Install

yarn add @doodle/common-messages

Usage

Messages

import { FormattedMessage } from 'react-intl';
import { messages as commonMessages } from '@doodle/common-messages';

// ...

<FormattedMessage {...commonMessages.helloWorld}/>

OneSky project Ids

In addition to common messages, this repo provides a central location to configure and pull OneSky translations for the different projects we have.

Instead of hardcoding the OneSky project id in your frontend, consider adding it to this repo and using it like this:

const { ONESKY_PROJECT_IDS } = require('@doodle/common-messages').constants;

Publishing

This library is published to the registry using Tagflow.

8.1 Publish release candidate

git tag pub.1.0.0-rc.0
git push origin pub.1.0.0-rc.0

8.2 Publish release

git tag pub.1.0.0
git push origin pub.1.0.0