From 61eff4f92949807a2a3b79b4679857fe996291c5 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Tue, 17 Jan 2023 16:11:17 +0100 Subject: [PATCH] refactor: add changelog generation with versions --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 09657d8b..fe85d6e2 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,12 @@ }, "scripts": { "build": "npm run lint && npm run compile", - "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'", "check-configuration": "openstapps-configuration", "compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'", "documentation": "typedoc --out docs --readme README.md --listInvalidSymbolLinks --entryPointStrategy expand src", - "postversion": "npm run changelog", "prepublishOnly": "npm ci && npm run build && npm run test", "preversion": "npm run prepublishOnly", + "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md", "push": "git push && git push origin \"v$npm_package_version\"", "test": "nyc mocha --require ts-node/register 'test/**/*.spec.ts'", "lint": "eslint --ext .ts src/"