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

refactor(npm): skip internal packages earlier #6639

Merged
merged 3 commits into from Jun 30, 2020

Conversation

rarkins
Copy link
Collaborator

@rarkins rarkins commented Jun 30, 2020

No description provided.

@rarkins rarkins requested a review from viceice June 30, 2020 08:23
@rarkins
Copy link
Collaborator Author

rarkins commented Jun 30, 2020

This is "breaking" in terms of cache format :-/

edit: will fix that

@rarkins rarkins marked this pull request as draft June 30, 2020 08:27
@rarkins rarkins marked this pull request as ready for review June 30, 2020 09:08
@@ -76,7 +76,7 @@ export interface PackageFile<T = Record<string, any>>
extends NpmLockFiles,
ManagerData<T> {
hasYarnWorkspaces?: boolean;
internalPackages?: string[];
internalPackages?: string[]; // TODO: remove
Copy link
Collaborator Author

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;
Copy link
Collaborator Author

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

@rarkins rarkins merged commit abfdae3 into master Jun 30, 2020
@rarkins rarkins deleted the refactor/npm-internal-packages branch June 30, 2020 10:05
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 21.21.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2020
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.

None yet

3 participants