Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/early-results-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stephansama/types-lhci": patch
---

updated package exports
1 change: 0 additions & 1 deletion core/types-lhci/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const outDir = path.resolve("./dist");
await build({
dts: true,
entry: ["./src/index.ts"],
exports: true,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Removing 'exports: true' can be a subtle change. It's good practice to add a comment explaining why this option was removed, especially if it was causing conflicts with the explicit 'exports' field in 'package.json' or leading to unintended export behaviors. This improves clarity for future maintainers.

});

const schemas = await import("./dist/index.js");
Expand Down
1 change: 1 addition & 0 deletions core/types-lhci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./schema.json": "./dist/schema.json",
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
Expand Down
Loading