From bfe5486638b99e1cae12350fb6a16c5b65dace8a Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 24 Jul 2022 10:49:10 +0000 Subject: [PATCH] Chore(release): 7.2.0 [skip ci] # [7.2.0](https://github.com/adaptlearning/adapt-contrib-mcq/compare/v7.1.1...v7.2.0) (2022-07-24) ### Fix * Added release automation (#182) ([6499bfd](https://github.com/adaptlearning/adapt-contrib-mcq/commit/6499bfd09b20513bf17925035cc7f7a508ffcd06)), closes [#182](https://github.com/adaptlearning/adapt-contrib-mcq/issues/182) ### New * Issue and pr project addition automation (refs https://github.com/adaptlearning/adapt_framework/issues/3315) (#181) ([8250c5e](https://github.com/adaptlearning/adapt-contrib-mcq/commit/8250c5ed6d942f53fdbb0ce86119b2f2c4ee1d37)), closes [#181](https://github.com/adaptlearning/adapt-contrib-mcq/issues/181) --- bower.json | 49 +++++++++++++++++++++++++++++++++++++++++++++---- package.json | 19 +++++++++++++------ 2 files changed, 58 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index bf53175..cbde351 100644 --- a/bower.json +++ b/bower.json @@ -1,17 +1,58 @@ { "name": "adapt-contrib-mcq", - "version": "7.1.1", + "version": "7.2.0", "framework": ">=5.19.1", "homepage": "https://github.com/adaptlearning/adapt-contrib-mcq", "bugs": "https://github.com/adaptlearning/adapt-contrib-mcq/issues", - "component" : "mcq", + "component": "mcq", "targetAttribute": "_mcq", - "displayName" : "Multiple Choice Question", + "displayName": "Multiple Choice Question", "description": "A multiple choice question component", "main": "/js/adapt-contrib-mcq.js", "keywords": [ "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 0aaae8e..cbde351 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "adapt-contrib-mcq", - "version": "7.1.1", + "version": "7.2.0", "framework": ">=5.19.1", "homepage": "https://github.com/adaptlearning/adapt-contrib-mcq", "bugs": "https://github.com/adaptlearning/adapt-contrib-mcq/issues", - "component" : "mcq", + "component": "mcq", "targetAttribute": "_mcq", - "displayName" : "Multiple Choice Question", + "displayName": "Multiple Choice Question", "description": "A multiple choice question component", "main": "/js/adapt-contrib-mcq.js", "keywords": [ @@ -31,18 +31,25 @@ "plugins": [ [ "@semantic-release/commit-analyzer", - { "preset": "eslint" } + { + "preset": "eslint" + } ], [ "@semantic-release/release-notes-generator", - { "preset": "eslint" } + { + "preset": "eslint" + } ], "@semantic-release/npm", "@semantic-release/github", [ "@semantic-release/git", { - "assets": [ "package.json", "bower.json" ], + "assets": [ + "package.json", + "bower.json" + ], "message": "Chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ]