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

Redesign the PackageJsonLookup API #564

Merged
merged 7 commits into from
Mar 16, 2018
Merged

Conversation

octogonz
Copy link
Collaborator

This is a breaking change for PackageJsonLookup, which clarifies the API names, and expands the cache to store individual package.json fields beyond just the package name.

Rush's IPackageJson interface is promoted to be part of node-core-library.

+ 'The required field "version" was not found');
}

if (this._loadExtraFields) {
Copy link
Member

@iclanton iclanton Mar 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_loadExtraFields [](start = 15, length = 16)

What about an optional parameter that lets you list out properties that you want? #WontFix

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good idea, but I'd like to wait until someone really needs it before designing it.


In reply to: 175201618 [](ancestors = 175201618)

Copy link
Member

@iclanton iclanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@octogonz octogonz removed the request for review from nickpape March 16, 2018 20:12
@octogonz octogonz merged commit e89aefb into master Mar 16, 2018
@octogonz
Copy link
Collaborator Author

Skipped Travis build because Travis is experiencing an outage

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

Successfully merging this pull request may close these issues.

3 participants