refactor: update devbox configuration and scripts

This commit is contained in:
Prad Nukala
2024-11-25 13:54:33 -05:00
parent 1568844255
commit e04d071ca7
63 changed files with 1069 additions and 202 deletions
+6 -31
View File
@@ -1,42 +1,17 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"go@1.22",
"bun@latest",
"ipfs@latest",
"air@latest",
"templ@latest"
],
"packages": ["go@1.22", "bun@latest", "ipfs@latest", "templ@latest"],
"env": {
"GOPATH": "$HOME/go",
"PATH": "./build:$HOME/go/bin:$PATH",
"CHAIN_ID": "sonr-testnet-1",
"DENOM": "usnr",
"KEYRING": "test",
"MONIKER": "florence",
"BINARY": "sonrd",
"ACC0_NAME": "acc0",
"ACC1_NAME": "acc1",
"ACC0_ADDRESS": "idx1efd63aw40lxf3n4mhf7dzhjkr453axur9vjt6y",
"ACC1_ADDRESS": "idx1hj5fveer5cjtn4wd6wstzugjfdxzl0xpecp0nd",
"ACC0_MNEMONIC": "$(skate get ACC0_MNEMONIC)",
"ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)",
"TUNNEL_TOKEN": "$(skate get CLOUDFLARE_TUNNEL_TOKEN)",
"TEMPL_EXPERIMENT": "rawgo",
"R2_CDN_BUCKET": "cdn",
"R2_PKL_BUCKET": "pkljar"
"TEMPL_EXPERIMENT": "rawgo"
},
"shell": {
"init_hook": ["./scripts/init_env.sh"],
"scripts": {
"gen:pkl": [
"make gen-pkl"
],
"gen:templ": [
"make gen-templ"
],
"buf-push": [
"cd ./proto && bunx buf dep update && bunx buf build && bunx buf push"
]
"start-local": ["cd deploy/local && devbox services up"],
"start-testnet": ["cd deploy/testnet && devbox services up"],
"start-gex": ["go install github.com/cosmos/gex@latest", "gex"]
}
}
}