klothoplatform / slack-notifier

Slack notification bot
MIT License
3 stars 0 forks source link

revamp of npm scripts #40

Closed ghost closed 1 year ago

ghost commented 1 year ago

Rather than hard-coding various npm scripts in the actual package.json, farm them out to a lib and some simple sub-commands scripts.

[updated] To use it, do one of

Note that this sets up a non-standard directory structure for klotho output, but only if you use an app name other than the default (by setting an env var). Instead of compiled, it's compiled-klotho/$app_name. This is specifically to keep prod and dev compilations/deployments separate, which is an important use case for me. But I'm flexible on it, and especially on the specific dir structure.

Updated documentation: CloudCompilers/docs#93

ghost commented 1 year ago

Updated to have: