1.0.3 • Published 7 months ago
@justinb97/translations v1.0.3
Byte-Keys Shared Schemas 📦
This repository contains shared translations defined with i18n for the Byte-Keys project. The translations are packaged as an npm module for easy reuse across different applications.
🚀 Installation
Install the dependencies using npm:
git clone https://github.com/Byte-Keys/Translations.git
cd Translations
npm installAdding a new translation
To add a new translation, one must edit the src/i18n/(en|de|nl)/index.ts files. The translations are organized by language, and each file contains the translations for that specific language.
📝 Versioning
To update the package version, run one of the following commands:
npm version patch # For small changes
npm version minor # For new features (backwards-compatible)
npm version major # For breaking changes📦 Publishing
To publish the package to npm, run the following command:
npm run prepare
npm publish