Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@molgenis/molgenis-i18n-js

molgenis203LGPL-3.01.0.0

A Vue.js plugin for the internationalization of MOLGENIS Vue applications

plugin, vue, vuejs, molgenis, i18n

readme

molgenis-js-i18n

vue2 codecov Commitizen friendly

A Vue.js plugin for the internationalization of MOLGENIS Vue applications

Installation

yarn add molgenis-i18n-js

Getting Started

View /src/main.js for usage example.

Run the example with: yarn dev

Development

yarn dev to run dev server during development.

yarn test to run tests.

yarn build to create new production build.

How to commit

We use conventional commits to generate changelogs and release notes. Please check: https://www.conventionalcommits.org/

Example

git commit file.ext -m "fix(file.ext): fixes something"

How to publish

Each time a PR is merged a release will be done to NPM. The CHANGELOG.md and GitHub release will be ammended.

The version of the package is based upon convential commits. Check: http://commitizen.github.io/cz-cli/.

Changelog

Details changes for each release are documented in the CHANGELOG.md.

License

LGPL-3.0

changelog

1.0.0 (2020-12-07)

chore

  • Switch from moment to dayjs (a0ebef2)
  • Switch from moment to dayjs (68a7cbd)

BREAKING CHANGES

  • moment is no longer set as filter on Vue instead dayjs is now set
  • moment is no longer set as filter on Vue instead dayjs is now set

0.2.1 (2019-06-07)

Bug Fixes

  • fix CI Build, set unsave perm to true (192d5fc)

0.2.0 (2019-05-31)

Bug Fixes

  • package.json: updated repo URL to molgenis (8de98f8)
  • semantic-deps: add plugins for auto release (93fee3f)

Features

  • autorelease: added autorelease (cd8dc05)

0.1.1 (2018-04-16)

  • Remove es6 syntax from production build

0.1.0 (2018-04-11)

  • Allow multiple namespaces, the default namespace is the first namespace in the list.
  • Use webpack for test and dev, use rollup for production build
  • Use vue-test-utils for testing

0.0.3 (2017-04-09)

  • Simplified the code, user language is known on page load
  • Make namespace configurable in plugin options