diff --git a/bower.json b/bower.json index fc3f1f1..f6f789d 100644 --- a/bower.json +++ b/bower.json @@ -4,7 +4,7 @@ "type": "git", "url": "git://github.com/cgkineo/adapt-pageNav.git" }, - "version": "2.1.0", + "version": "2.1.1", "framework": ">=5.2", "homepage": "https://github.com/cgkineo/adapt-pageNav", "issues": "https://github.com/cgkineo/adapt-pageNav/issues/", @@ -16,5 +16,46 @@ "adapt-plugin", "adapt-component" ], - "license": "GPL-3.0" + "license": "GPL-3.0", + "private": true, + "devDependencies": { + "@semantic-release/commit-analyzer": "^9.0.2", + "@semantic-release/git": "^10.0.1", + "@semantic-release/github": "^8.0.5", + "@semantic-release/npm": "^9.0.1", + "@semantic-release/release-notes-generator": "^10.0.3", + "conventional-changelog-eslint": "^3.0.9", + "semantic-release": "^19.0.3" + }, + "scripts": { + "postversion": "cp package.json bower.json" + }, + "release": { + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "eslint" + } + ], + [ + "@semantic-release/release-notes-generator", + { + "preset": "eslint" + } + ], + "@semantic-release/npm", + "@semantic-release/github", + [ + "@semantic-release/git", + { + "assets": [ + "package.json", + "bower.json" + ], + "message": "Chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ] + ] + } } diff --git a/package.json b/package.json index b62edab..f6f789d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type": "git", "url": "git://github.com/cgkineo/adapt-pageNav.git" }, - "version": "2.1.0", + "version": "2.1.1", "framework": ">=5.2", "homepage": "https://github.com/cgkineo/adapt-pageNav", "issues": "https://github.com/cgkineo/adapt-pageNav/issues/",