diff --git a/Taskfile.yml b/Taskfile.yml index 5e76d5f..befbaab 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -7,14 +7,26 @@ tasks: - templ generate silent: true - nebula-build: + nebula:build: dir: . cmds: - - bun run build + - devbox run build silent: true - esclient-build: + nebula:publish: + dir: . + cmds: + - devbox run publish + silent: true + + esclient:build: dir: ./libs/es-client cmds: - devbox run build silent: true + + esclient:publish: + dir: ./libs/es-client + cmds: + - devbox run publish + silent: true diff --git a/devbox.json b/devbox.json new file mode 100644 index 0000000..39f670d --- /dev/null +++ b/devbox.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.1/.schema/devbox.schema.json", + "packages": [ + "pnpm@latest", + "bun@latest" + ], + "shell": { + "init_hook": [ + "bun install" + ], + "scripts": { + "build": [ + "bun run build" + ], + "publish": [ + "bun run publish" + ] + } + } +}