Skip to content

feat: support version update of package-lock.json and npm-shrinkwrap.json#194

Open
odanado wants to merge 1 commit intounjs:mainfrom
odanado:support-package-lock-json
Open

feat: support version update of package-lock.json and npm-shrinkwrap.json#194
odanado wants to merge 1 commit intounjs:mainfrom
odanado:support-package-lock-json

Conversation

@odanado
Copy link
Copy Markdown

@odanado odanado commented May 31, 2024

🔗 Linked issue

#193

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

I have updated the version fields in package-lock.json and npm-shrinkwrap.json as well as package.json.

Resolves #193

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Comment thread src/semver.ts

if (pkgLock.packages && pkgLock.packages[""]) {
pkgLock.packages[""].version = pkg.version;
}
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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.

Support version update of package-lock.json and npm-shrinkwrap.json

1 participant