Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Allow package.json files to specify imports/exports/type #346

Merged
merged 1 commit into from
Oct 14, 2021
Merged
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
3 changes: 3 additions & 0 deletions src/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ export async function checkPackageJson(
case "private":
case "dependencies":
case "license":
case "imports":
case "exports":
case "type":
// "private"/"typesVersions"/"types" checked above, "dependencies" / "license" checked by types-publisher,
break;
case "typesVersions":
Expand Down