@entur-partner/rich-text-editor
v6.3.4
Published
This package contains a rich text editor.
Downloads
1,862
Keywords
Readme
Entur Rich Text Editor
This package contains a rich text editor.
Installation
npm install @entur-partner/rich-text-editor
# or if you are using Yarn:
yarn add @entur-partner/rich-text-editorRequirements
- Node.JS ~24
- yarn ~4.9.2
You may use Volta to manage your js command-line tools. Versions are pinned in package.json for seamless, per-project version switching.
Development
Setup
All dependencies are defined in package.json and are managed with yarn. To
initially install all dependencies and when the list dependency has changed, run yarn.
$ yarn && yarn bootstrapBuild
To build all packages run:
$ yarn buildCode style
BiomeJS is used for automatic code formatting.
Format code:
$ yarn formatCheck that code is formatted correctly:
$ yarn format-checkTip: See Editor integration for how to configure your editor to format code on save.
Linting
BiomeJS is used for linting. Check linting:
$ yarn lint-checkTesting
Uses Jest to test unit and reducer testing
yarn testContributing
This project follows the Conventional Commits specification. This lets us create new version numbers and change logs based on commit messages, instead of spending time on doing it manually.
We have added a tool called commitizen that helps you with following this standard. Simply write git commit, and you'll be guided through a UI that creates nice commit messages that contain all the info we need. If that does not work, you may instead write npx git-cz
