From 6c76dead5b2f7b3d86c79447495441fbc7ce82e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Tue, 2 Apr 2024 11:18:39 +0200 Subject: [PATCH] fix(angular): fix @nx/angular/src/utils entry point --- packages/angular/package.json | 2 +- packages/angular/src/utils/{public-api.ts => index.ts} | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) rename packages/angular/src/utils/{public-api.ts => index.ts} (63%) diff --git a/packages/angular/package.json b/packages/angular/package.json index d55d07c81d42c..cc1282cdfbf94 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -23,7 +23,7 @@ "./executors": "./executors.js", "./tailwind": "./tailwind.js", "./module-federation": "./module-federation/index.js", - "./src/utils": "./src/utils/public-api.js", + "./src/utils": "./src/utils/index.js", "./plugins/component-testing": "./plugins/component-testing.js", "./src/generators/utils": "./src/generators/utils/index.js", "./src/generators/move/move-impl": "./src/generators/move/move-impl.js", diff --git a/packages/angular/src/utils/public-api.ts b/packages/angular/src/utils/index.ts similarity index 63% rename from packages/angular/src/utils/public-api.ts rename to packages/angular/src/utils/index.ts index a239580205fd3..b2d82ea1cdcb5 100644 --- a/packages/angular/src/utils/public-api.ts +++ b/packages/angular/src/utils/index.ts @@ -1,3 +1,9 @@ +/** + * Note to developers: STOP! These exports end up as the public API of @nx/angular/src/utils. + * + * Try hard to not add to this API to reduce the surface area we need to maintain. + */ + export { isStandalone, addImportToComponent,