From 80496aa94cb2980a84b04dc784a132a1e97a4209 Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Fri, 12 Apr 2024 14:35:36 -0400 Subject: [PATCH] fix: remove all exports null (#5830) --- packages/live-preview-react/package.json | 8 +++++++- packages/live-preview/package.json | 8 +++++++- packages/plugin-search/package.json | 8 +++++++- packages/plugin-seo/package.json | 8 +++++++- packages/richtext-slate/package.json | 8 +++++++- 5 files changed, 35 insertions(+), 5 deletions(-) diff --git a/packages/live-preview-react/package.json b/packages/live-preview-react/package.json index cfc1e7304..59eaded6b 100644 --- a/packages/live-preview-react/package.json +++ b/packages/live-preview-react/package.json @@ -39,7 +39,13 @@ } }, "publishConfig": { - "exports": null, + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, "main": "./dist/index.js", "registry": "https://registry.npmjs.org/", "types": "./dist/index.d.ts" diff --git a/packages/live-preview/package.json b/packages/live-preview/package.json index 2e8f72af1..fc6e7bd94 100644 --- a/packages/live-preview/package.json +++ b/packages/live-preview/package.json @@ -32,7 +32,13 @@ } }, "publishConfig": { - "exports": null, + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, "main": "./dist/index.js", "registry": "https://registry.npmjs.org/", "types": "./dist/index.d.ts" diff --git a/packages/plugin-search/package.json b/packages/plugin-search/package.json index 76c4477cb..58a673809 100644 --- a/packages/plugin-search/package.json +++ b/packages/plugin-search/package.json @@ -52,7 +52,13 @@ } }, "publishConfig": { - "exports": null, + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, "main": "./dist/index.js", "registry": "https://registry.npmjs.org/", "types": "./dist/index.d.ts" diff --git a/packages/plugin-seo/package.json b/packages/plugin-seo/package.json index 22ca330c9..ffd226544 100644 --- a/packages/plugin-seo/package.json +++ b/packages/plugin-seo/package.json @@ -54,7 +54,13 @@ } }, "publishConfig": { - "exports": null, + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, "main": "./dist/index.js", "registry": "https://registry.npmjs.org/", "types": "./dist/index.d.ts" diff --git a/packages/richtext-slate/package.json b/packages/richtext-slate/package.json index dcff1948c..089c7768a 100644 --- a/packages/richtext-slate/package.json +++ b/packages/richtext-slate/package.json @@ -50,7 +50,13 @@ } }, "publishConfig": { - "exports": null, + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, "main": "./dist/index.js", "registry": "https://registry.npmjs.org/", "types": "./dist/index.d.ts"