[Misc] Add update-version commands to package.json (#5204)

Version numbers are in the format of `MAJOR.MINOR.PATCH`

Commands added are `update-version:patch` and `update-version:minor`
This commit is contained in:
NightKev 2025-01-30 15:32:12 -08:00 committed by GitHub
parent e5c0b11c02
commit 5280f309f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,9 @@
"depcruise": "depcruise src",
"depcruise:graph": "depcruise src --output-type dot | node dependency-graph.js > dependency-graph.svg",
"create-test": "node ./create-test-boilerplate.js",
"postinstall": "npx lefthook install && npx lefthook run post-merge"
"postinstall": "npx lefthook install && npx lefthook run post-merge",
"update-version:patch": "npm version patch --force --no-git-tag-version",
"update-version:minor": "npm version minor --force --no-git-tag-version"
},
"devDependencies": {
"@eslint/js": "^9.3.0",