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 package locks on publish #222

Merged
merged 3 commits into from Oct 29, 2020
Merged

Fix package locks on publish #222

merged 3 commits into from Oct 29, 2020

Conversation

nglgzz
Copy link
Contributor

@nglgzz nglgzz commented Oct 29, 2020

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

When releasing a new version, @relate package versions are bumped in all package.json files, but the corresponding package-lock.json files are left out of sync. Running npm audit after releases is then broken until the packages are synced again by manually running npm install.

What is the new behavior?

When releasing a new version we fix the package-lock.json files after versions are bumped and before the package is published. The solution is described more in detail here: lerna/lerna#1415 (comment)

Does this PR introduce a breaking change?

No

Other information:

Copy link
Contributor

@huboneo huboneo left a comment

Choose a reason for hiding this comment

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

I guess we dont have a choice :) LGTM

@nglgzz nglgzz merged commit 8e816a1 into neo4j-devtools:master Oct 29, 2020
@nglgzz nglgzz deleted the fix-lock branch October 29, 2020 11:33
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.

None yet

2 participants