From 8acab950f864de5a20921cea7dfab7920e9fbd3c Mon Sep 17 00:00:00 2001 From: nartc Date: Wed, 18 Dec 2024 15:01:45 -0600 Subject: [PATCH] fix(core): make packageExports metadata optional field fix nx cloud type issue --- packages/nx/src/config/workspace-json-project-json.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nx/src/config/workspace-json-project-json.ts b/packages/nx/src/config/workspace-json-project-json.ts index 61132aa6feb49..f6d42ca32c6c7 100644 --- a/packages/nx/src/config/workspace-json-project-json.ts +++ b/packages/nx/src/config/workspace-json-project-json.ts @@ -139,7 +139,7 @@ export interface ProjectMetadata { }; js?: { packageName: string; - packageExports: undefined | PackageJson['exports']; + packageExports?: PackageJson['exports']; }; }