Last active
August 15, 2023 07:24
-
-
Save carhartl/2db6dfee18ee7fefbef0049c7841685c to your computer and use it in GitHub Desktop.
Devbox IaC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"packages": [ | |
"commitlint@latest", | |
"[email protected]", | |
"golangci-lint@latest", | |
"gotest@latest", | |
"hadolint@latest", | |
"[email protected]", | |
"lefthook@latest", | |
"[email protected]", | |
"nodePackages.prettier@latest", | |
"shellcheck@latest", | |
"shfmt@latest", | |
"[email protected]", | |
"[email protected]", | |
"[email protected]", | |
"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