37 GB
4,042,753 files
Updated about 1 month ago
Name
Size
README.md1.04 kB
xet
mod.ts486 Bytes
xet
mod_test.ts395 Bytes
xet
zuke.json24 Bytes
xet
zuke.ts1.76 kB
xet
README.md

deno-library

The everyday gate for a Deno package, as five targets and one ci that fans out to all of them:

format ─┐
lint ───┼─▶ ci ─▶ default
check ─▶ test ─▶ coverage ─┘
zuke            # the whole gate
zuke coverage   # check → test → coverage
zuke --parallel # format, lint and check run concurrently

What to notice in zuke.ts:

  • Every step is a typed wrapper — DenoTasks.fmt, .lint, .check, .test, .coverage — configured with a settings lambda that mirrors the real flags. There is no shell string anywhere.
  • coverage depends on test, which depends on check. Ask for coverage and Zuke runs the chain in order; ask for ci and each target still runs exactly once.
  • DenoTasks.coverage((s) => s.threshold(95)) is the gate deno coverage itself does not have: it parses the lcov report and fails the build below the threshold.

The library under test is mod.ts, a one-function module with a test beside it.

Total size
37 GB
Files
4,042,753
Last updated
Oct 24
Pre-warmed CDN
US EU US EU

Contributors