From 29fad3c54bbdff25ce5f3af648ca6e61069ddc53 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 14 Feb 2023 14:30:14 +0000 Subject: [PATCH] Chore(release): 1.0.0 [skip ci] # 1.0.0 (2023-02-14) ### Fix * Added release automation ([3b10f69](https://github.com/cgkineo/adapt-definitions/commit/3b10f69f56512b570b9427791b9c5b98ef7a7838)) --- bower.json | 49 +++++++++++++++++++++++++++++++++++++++++++++---- package.json | 4 ++-- 2 files changed, 47 insertions(+), 6 deletions(-) diff --git a/bower.json b/bower.json index e432fbf..df48544 100644 --- a/bower.json +++ b/bower.json @@ -2,14 +2,55 @@ "name": "adapt-definitions", "version": "1.0.0", "framework": ">=2.0.0", - "displayName" : "Definitions", - "extension" : "definitions", + "displayName": "Definitions", + "extension": "definitions", "description": "Glossary - Popup word definitions", "main": "/js/adapt-definitions.js", "keywords": [ "adapt-plugin", "adapt-extension" ], - "license": "GPLv3", - "targetAttribute": "_definitions" + "targetAttribute": "_definitions", + "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 61f34ca..df48544 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "adapt-definitions", "version": "1.0.0", "framework": ">=2.0.0", - "displayName" : "Definitions", - "extension" : "definitions", + "displayName": "Definitions", + "extension": "definitions", "description": "Glossary - Popup word definitions", "main": "/js/adapt-definitions.js", "keywords": [