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
refactor(npm): skip internal packages earlier #6639
Conversation
This is "breaking" in terms of cache format :-/ edit: will fix that |
@@ -76,7 +76,7 @@ export interface PackageFile<T = Record<string, any>> | |||
extends NpmLockFiles, | |||
ManagerData<T> { | |||
hasYarnWorkspaces?: boolean; | |||
internalPackages?: string[]; | |||
internalPackages?: string[]; // TODO: remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only cached extracts should have this
'Dependency is ignored due to being internal' | ||
); | ||
} else if (depConfig.internalPackages?.includes(depName)) { | ||
// istanbul ignore next | ||
dep.skipReason = SkipReason.InternalPackage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to keep this in for cached extracts
🎉 This PR is included in version 21.21.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
No description provided.