Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to ignore deprecated versions #70

Closed
Blackbaud-SteveBrush opened this issue Sep 14, 2022 · 2 comments · Fixed by #77
Closed

Add option to ignore deprecated versions #70

Blackbaud-SteveBrush opened this issue Sep 14, 2022 · 2 comments · Fixed by #77

Comments

@Blackbaud-SteveBrush
Copy link

Blackbaud-SteveBrush commented Sep 14, 2022

When getting the latest minor version of a package (e.g. ^4.5.0) could we add an option to ignore package versions that are marked as "deprecated" on npmjs.org?

Related: ng-packagr/ng-packagr#2434

@Blackbaud-SteveBrush Blackbaud-SteveBrush changed the title Add option to ignore deprecated packages Add option to ignore deprecated versions Sep 14, 2022
@Blackbaud-SteveBrush
Copy link
Author

For example, ng-packagr's most recent version 14.3.0 is marked as deprecated, but package-json pulls it in anyway when I request the "latest" version for the range ^14.
Screen Shot 2022-09-14 at 10 27 43 AM

@rexxars
Copy link
Sponsor Collaborator

rexxars commented Sep 16, 2022

Seems sensible to me - do you want to take a stab at implementing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants