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,