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
There are unit tests inside the configurator/test folder. You can run them with the following command:
bun run test
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.