mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-18 04:06:19 +00:00
refactor: changelog generation for tags
This commit is contained in:
@@ -5,10 +5,9 @@
|
||||
"scripts": {
|
||||
"build": "npm run lint && npm run compile",
|
||||
"compile": "rimraf lib && tsc --outDir lib && prepend lib/cli.js '#!/usr/bin/env node\n'",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m \"docs: update changelog\"",
|
||||
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
|
||||
"documentation": "typedoc --out docs --readme README.md --includeVersion --listInvalidSymbolLinks --entryPointStrategy expand src",
|
||||
"prepublishOnly": "npm ci && npm run build",
|
||||
"postversion": "npm run changelog",
|
||||
"preversion": "npm run prepublishOnly",
|
||||
"push": "git push && git push origin \"v$npm_package_version\"",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
|
||||
@@ -732,10 +732,9 @@ export function getRules(configuration: Configuration): Rules {
|
||||
|
||||
// expected scripts
|
||||
const scripts: {[k: string]: string} = {
|
||||
'changelog':
|
||||
"conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
||||
'version': 'conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md',
|
||||
'check-configuration': 'openstapps-configuration',
|
||||
'preversion': 'npm run prepublishOnly && npm run changelog',
|
||||
'preversion': 'npm run prepublishOnly',
|
||||
'push': 'git push && git push origin "v$npm_package_version"',
|
||||
'lint': 'eslint --ext .ts src/',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user