Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

#12 Does not work with secondary entrypoints without a package.json #13

Conversation

bohoffi
Copy link
Owner

@bohoffi bohoffi commented Oct 1, 2022

PR Checklist

PR Type

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

The previous version relied on the existence of a package.json file in every entrypoint direction - which isn't required anymore.

Issue Number: #12

What is the new behavior?

We rely on ng-packagr now to properly identify all entrypoints.

Does this PR introduce a breaking change?

[ ] Yes
[X] No

* ensure generator is built before testing against libs
* to ensure entrypoints are found with efficiency we do not scan directories anymore by ourself
* if a doc can be matched to a secondary entrypoint we fall back to the primary one
* remove custom implementations of `ng-packagr` interfaces
@bohoffi bohoffi linked an issue Oct 1, 2022 that may be closed by this pull request
@bohoffi bohoffi merged commit 1dd6349 into develop Oct 1, 2022
@bohoffi bohoffi deleted the bugfix/12-bug-does-not-work-with-secondary-entrypoints-without-a-packagejson branch October 1, 2022 18:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Does not work with secondary entrypoints without a package.json
1 participant