From 33d61d25e3aacfc1bd7593a508dd21c2d2d8a08f Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 24 Jul 2022 10:49:49 +0000 Subject: [PATCH] Chore(release): 4.1.0 [skip ci] # [4.1.0](https://github.com/adaptlearning/adapt-contrib-bookmarking/compare/v4.0.0...v4.1.0) (2022-07-24) ### Fix * Added package-lock.json ([ae1b76e](https://github.com/adaptlearning/adapt-contrib-bookmarking/commit/ae1b76e723078c6b7b87e8d30de49aaf60686d78)) * Added release automation ([1307a83](https://github.com/adaptlearning/adapt-contrib-bookmarking/commit/1307a83ab03e355dfa0c44bf3c1b287fe06a8c0a)) * Added release automation ([7610fdc](https://github.com/adaptlearning/adapt-contrib-bookmarking/commit/7610fdcde3317fbda7b367553f3040d9ad736965)) ### New * Issue and pr project addition automation (Fixes #3315) ([6b30ba2](https://github.com/adaptlearning/adapt-contrib-bookmarking/commit/6b30ba2954068f71bd048f54e1417f98cb7c8257)), closes [#3315](https://github.com/adaptlearning/adapt-contrib-bookmarking/issues/3315) * Issue and pr project addition automation (refs https://github.com/adaptlearning/adapt_framework/issues/3315) ([c0bb7b1](https://github.com/adaptlearning/adapt-contrib-bookmarking/commit/c0bb7b1fa1bb225dc8dde3b3a08f3f344532e927)) --- bower.json | 49 +++++++++++++++++++++++++++++++++++++++++++++---- package.json | 19 +++++++++++++------ 2 files changed, 58 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index edb6e5f..db4bdc3 100644 --- a/bower.json +++ b/bower.json @@ -1,11 +1,11 @@ { "name": "adapt-contrib-bookmarking", - "version": "4.0.0", + "version": "4.1.0", "framework": ">=5.19.1", "homepage": "https://github.com/adaptlearning/adapt-contrib-bookmarking", "bugs": "https://github.com/adaptlearning/adapt-contrib-bookmarking/issues", - "extension" : "bookmarking", - "displayName" : "Bookmarking", + "extension": "bookmarking", + "displayName": "Bookmarking", "description": "An extension that tracks the learner's location in the course so that it can return them to that location in a subsequent session", "main": "/js/adapt-contrib-bookmarking.js", "keywords": [ @@ -13,5 +13,46 @@ "adapt-extension" ], "license": "GPL-3.0", - "targetAttribute": "_bookmarking" + "targetAttribute": "_bookmarking", + "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 0ebe909..db4bdc3 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "adapt-contrib-bookmarking", - "version": "4.0.0", + "version": "4.1.0", "framework": ">=5.19.1", "homepage": "https://github.com/adaptlearning/adapt-contrib-bookmarking", "bugs": "https://github.com/adaptlearning/adapt-contrib-bookmarking/issues", - "extension" : "bookmarking", - "displayName" : "Bookmarking", + "extension": "bookmarking", + "displayName": "Bookmarking", "description": "An extension that tracks the learner's location in the course so that it can return them to that location in a subsequent session", "main": "/js/adapt-contrib-bookmarking.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}" } ]