f8494a44ca
- feat: add dev:api, dev:web, and dev tasks to mise.toml for starting the API and Web servers
22 lines
545 B
TOML
22 lines
545 B
TOML
[tools]
|
|
go = "1.26.2"
|
|
node = "24"
|
|
|
|
[env]
|
|
XDG_CACHE_HOME = "{{config_root}}/.cache"
|
|
NPM_CONFIG_CACHE = "{{config_root}}/.cache/npm"
|
|
PLAYWRIGHT_BROWSERS_PATH = "{{config_root}}/.cache/ms-playwright"
|
|
|
|
[tasks."dev:api"]
|
|
description = "Start the MyGO API server"
|
|
run = "go run . serve"
|
|
|
|
[tasks."dev:web"]
|
|
description = "Start the Vite development server"
|
|
dir = "{{config_root}}/web"
|
|
run = "npm run dev -- --host ${MYGO_WEB_HOST:-127.0.0.1}"
|
|
|
|
[tasks.dev]
|
|
description = "Start the MyGO API and Web development servers"
|
|
depends = ["dev:api", "dev:web"]
|