diff --git a/.github/workflows/ci.shellcode.yml b/.github/workflows/ci.shellcode.yml index da5261a6..e7c52a24 100644 --- a/.github/workflows/ci.shellcode.yml +++ b/.github/workflows/ci.shellcode.yml @@ -18,6 +18,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: denoland/setup-deno@v1 + with: + deno-version: 1.39 - uses: actions/checkout@v4 - run: deno task compile - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5601d415..aa46dca0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,8 @@ jobs: - uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 # using ourself to install deno could compromise the tests + with: + deno-version: 1.39 - run: deno cache **/*.test.ts - run: deno task test --coverage=cov_profile --no-check - run: deno coverage cov_profile --lcov --exclude=tests/ --output=cov_profile.lcov @@ -55,7 +57,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: denoland/setup-deno@v1 + - uses: denoland/setup-deno@v1 # using ourself to install deno could compromise the tests + with: + deno-version: 1.39 - run: deno lint typecheck: @@ -63,4 +67,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 + with: + deno-version: 1.39 - run: deno task typecheck diff --git a/deno.jsonc b/deno.jsonc index 70ab2af9..e46f9a70 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -21,11 +21,7 @@ "typecheck": "deno check --unstable ./entrypoint.ts", "compile": "deno compile --lock=deno.lock --allow-read --allow-write --allow-net --allow-run --allow-env --allow-ffi --unstable --output $INIT_CWD/pkgx ./entrypoint.ts" }, - "pkgx": { - "dependencies": { - "deno.land": "^1.33.3" - } - }, + "pkgx": "deno~1.39", "lint": { "exclude": ["src/**/*.test.ts"] }, @@ -34,10 +30,10 @@ }, "imports": { "is-what": "https://deno.land/x/is_what@v4.1.15/src/index.ts", - "pkgx": "https://deno.land/x/libpkgx@v0.16.0/mod.ts", - "pkgx/": "https://deno.land/x/libpkgx@v0.16.0/src/", + "pkgx": "https://deno.land/x/libpkgx@v0.17.0/mod.ts", + "pkgx/": "https://deno.land/x/libpkgx@v0.17.0/src/", "outdent": "https://deno.land/x/outdent@v0.8.0/mod.ts", "cliffy/": "https://deno.land/x/cliffy@v1.0.0-rc.3/", - "deno/": "https://deno.land/std@0.204.0/" // cliffy is on 196, try to consolidate to their choice + "deno/": "https://deno.land/std@0.196.0/" // cliffy is on 196 so we standardized on it } } diff --git a/src/utils/Logger.ts b/src/utils/Logger.ts index f122bccd..b5f8b5c1 100644 --- a/src/utils/Logger.ts +++ b/src/utils/Logger.ts @@ -1,4 +1,4 @@ -import { stripAnsiCode } from "deno/fmt/colors.ts" +import { stripAnsiCode } from "https://deno.land/std@0.213.0/fmt/colors.ts" import { ansi } from "cliffy/ansi/ansi.ts" import { dim } from "./color.ts"