Release Notes
What changed in the notable releases of @remotex-labs/xbuild.
v3.1.1
- Fixed: A build sets the exit code on what it found rather than throwing
Cannot set property exitCode of #<process> which has only a getter. The process reached through the bareprocessimport exposesexitCodeas a getter alone, so the write that ends a build threw before the run could say how it went. The process is taken fromnode:processnow, which is the object the write lands on.
v3.1.0
- Fixed:
outbasedecides the names a build writes its outputs under. Entry points are resolved into a record before the build runs, and esbuild readsoutbasefor entry points written as plain paths alone, so the setting reached the build with nothing left to act on: a glob list underoutbase: 'src'still wrotesrc/index.tstodist/src/index.js. The resolved names are taken againstoutbaseinstead, and an unbundled build names its per-file outputs the same way rather than against therootDirof itstsconfig.json, which stays the fallback where a configuration names nooutbase. A file the globs reach from outside the base keeps its whole path rather than the steps out ofoutdira relative path would carry, and the declarations emitted beside the outputs follow the same names. - Fixed: A watch run picks up an edit to its own configuration file again. The version it compared came from the cached contents rather than from disk, so the file never read as changed, and the run went on building under the configuration it started with until it was restarted. The modification time is read from the filesystem on every watch event instead, which costs one
statper event.
Earlier releases
- v3.0.x - the oxc rewrite, the lifecycle plugins, and the interactive terminal (archived docs).
- v2.5.x - the last of the TypeScript-AST line (archived docs).
- v2.0.0 / v2.1.x - the variant/directive rewrite and the
$argvglobal (archived docs). - v1.x - the original hooks-based toolchain (archived docs).
