Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nktpro committed Sep 15, 2024
1 parent 85c7674 commit a0756d7
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 63 deletions.
9 changes: 8 additions & 1 deletion cli.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
shopt -s extglob globstar

SCRIPT_DIR=$(realpath "$(dirname "${BASH_SOURCE[0]}")")

check_all() {
deno check ./**/*.ts
}

code_quality() {
echo "Checking formatting..."
deno fmt --check
Expand All @@ -21,7 +27,8 @@ update_lock() {
}

update_deps() {
deno run -A jsr:@wok/deup@1.3.0 update "$@"
deno run -A jsr:@wok/deup@1.3.1 update "$@"
"$0" update_lock
}

run() {
Expand Down
11 changes: 4 additions & 7 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
"publish": {
"include": ["./src", "./deno.json", "./README.md", "./LICENSE"]
},
"tasks": {
"check_all": "deno check **/*.ts"
},
"fmt": {
"include": [
"build.ts",
Expand All @@ -34,13 +31,13 @@
}
},
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.4",
"@std/assert": "jsr:@std/assert@^1.0.5",
"@std/async": "jsr:@std/async@^1.0.5",
"@std/fmt": "jsr:@std/fmt@^1.0.2",
"@std/fs": "jsr:@std/fs@^1.0.3",
"@std/path": "jsr:@std/path@^1.0.4",
"@std/path": "jsr:@std/path@^1.0.6",
"@std/yaml": "jsr:@std/yaml@^1.0.5",
"@wok/typebox": "jsr:@wok/typebox@^0.33.7",
"@wok/utils": "jsr:@wok/utils@^1.12.0"
"@wok/typebox": "jsr:@wok/typebox@^0.33.10",
"@wok/utils": "jsr:@wok/utils@^2.1.6"
}
}
72 changes: 28 additions & 44 deletions deno.lock

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

12 changes: 6 additions & 6 deletions flake.lock

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

9 changes: 4 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,14 @@
hasSuffix "/deno.json" path
);
};
deno-cache = pkgs.callPackage hotPotLib.denoAppCache2 {
deno-cache-dir = pkgs.callPackage hotPotLib.denoAppCache2 {
inherit deno name src;
config-file = ./deno.json;
lock-file = ./deno.lock;
};
built = pkgs.callPackage hotPotLib.denoAppBuild
transpiled = pkgs.callPackage hotPotLib.denoAppTranspile
{
inherit name deno-cache src;
inherit (hotPotPkgs) deno-app-build;
inherit name deno-cache-dir src;
appSrcPath = "./src/app.ts";
denoRunFlags = ''"''${DENO_RUN_FLAGS[@]}"'';
preExec = ''
Expand All @@ -98,7 +97,7 @@
buildInputs = [ pkgs.makeWrapper ];
}
''
makeWrapper ${built}/bin/jetski $out/bin/jetski \
makeWrapper ${transpiled}/bin/jetski $out/bin/jetski \
--set JETSKI_VERSION "${denoJson.version}" \
--prefix PATH : "${pkgs.lib.makeBinPath runtimeInputs}" \
--set-default JETSKI_ENABLE_STACKTRACE "0"
Expand Down

0 comments on commit a0756d7

Please sign in to comment.