Closed mxdvl closed 3 months ago
We could improve the typing of tasks with something like:
/** @type {import('../../task-runner/task.mjs').Task} */
/** @typedef {{
description: string;
task: Array<() => Promise<void> | Task>;
concurrent?: boolean;
}} Task */
dotcom:frontend-all
to CODESeen on FRONTS-PROD (merged by @mxdvl 12 minutes and 2 seconds ago)
Seen on ADMIN-PROD (merged by @mxdvl 12 minutes and 8 seconds ago)
What is the value of this and can you measure success?
Enable bumping ESM-only dependencies of the task runner, such as
cpy
What does this change?
Refactor all the CommonJS of the task runner to use ESM instead.
Screenshots
Checklist