From 5eb1f00ee4fac526dcc0a36fc6a393676bdf0822 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Nov 2025 23:10:43 +0000 Subject: [PATCH 1/3] Initial plan From 92bff892f37e2bc64681fc3af998c41ba8bed69e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Nov 2025 23:17:10 +0000 Subject: [PATCH 2/3] Add lib-dts and lib-esm to cleanFiles in heft-node-rig Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com> --- rigs/heft-node-rig/profiles/default/config/heft.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigs/heft-node-rig/profiles/default/config/heft.json b/rigs/heft-node-rig/profiles/default/config/heft.json index 922aed1cd6b..e550329a62c 100644 --- a/rigs/heft-node-rig/profiles/default/config/heft.json +++ b/rigs/heft-node-rig/profiles/default/config/heft.json @@ -21,7 +21,7 @@ "phasesByName": { "build": { - "cleanFiles": [{ "includeGlobs": ["dist", "lib", "lib-commonjs"] }], + "cleanFiles": [{ "includeGlobs": ["dist", "lib", "lib-commonjs", "lib-dts", "lib-esm"] }], "tasksByName": { "typescript": { From 58e9fac3022bc84643dc955bc98634b879cb51bc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Nov 2025 23:48:30 +0000 Subject: [PATCH 3/3] Add change file for heft-node-rig Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com> --- ...d-lib-dts-lib-esm-cleanfiles_2025-11-07-23-47.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@rushstack/heft-node-rig/copilot-add-lib-dts-lib-esm-cleanfiles_2025-11-07-23-47.json diff --git a/common/changes/@rushstack/heft-node-rig/copilot-add-lib-dts-lib-esm-cleanfiles_2025-11-07-23-47.json b/common/changes/@rushstack/heft-node-rig/copilot-add-lib-dts-lib-esm-cleanfiles_2025-11-07-23-47.json new file mode 100644 index 00000000000..38aef1a8261 --- /dev/null +++ b/common/changes/@rushstack/heft-node-rig/copilot-add-lib-dts-lib-esm-cleanfiles_2025-11-07-23-47.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "Include lib-dts and lib-esm folders in default files to clean", + "type": "patch", + "packageName": "@rushstack/heft-node-rig" + } + ], + "packageName": "@rushstack/heft-node-rig", + "email": "198982749+Copilot@users.noreply.github.com" +} \ No newline at end of file