Open mkhodan opened 2 months ago
The issue seems to be in this file: https://github.com/nrwl/nx/blob/57a201a56202b7cf97ca7d55a5e0a0a3f138b8cc/packages/eslint-plugin/src/utils/runtime-lint-utils.ts#L528C1-L528C7
where it checks if ng-package.json
exists it calls joinPathFragments(parent, entryFile)
even though entryFile
is undefined
Current Behavior
Right now if user hasn't specified entryFile in ng-package.json of secondary entry point
enforce-module-boundaries
throws an error:Expected Behavior
According to https://github.com/ng-packagr/ng-packagr/blob/main/docs/secondary-entrypoints.md the contents of
my_package/testing/ng-package.json
can be as simple as:and ng-packagr will assume that it is
src/public_api.ts
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response