esbuild ./sources/_lib.ts --bundle --platform=node --target=node16.20.0 --external:corepack --outfile='./dist/lib/corepack.cjs' --resolve-extensions='.ts,.mjs,.js'
# -T (transpile only): mkshims.ts only writes the shim files, and Debian's tsc
# is older than upstream targets, so type checking reports narrowing errors
# that newer tsc does not.
ts-node -T ./mkshims.ts
