From a7a7c55ff55c913d0c1ce707880a92a0ab5427a7 Mon Sep 17 00:00:00 2001 From: Jordan Date: Thu, 13 Jan 2022 13:19:46 +0100 Subject: [PATCH] fix(angular): expose executors sources (#8368) * fix(angular): expose executors sources when having custom builder relying on yours, explicit access to executors directory is now required with ng13. Otherwise calls such as `require("@nrwl/angular/src/executors/package/package.impl");` do not work anymore * feat(angular): expose only executor functions Co-authored-by: Colum Ferry --- packages/angular/executors.ts | 3 +++ packages/angular/package.json | 1 + 2 files changed, 4 insertions(+) create mode 100644 packages/angular/executors.ts diff --git a/packages/angular/executors.ts b/packages/angular/executors.ts new file mode 100644 index 0000000000..a40e8956cb --- /dev/null +++ b/packages/angular/executors.ts @@ -0,0 +1,3 @@ +export * from './src/executors/delegate-build/delegate-build.impl'; +export * from './src/executors/ng-packagr-lite/ng-packagr-lite.impl'; +export * from './src/executors/package/package.impl'; diff --git a/packages/angular/package.json b/packages/angular/package.json index 13ab6102b7..63dfe4f4a4 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -19,6 +19,7 @@ ], "exports": { "./generators": "./generators.js", + "./executors": "./executors.js", "./tailwind": "./tailwind.js", "./src/generators/utils": "./src/generators/utils/index.js" },