tree: 6379cf8df88bb991f217785f6d18f8991ff64936 [path history] [tgz]
  1. configurator/
  2. configurator.js
  3. README.md
util/config/README.md

Openserverless Configurator task

Development:

The configurator is inside the configurator folder. The entrypoint is the configurator/index.ts file. It simply calls the configurator main function.

All the logic is inside the configurator/configurator.ts file. Of course, you can add more files and change the structure as you see fit.

Inside the configurator folder, first install dependencies:

bun install

In the package.json file there are a couple of scripts. The start script will run the configurator:

bun run start

Tests:

There are unit tests inside the configurator/test folder. You can run them with the following command:

bun run test

Building:

To build the configurator and generate the configurator.js file, run the following command:

bun run build

It will generate the configurator.js file and move it in the parent, where it can be used by the opsfile task.