mirror of
https://github.com/onsonr/nebula.git
synced 2025-03-10 17:29:11 +00:00
feat: introduce devbox for build and publish tasks
This commit is contained in:
parent
d83b60a5db
commit
c1c1a608c2
18
Taskfile.yml
18
Taskfile.yml
@ -7,14 +7,26 @@ tasks:
|
|||||||
- templ generate
|
- templ generate
|
||||||
silent: true
|
silent: true
|
||||||
|
|
||||||
nebula-build:
|
nebula:build:
|
||||||
dir: .
|
dir: .
|
||||||
cmds:
|
cmds:
|
||||||
- bun run build
|
- devbox run build
|
||||||
silent: true
|
silent: true
|
||||||
|
|
||||||
esclient-build:
|
nebula:publish:
|
||||||
|
dir: .
|
||||||
|
cmds:
|
||||||
|
- devbox run publish
|
||||||
|
silent: true
|
||||||
|
|
||||||
|
esclient:build:
|
||||||
dir: ./libs/es-client
|
dir: ./libs/es-client
|
||||||
cmds:
|
cmds:
|
||||||
- devbox run build
|
- devbox run build
|
||||||
silent: true
|
silent: true
|
||||||
|
|
||||||
|
esclient:publish:
|
||||||
|
dir: ./libs/es-client
|
||||||
|
cmds:
|
||||||
|
- devbox run publish
|
||||||
|
silent: true
|
||||||
|
20
devbox.json
Normal file
20
devbox.json
Normal file
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user