Skip to content

Instantly share code, notes, and snippets.

@carhartl
Last active August 15, 2023 07:24
Show Gist options
  • Save carhartl/2db6dfee18ee7fefbef0049c7841685c to your computer and use it in GitHub Desktop.
Save carhartl/2db6dfee18ee7fefbef0049c7841685c to your computer and use it in GitHub Desktop.
Devbox IaC
{
"packages": [
"commitlint@latest",
"go@1.20",
"golangci-lint@latest",
"gotest@latest",
"hadolint@latest",
"kubectl@1.25.5",
"lefthook@latest",
"nodejs@20.5",
"nodePackages.prettier@latest",
"shellcheck@latest",
"shfmt@latest",
"terragrunt@0.43.2",
"terraform@1.3.9",
"tflint@0.47.0",
"yamllint@latest"
],
"shell": {
"init_hook": [
"rtx deactivate",
"export PS1=\"${PS1/\\(devbox\\)/📦}\""
],
"scripts": {
"setup-node": [
"npm i --prefix=.devbox/vendor --no-save @commitlint/{cli,config-conventional}",
"echo \"module.exports = { extends: ['./vendor/node_modules/conventional-changelog-conventionalcommits'] };\" > .devbox/commitlint.config.js"
],
"scripts": {
"lint": "golangci-lint run ./...",
"test": "gotest ./..."
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment