-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Add semantic release and commitizen
For automatic releases we need semantic release and to have consitent commit messages we also use commitizen as tool
- Loading branch information
1 parent
f0a5573
commit d2b83f0
Showing
5 changed files
with
5,774 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"branch": "release", | ||
"analyzeCommits": { | ||
"preset": "eslint", | ||
"releaseRules": [ | ||
{"tag": "Upgrade", "release": "patch"} | ||
] | ||
}, | ||
"verifyConditions": [ | ||
{ | ||
"path": "@semantic-release/changelog", | ||
"changelogFile": "CHANGELOG.md", | ||
"changelogTitle": "Changelog Unikka/FilePreviews" | ||
}, | ||
"@semantic-release/github" | ||
], | ||
"prepare": [ | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
{ | ||
"path": "@semantic-release/git", | ||
"assets": ["package.json", "CHANGELOG.md"], | ||
"message": "Build: Release ${nextRelease.version} [skip ci]" | ||
} | ||
], | ||
"generateNotes": { | ||
"preset": "eslint", | ||
"writerOpts": { | ||
"commitsSort": ["subject", "scope"], | ||
} | ||
}, | ||
"publish": ["@semantic-release/github"] | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "unikka-filepreview", | ||
"version": "1.0.1", | ||
"repository": "https://github.com/Unikka/FilePreviews.git", | ||
"license": "GNU GPLv3", | ||
"dependencies": {}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 0", | ||
"semantic-release": "semantic-release", | ||
"commit": "git-cz" | ||
}, | ||
"devDependencies": { | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/release-notes-generator": "^9.0.1", | ||
"commitizen": "^4.1.2", | ||
"conventional-changelog-eslint": "^3.0.8", | ||
"cz-adapter-eslint": "^0.3.0", | ||
"semantic-release": "^17.0.8" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-adapter-eslint" | ||
} | ||
} | ||
} |
Oops, something went wrong.