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",