dkjs Reference Implementation
dkjs is the JavaScript build system in the dk family. It runs on Node.js and
builds JavaScript and web projects: its execution ABI is js_nodejs, and a build
targets js_nodejs or, through a web bundler, js_web. The whole dk build engine
is compiled to a single JavaScript bundle that Node executes directly, with no
native binary.
dkjs shares the exact command-line dispatch, commands, options, build engine,
and consumer trust model of the reference implementation dk0 and the
multi-threaded dk1, so a producer key refused by dk0 is refused as well,
it refuses a release whose engine version floor is above the running
engine exactly as dk0 does, and it loads each asset index once per command
and reuses it the way dk0 does. This document only describes what is
different in dkjs. For the invocation form, every command, and every option,
see the dk0 Reference. For the -j / --jobs option it shares with dk1,
see the dk1 Reference. For the implementation-agnostic build model (projects,
assets, bundles, forms, objects, values, subshells, distributions and scripts)
see the Specification.