semver 0.1
This commit is contained in:
parent
afeaff74d8
commit
c5bf5d4623
49
package.json
Normal file
49
package.json
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"name": "@semantic-release/gitlab",
|
||||
"version": "1.1.1",
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"release": {
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
[
|
||||
"@semantic-release/npm",
|
||||
{
|
||||
"npmPublish": false
|
||||
}
|
||||
],
|
||||
"@semantic-release/changelog",
|
||||
"@semantic-release/git"
|
||||
],
|
||||
"branch": "master"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@semantic-release/changelog": "^5.0.1",
|
||||
"@semantic-release/commit-analyzer": "^8.0.1",
|
||||
"@semantic-release/git": "^9.0.0",
|
||||
"@semantic-release/npm": "^7.0.5",
|
||||
"@semantic-release/release-notes-generator": "^9.0.1",
|
||||
"@types/express": "^4.17.6",
|
||||
"@typescript-eslint/eslint-plugin": "^2.28.0",
|
||||
"@typescript-eslint/parser": "^2.28.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-airbnb-base": "^14.1.0",
|
||||
"eslint-config-prettier": "^6.10.1",
|
||||
"eslint-import-resolver-typescript": "^2.0.0",
|
||||
"eslint-plugin-import": "^2.20.2",
|
||||
"eslint-plugin-prettier": "^3.1.3",
|
||||
"prettier": "^2.0.4",
|
||||
"semantic-release": "^17.0.6",
|
||||
"ts-node-dev": "^1.0.0-pre.44",
|
||||
"typescript": "^3.8.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.17.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"dev:server": "ts-node-dev --inspect --transpileOnly --ignore-watch node_modules src/server.ts"
|
||||
}
|
||||
}
|
||||
|
72
release.config.js
Normal file
72
release.config.js
Normal file
@ -0,0 +1,72 @@
|
||||
---
|
||||
branch: master
|
||||
preset: "angular"
|
||||
tagFormat: "${version}"
|
||||
plugins:
|
||||
- "@semantic-release/commit-analyzer"
|
||||
- "@semantic-release/release-notes-generator"
|
||||
- "@semantic-release/changelog"
|
||||
- "@semantic-release/git"
|
||||
- "@semantic-release/github"
|
||||
|
||||
verifyConditions:
|
||||
- '@semantic-release/git'
|
||||
- "@semantic-release/github"
|
||||
analyzeCommits:
|
||||
- path: "@semantic-release/commit-analyzer"
|
||||
releaseRules:
|
||||
- type: "feat"
|
||||
release: "patch"
|
||||
- type: "hotfix"
|
||||
release: "patch"
|
||||
- type: "patch"
|
||||
release: "patch"
|
||||
- type: "minor"
|
||||
release: "minor"
|
||||
- type: "breaking"
|
||||
release: "major"
|
||||
generateNotes:
|
||||
- path: "@semantic-release/release-notes-generator"
|
||||
writerOpts:
|
||||
groupBy: "type"
|
||||
commitGroupsSort:
|
||||
- "feat"
|
||||
- "perf"
|
||||
- "fix"
|
||||
commitsSort: "header"
|
||||
types:
|
||||
- type: "feat"
|
||||
- section: "Features"
|
||||
# Tracked bug fix with a hotfix branch
|
||||
- type: "hotfix"
|
||||
- section: "Bug Fixes"
|
||||
# Uninmportent fix (CI testing, etc)
|
||||
- type: "fix"
|
||||
- hidden: true
|
||||
- type: "chore"
|
||||
- hidden: true
|
||||
- type: "docs"
|
||||
- hidden: true
|
||||
- type: "doc"
|
||||
- hidden: true
|
||||
- type: "style"
|
||||
- hidden: true
|
||||
- type: "refactor"
|
||||
- hidden: true
|
||||
- type: "perf"
|
||||
- hidden: true
|
||||
- type: "test"
|
||||
- hidden: true
|
||||
presetConfig: true
|
||||
prepare:
|
||||
- path: "@semantic-release/git"
|
||||
- path: "@semantic-release/changelog"
|
||||
changelogFile: "docs/CHANGELOG.md"
|
||||
publish:
|
||||
- path: "@semantic-release/github"
|
||||
|
||||
success:
|
||||
- "@semantic-release/github"
|
||||
|
||||
fail:
|
||||
- "@semantic-release/github"
|
Loading…
x
Reference in New Issue
Block a user