Releases
dotcom-tool-kit-v4.1.0
4.1.0 (2024-12-09)
Features
add a consistent error formatter that can handle AggregateErrors and use it in the cli entrypoint (ccc2adc )
add a root option to loadConfig instead of using process.cwd() (d3f1560 )
pass config into taskruncontext (435ffbc )
pass current command into task run context (e4cf21c )
pass task cwd through via TaskRunContext (b12fe30 )
throw an error with a more helpful message from resolveRoot (6cfaa51 )
use an AggregateError for task errors (c49d3b3 )
Bug Fixes
be defensive when getting plugin options for tasks (55ad81a )
better formatting for option validation message (53e2004 )
correct logic for shouldDisableNativeFetch (224523b )
don't append --no-experimental-fetch multiple times (edf6443 )
freeze the config before passing it into tasks (a0283b9 )
friendlier and more readable option validation messages (2dd4b8c )
get plugin options from the plugin that the hook is from not the plugin installing it (22ad085 )
log an extra newline after error details (23ea7e4 )
more consistent validation messages for moved plugin options (f70662b )
preserve relative paths in resolveRoot to fix custom plugin loading (8876631 )
resolve a plugin's .toolkitrc.yml (f1458d8 )
Dependencies
The following workspace dependencies were updated
dependencies
@dotcom-tool-kit/base bumped from ^1.0.0 to ^1.1.0
@dotcom-tool-kit/config bumped from ^1.0.2 to ^1.0.3
@dotcom-tool-kit/error bumped from ^4.0.0 to ^4.0.1
@dotcom-tool-kit/logger bumped from ^4.0.0 to ^4.0.1
@dotcom-tool-kit/validated bumped from ^1.0.0 to ^1.0.1
You can’t perform that action at this time.