Skip to content

Commit

Permalink
fix: update local package-lock file if present
Browse files Browse the repository at this point in the history
  • Loading branch information
tada5hi committed Dec 12, 2023
1 parent cfdf41d commit 43609c8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/plugins/node-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,14 @@ export class NodeWorkspace extends WorkspacePlugin<Package> {
versionsMap: updatedVersions,
}),
},
{
path: addPath(updatedPackage.path, 'package-lock.json'),
createIfMissing: false,
updater: new PackageJson({
version: newVersion,
versionsMap: updatedVersions,
}),
},
{
path: addPath(updatedPackage.path, 'CHANGELOG.md'),
createIfMissing: false,
Expand Down

0 comments on commit 43609c8

Please sign in to comment.