-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for Deno, Biome, and Taskfile
- Loading branch information
Showing
12 changed files
with
208 additions
and
135 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export TF_VAR_r2_api_token=deadbeef | ||
export TF_VAR_r2_api_token=deadbeef | ||
export TF_VAR_cf_account_id=deadbeef |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{ | ||
"recommendations": [ | ||
"arrterian.nix-env-selector" | ||
] | ||
} | ||
"recommendations": ["arrterian.nix-env-selector"] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"nixEnvSelector.nixFile": "${workspaceFolder}/shell.nix" | ||
} | ||
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix", | ||
"cSpell.words": ["deno", "terragrunt"], | ||
"deno.enable": true | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# https://taskfile.dev | ||
|
||
version: '3' | ||
|
||
vars: | ||
TF_VAR_: Hello, World! | ||
|
||
tasks: | ||
init:secrets: | ||
dir: "scripts/" | ||
cmds: | ||
- onboard_secrets.sh | ||
|
||
init:terragrunt: | ||
dir: "infrastructure/" | ||
cmds: | ||
- terragrunt init | ||
|
||
validate: | ||
dir: "infrastructure/" | ||
cmds: | ||
- terragrunt validate | ||
|
||
upgrade-providers: | ||
dir: "infrastructure/" | ||
cmds: | ||
- terragrunt init -upgrade | ||
- terragrunt providers lock -platform=darwin_amd64 -platform=linux_amd64 -platform=darwin_arm64 -platform=linux_arm64 | ||
|
||
plan: | ||
dir: "infrastructure/" | ||
cmds: | ||
- task: init | ||
- terragrunt plan {{.CLI_ARGS}} | ||
|
||
show: | ||
dir: "infrastructure/" | ||
cmds: | ||
- terragrunt show {{.CLI_ARGS}} | ||
|
||
apply: | ||
dir: "infrastructure/" | ||
cmds: | ||
- terragrunt apply {{.CLI_ARGS}} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"formatter": { | ||
"ignore": [".direnv"] | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
}, | ||
"ignore": [".direnv"] | ||
} | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
{ | ||
"name": "@org/repository", | ||
"version": "1.0.0", | ||
"description": "Monorepository for the node-nix-template", | ||
"main": "index.js", | ||
"repository": "https://github.com/tcarrio/node-nix-template", | ||
"author": "", | ||
"license": "MIT", | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"devDependencies": { | ||
"@types/node": "^20.12.12", | ||
"ts-node": "^10.9.2" | ||
} | ||
"name": "@org/repository", | ||
"version": "1.0.0", | ||
"description": "Monorepository for the node-nix-template", | ||
"main": "index.js", | ||
"repository": "https://github.com/tcarrio/node-nix-template", | ||
"author": "", | ||
"license": "MIT", | ||
"private": true, | ||
"workspaces": ["packages/*"], | ||
"devDependencies": { | ||
"@types/node": "^20.12.12", | ||
"ts-node": "^10.9.2" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
{ | ||
"name": "@org/example", | ||
"version": "1.0.0", | ||
"description": "Example package in @org", | ||
"main": "index.js", | ||
"author": "", | ||
"license": "MIT", | ||
"private": true, | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
} | ||
"name": "@org/example", | ||
"version": "1.0.0", | ||
"description": "Example package in @org", | ||
"main": "index.js", | ||
"author": "", | ||
"license": "MIT", | ||
"private": true, | ||
"dependencies": {}, | ||
"devDependencies": {} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export {}; | ||
export {}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json" | ||
} | ||
"extends": "../../tsconfig.json" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env deno | ||
|
||
import { parse } from "https://deno.land/[email protected]/flags/mod.ts"; | ||
|
||
const flags = parse(Deno.args, { | ||
boolean: ["help", "save"], | ||
string: ["name", "color"], | ||
alias: { help: "h" }, | ||
default: { color: "blue" }, | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.