chore: add prettier/typo check to CI (#14)

## Changes made
- Added back CI steps for validating the codebase for typos and formatting
- Updated README validation CI step to be dependent on typo-checking step
- Updated configuration files as needed to support the new CI step
- Updated all files that were previously getting skipped over from improperly-set-up CI logic
This commit is contained in:
Michael Smith
2025-04-29 10:09:22 -04:00
committed by GitHub
parent 0ce1e7ab01
commit 9e18a4e3a8
6 changed files with 200 additions and 169 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
{
"name": "modules",
"scripts": {
"test": "bun test",
"fmt": "bun x prettier --write **/*.sh **/*.ts **/*.md *.md && terraform fmt -recursive -diff",
"fmt:ci": "bun x prettier --check **/*.sh **/*.ts **/*.md *.md && terraform fmt -check -recursive -diff",
"terraform-validate": "./scripts/terraform_validate.sh",
"fmt": "bun x prettier -w **/*.sh .sample/run.sh new.sh **/*.ts **/*.md *.md && terraform fmt **/*.tf .sample/main.tf",
"fmt:ci": "bun x prettier --check **/*.sh .sample/run.sh new.sh **/*.ts **/*.md *.md && terraform fmt -check **/*.tf .sample/main.tf"
"test": "bun test",
"update-version": "./update-version.sh"
},
"devDependencies": {
"@types/bun": "^1.2.9",