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