Skip to content

Commit

Permalink
NPM: Add version-bump-prompt
Browse files Browse the repository at this point in the history
Adds scripts to make it easier to bump the version numbers in various places. e.g. `npm run bump:minor`.
  • Loading branch information
GaryJones committed Aug 9, 2024
1 parent 0c1efdd commit 8f439cc
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "zoninator",
"title": "Zoninator",
"description": "Curation made easy! Create \"zones\" then add and order your content!",
"version": "0.6.0",
"homepage": "http://vip.wordpress.com",
"license": "GPL-2.0+",
"repository": "automattic/wp-job-manager",
"devDependencies": {
"mixtape": "git+https://github.com/Automattic/mixtape.git#3a8440"
},
"engines": {
"node": ">=7.0.0",
"npm": ">=3.10.0"
}
"name": "zoninator",
"version": "0.9.0",
"description": "Curation made easy! Create \"zones\" then add and order your content!",
"license": "GPL-2.0-or-later",
"private": true,
"repository": "automattic/zoninator",
"scripts": {
"bump:patch": "bump patch --commit 'Version %s.' package.json package-lock.json zoninator.php README.md",
"bump:minor": "bump minor --commit 'Version %s.' package.json package-lock.json zoninator.php README.md",
"bump:major": "bump major --commit 'Version %s.' package.json package-lock.json zoninator.php README.md"
},
"devDependencies": {
"mixtape": "git+https://github.com/Automattic/mixtape.git#3a8440",
"version-bump-prompt": "^6.1.0"
}
}

0 comments on commit 8f439cc

Please sign in to comment.