Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1011 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 1011 Bytes

LUOS SDK TS

Development

Requirements

  1. NodeJS version LTS 14+
  2. Yarn version 1.22+

Installation

Install the dependancies with the command : yarn install.

Run

Developement

Execute the command : yarn dev. The command is underlaying multiple actions :

  • Executing the typescript runtime tsc in watch mode.
  • Executing the plugin runtime tsc-alias in watch mode to convert absolute paths into relative ones.
  • Executing the rollup packager in watch mode to create :
    • UMD bundle for browser usage on the frontend : index.umd.js
    • ESModule bundle for the backend usage like our CLI : index.esm.js

Contribute

Workflow

You can use ACT to validate the workflows locally :

  1. Install ACT (See link for other systems):
brew install act
  1. Setup secrets variables in the .act/.secrets file :
NPM_TOKEN=
GITHUB_TOKEN=