Description
The subcommand deno fetch
is confusing, as it only implies partly what the subcommand actually does (and in some cases it doesn't fetch anything). What it does is parse all the dependencies of the root module, gather all the sources, and run them through the TypeScript compiler to populate the catch, but doesn't actually run the code.
We are likely to utilise the deno compile
subcommand in the future to create a self contained binary, so the only other logically semantic term we could use is deno build
deno cache
.
This could also mean we could consider renaming the Deno.compile()
API to Deno.build()
, which is effectively the same functionality as deno fetch
today. This would also mean that we would also have logical parity with deno bundle
and Deno.bundle()
. The one oddity is currently Deno.transpileOnly()
but we have talked about --no-type-check
flag (see: #4323 (comment)) and we would then want to move Deno.traspileOnly()
to just an option of Deno.build()
and Deno.bundle()
.