Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Remove unused package-lock.json files before building#16493

Merged
lee-dohm merged 2 commits intomasterfrom
clean-package-lock
Jan 8, 2018
Merged

Remove unused package-lock.json files before building#16493
lee-dohm merged 2 commits intomasterfrom
clean-package-lock

Conversation

@lee-dohm
Copy link
Contributor

@lee-dohm lee-dohm commented Jan 4, 2018

Description of the Change

package-lock.json files are generated by the build on certain configurations. When they are, they can sometimes create strange, hard-to-diagnose errors that prevent successive builds. This change deletes the package-lock.json files (that we don't use for Atom) before building so that people who aren't consistently building Atom don't get confused.

Alternate Designs

Considered actually using the package-lock.json files but we're not ready to do that yet.

Why Should This Be In Core?

Because that's where builds happen.

Benefits

Easier build experience for everyone 🎉

Possible Drawbacks

We'll have to rip this out if/when we decide to use package-lock.json files.

Applicable Issues

None known?

@ghost
Copy link

ghost commented Jan 6, 2018

Great! You also could call it clean-lockfiles, I think that looks better and, as I know, it is their right name.

@lee-dohm lee-dohm merged commit d265bef into master Jan 8, 2018
@lee-dohm lee-dohm deleted the clean-package-lock branch January 8, 2018 03:26
@jasonrudolph jasonrudolph mentioned this pull request Jun 25, 2018
3 tasks
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.

1 participant