Skip to content

Commit 1f931ea

Browse files
Copiloticlanton
andcommitted
fix: add missing exports for JSON files in api-extractor and heft-jest-plugin
Co-authored-by: iclanton <5010588+iclanton@users.noreply.github.com>
1 parent 40b25e1 commit 1f931ea

4 files changed

Lines changed: 22 additions & 0 deletions

File tree

apps/api-extractor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"import": "./lib-esm/index.js",
3636
"require": "./lib-commonjs/index.js"
3737
},
38+
"./extends/*.json": "./extends/*.json",
3839
"./lib/*.schema.json": "./lib-commonjs/*.schema.json",
3940
"./lib/*": {
4041
"types": "./lib-dts/*.d.ts",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/api-extractor",
5+
"comment": "Add missing \"./extends/*.json\" to the package.json \"exports\" field so that \"@microsoft/api-extractor/extends/tsdoc-base.json\" is importable.",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@microsoft/api-extractor"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@rushstack/heft-jest-plugin",
5+
"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.",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@rushstack/heft-jest-plugin"
10+
}

heft-plugins/heft-jest-plugin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"jest-watch-select-projects": "2.0.0"
5454
},
5555
"exports": {
56+
"./includes/*.json": "./includes/*.json",
5657
"./lib/*.schema.json": "./lib-commonjs/*.schema.json",
5758
"./lib/*": {
5859
"types": "./lib-dts/*.d.ts",

0 commit comments

Comments
 (0)