Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nktpro committed Jul 30, 2024
1 parent 733290b commit 2c4d32f
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 76 deletions.
7 changes: 6 additions & 1 deletion cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ shopt -s globstar
ENTRY_FILE="./src/helmet.ts"
MOD_FILE="./src/mod.ts"

update_deps() {
# shellcheck disable=SC2046
deno add $(jq -r '.imports | keys[]' < deno.json)
}

code_quality() {
echo "Checking formatting..."
deno fmt --check ./src
Expand Down Expand Up @@ -52,7 +57,7 @@ update_cache() {

update_lock() {
rm -f deno.lock
deno cache --reload --lock=deno.lock --lock-write "${ENTRY_FILE}" "${MOD_FILE}"
deno cache --reload --lock=deno.lock --frozen=false "${ENTRY_FILE}" "${MOD_FILE}"
}

run() {
Expand Down
8 changes: 4 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
},
"imports": {
"@std/fmt": "jsr:@std/fmt@^0.225.6",
"@std/fs": "jsr:@std/fs@^0.229.3",
"@std/fs": "jsr:@std/fs@^1.0.0",
"@std/io": "jsr:@std/io@^0.224.3",
"@std/path": "jsr:@std/path@^1.0.1",
"@std/path": "jsr:@std/path@^1.0.2",
"@std/semver": "jsr:@std/semver@^0.224.3",
"@std/yaml": "jsr:@std/yaml@^0.224.3",
"@std/yaml": "jsr:@std/yaml@^1.0.0",
"@wok/case": "jsr:@wok/case@^1.0.1",
"@wok/utils": "jsr:@wok/utils@^1.3.5"
"@wok/utils": "jsr:@wok/utils@^1.3.6"
}
}
66 changes: 33 additions & 33 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 26 additions & 38 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2c4d32f

Please sign in to comment.