From ebb53cd40307c91439a25993b1e38b2486b8ff94 Mon Sep 17 00:00:00 2001 From: Matt Hamann Date: Sun, 22 Oct 2023 22:11:58 -0400 Subject: [PATCH] chore: release automation --- .release-it.json | 17 +++++++++++++++++ package.json | 9 ++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 .release-it.json diff --git a/.release-it.json b/.release-it.json new file mode 100644 index 00000000..869746da --- /dev/null +++ b/.release-it.json @@ -0,0 +1,17 @@ +{ + "git": { + "commitMessage": "chore: release ${version}", + "tagName": "v${version}" + }, + "npm": { + "publish": true + }, + "github": { + "release": true + }, + "plugins": { + "@release-it/conventional-changelog": { + "preset": "angular" + } + } +} diff --git a/package.json b/package.json index d1ec3cb7..ccba1b5c 100644 --- a/package.json +++ b/package.json @@ -23,19 +23,22 @@ "yargs": "^17.0.0" }, "devDependencies": { + "@release-it/conventional-changelog": "^7.0.2", "async": "^3.0.0", - "coveralls": "^3.0.2", + "coveralls": "^3.1.0", "eslint": "^8.0.0", "istanbul": "^0.4.1", "jest": "^27.0.0", - "nconf-yaml": "^1.0.2" + "nconf-yaml": "^1.0.2", + "release-it": "^16.2.1", }, "main": "./lib/nconf", "scripts": { "test": "jest --verbose", "cover": "jest --coverage", "coveralls": "cat coverage/lcov.info | coveralls", - "lint": "eslint ." + "lint": "eslint .", + "release": "release-it" }, "files": [ "lib"