From 95cb8bb95b9f2b585c617406220df9a03aa59657 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Wed, 13 Oct 2021 14:51:24 -0700 Subject: [PATCH] Allow package.json files to specify imports/exports/type So we can start using them on DT. --- src/checks.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/checks.ts b/src/checks.ts index dc72536..2e39a8d 100644 --- a/src/checks.ts +++ b/src/checks.ts @@ -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":