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

Fix: handle dependencies with package 'link' fields #2690

Merged
merged 2 commits into from
Mar 14, 2018
Merged

Fix: handle dependencies with package 'link' fields #2690

merged 2 commits into from
Mar 14, 2018

Conversation

jbreckmckye
Copy link
Contributor

@jbreckmckye jbreckmckye commented Mar 13, 2018

Linked bug: #2685

Some projects, like Mozilla Aframe, set a 'link' property at the root of their package.json file.
This causes problems for our packageDependencies job, which extends that object and adds 'link'
to signify the dependency dir is a symbolic link.

This PR makes sure any existing link in package.json is always overwritten with the appropriate value.

jbreckmckye added 2 commits March 13, 2018 15:08
… set in package.json

Some projects, like Mozilla Aframe, set a 'link' property at the root of their package.json file.
This causes problems for our packageDependencies job, which extends that object and adds 'link'
to signify the dependency dir is a symlink. Overwrite property by default.

Closes #2685
@jbreckmckye jbreckmckye changed the title Fix: when parsing dependencies, overwrite any package.json 'link' Fix: handle dependencies with package.json 'link' props Mar 13, 2018
@jbreckmckye jbreckmckye changed the title Fix: handle dependencies with package.json 'link' props Fix: handle dependencies with package 'link' fields Mar 13, 2018
@develar develar merged commit cca3168 into electron-userland:master Mar 14, 2018
@develar
Copy link
Member

develar commented Mar 14, 2018

Thanks! 20.5.1 released.

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.

2 participants