0.32.0 • Published 7 months ago

@kie-tools/yard-editor v0.32.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

YARD editor

An editor to manage YARD (Yet Another Rule Definition) assets, part of serverless logic for Red Hat OpenShift

Description

This module contains the core implementation of the yard editor, which allows the user to create and edit yard definition files (*.yard.yaml, *.yard.yml).

Structure

The module structure is composed of:

  • dev-webapp: This represents a showcase of the editor, useful for testing and demo purposes. Here, the editor is wrapped in a static HTML page with a dedicated menu. The menu is necessary to simulate functionality implemented by channel which integrate the editor (eg. Undo / Redo / Validation)
  • src: The project source code
  • test: The project tests assets

Usage

To build the module: pnpm build:prod

To build the module in dev mode (no tests): pnpm build:dev

To run the development webapp: pnpm start