perf(): testing sv
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sthope 2021-09-12 12:37:57 +02:00
parent 84830d370d
commit 108d0b2164
3 changed files with 109 additions and 45 deletions

24
.releaserc.json Normal file
View File

@ -0,0 +1,24 @@
{
"extends": "@saithodev/semantic-release-sharedconf-npm",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{"tarballDir": "release"}
],
[
"@semantic-release/git",
{"assets": ["package.json", "CHANGELOG.md"]}
],
[
"@semantic-release/github",
{"assets": "release/*.tgz"}
]
],
"branches": [
"master"
]
}

View File

@ -1,3 +1,4 @@
release.config.js
---
branch: master
preset: "angular"

View File

@ -1,53 +1,92 @@
{
"name": "@saithodev/semantic-release-gitea",
"version": "1.0.2",
"version": "2.1.0",
"description": "Publish release notes to Gitea",
"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",
"@saithodev/semantic-release-gitea"
],
"branch": [
"master",
"next"
]
"scripts": {
"codecov": "codecov -f coverage/coverage-final.json",
"lint": "xo",
"semantic-release": "semantic-release",
"test": "nyc ava -v",
"commit": "git-cz"
},
"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"
"engines": {
"node": "^10 || ^11 || ^12 || >=14"
},
"dependencies": {
"express": "^4.17.1"
"@semantic-release/error": "^2.2.0",
"aggregate-error": "^3.0.0",
"debug": "^4.0.0",
"dir-glob": "^3.0.0",
"form-data": "^3.0.0",
"fs-extra": "^8.0.0",
"globby": "^10.0.0",
"got": "^10.0.1",
"lodash": "^4.17.21",
"querystring": "^0.2.0",
"url-join": "^4.0.0"
},
"scripts": {
"build": "tsc",
"dev:server": "ts-node-dev --inspect --transpileOnly --ignore-watch node_modules src/server.ts"
"devDependencies": {
"@saithodev/semantic-release-sharedconf-npm": "^2.0.2",
"ava": "^2.0.0",
"clear-module": "^4.0.0",
"codecov": "^3.5.0",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"nock": "^11.1.0",
"nyc": "^15.0.0",
"proxyquire": "^2.0.0",
"semantic-release": "^17.4.2",
"sinon": "^8.0.0",
"tempy": "^0.3.0",
"xo": "^0.38.2"
},
"repository": {
"type": "git",
"url": "https://github.com/saitho/semantic-release-gitea"
},
"author": "Mario Lubenka",
"license": "MIT",
"bugs": {
"url": "https://github.com/saitho/semantic-release-gitea/issues"
},
"homepage": "https://github.com/saitho/semantic-release-gitea#readme",
"keywords": [
"git",
"gitea",
"publish",
"pull-request",
"release",
"semantic-release",
"version"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"nyc": {
"include": [
"lib/**/*.js",
"index.js"
],
"reporter": [
"lcov",
"text",
"html"
],
"all": true
},
"xo": {
"prettier": true,
"space": true,
"rules": {
"camelcase": [
"error",
{
"properties": "never"
}
]
}
}
}
}