From 40b25e126a037e090a5ec48399d02ce3150e2c1d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 19:28:22 +0000 Subject: [PATCH 1/2] Initial plan From 1f931eaa2d200505d26ab8893ad6895b68ae83ce Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 19:35:47 +0000 Subject: [PATCH 2/2] fix: add missing exports for JSON files in api-extractor and heft-jest-plugin Co-authored-by: iclanton <5010588+iclanton@users.noreply.github.com> --- apps/api-extractor/package.json | 1 + .../fix-missing-exports_2026-02-21-19-28.json | 10 ++++++++++ .../fix-missing-exports_2026-02-21-19-28.json | 10 ++++++++++ heft-plugins/heft-jest-plugin/package.json | 1 + 4 files changed, 22 insertions(+) create mode 100644 common/changes/@microsoft/api-extractor/fix-missing-exports_2026-02-21-19-28.json create mode 100644 common/changes/@rushstack/heft-jest-plugin/fix-missing-exports_2026-02-21-19-28.json diff --git a/apps/api-extractor/package.json b/apps/api-extractor/package.json index 4eeb35021d..8b381d8c16 100644 --- a/apps/api-extractor/package.json +++ b/apps/api-extractor/package.json @@ -35,6 +35,7 @@ "import": "./lib-esm/index.js", "require": "./lib-commonjs/index.js" }, + "./extends/*.json": "./extends/*.json", "./lib/*.schema.json": "./lib-commonjs/*.schema.json", "./lib/*": { "types": "./lib-dts/*.d.ts", diff --git a/common/changes/@microsoft/api-extractor/fix-missing-exports_2026-02-21-19-28.json b/common/changes/@microsoft/api-extractor/fix-missing-exports_2026-02-21-19-28.json new file mode 100644 index 0000000000..b90352304e --- /dev/null +++ b/common/changes/@microsoft/api-extractor/fix-missing-exports_2026-02-21-19-28.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/api-extractor", + "comment": "Add missing \"./extends/*.json\" to the package.json \"exports\" field so that \"@microsoft/api-extractor/extends/tsdoc-base.json\" is importable.", + "type": "patch" + } + ], + "packageName": "@microsoft/api-extractor" +} diff --git a/common/changes/@rushstack/heft-jest-plugin/fix-missing-exports_2026-02-21-19-28.json b/common/changes/@rushstack/heft-jest-plugin/fix-missing-exports_2026-02-21-19-28.json new file mode 100644 index 0000000000..8ca4a9bfba --- /dev/null +++ b/common/changes/@rushstack/heft-jest-plugin/fix-missing-exports_2026-02-21-19-28.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-jest-plugin", + "comment": "Add missing \"./includes/*.json\" to the package.json \"exports\" field so that Jest config files like \"@rushstack/heft-jest-plugin/includes/jest-shared.config.json\" are importable.", + "type": "patch" + } + ], + "packageName": "@rushstack/heft-jest-plugin" +} diff --git a/heft-plugins/heft-jest-plugin/package.json b/heft-plugins/heft-jest-plugin/package.json index 3a1a05c3c5..8c164853aa 100644 --- a/heft-plugins/heft-jest-plugin/package.json +++ b/heft-plugins/heft-jest-plugin/package.json @@ -53,6 +53,7 @@ "jest-watch-select-projects": "2.0.0" }, "exports": { + "./includes/*.json": "./includes/*.json", "./lib/*.schema.json": "./lib-commonjs/*.schema.json", "./lib/*": { "types": "./lib-dts/*.d.ts",