Skip to content

Commit

Permalink
Use libpkgx 0.17; Fixes unicode.org conflicts (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl authored Jan 28, 2024
1 parent b41c812 commit 599c108
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.shellcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -55,12 +57,16 @@ 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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: 1.39
- run: deno task typecheck
12 changes: 4 additions & 8 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
Expand All @@ -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
}
}
2 changes: 1 addition & 1 deletion src/utils/Logger.ts
Original file line number Diff line number Diff line change
@@ -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"

Expand Down

0 comments on commit 599c108

Please sign in to comment.