This commit is contained in:
		
							
								
								
									
										24
									
								
								.releaserc.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								.releaserc.json
									
									
									
									
									
										Normal 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"
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
@@ -1,3 +1,4 @@
 | 
				
			|||||||
 | 
					release.config.js
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
branch: master
 | 
					branch: master
 | 
				
			||||||
preset: "angular"
 | 
					preset: "angular"
 | 
				
			||||||
							
								
								
									
										129
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										129
									
								
								package.json
									
									
									
									
									
								
							@@ -1,53 +1,92 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "@saithodev/semantic-release-gitea",
 | 
					  "name": "@saithodev/semantic-release-gitea",
 | 
				
			||||||
  "version": "1.0.2",
 | 
					  "version": "2.1.0",
 | 
				
			||||||
 | 
					  "description": "Publish release notes to Gitea",
 | 
				
			||||||
  "main": "index.js",
 | 
					  "main": "index.js",
 | 
				
			||||||
  "license": "MIT",
 | 
					  "scripts": {
 | 
				
			||||||
  "release": {
 | 
					    "codecov": "codecov -f coverage/coverage-final.json",
 | 
				
			||||||
    "plugins": [
 | 
					    "lint": "xo",
 | 
				
			||||||
      "@semantic-release/commit-analyzer",
 | 
					    "semantic-release": "semantic-release",
 | 
				
			||||||
      "@semantic-release/release-notes-generator",
 | 
					    "test": "nyc ava -v",
 | 
				
			||||||
      [
 | 
					    "commit": "git-cz"
 | 
				
			||||||
        "@semantic-release/npm",
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
          "npmPublish": false
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "@semantic-release/changelog",
 | 
					 | 
				
			||||||
      "@semantic-release/git",
 | 
					 | 
				
			||||||
      "@saithodev/semantic-release-gitea"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "branch": [
 | 
					 | 
				
			||||||
      "master",
 | 
					 | 
				
			||||||
      "next"
 | 
					 | 
				
			||||||
    ]
 | 
					 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "engines": {
 | 
				
			||||||
    "@semantic-release/changelog": "^5.0.1",
 | 
					    "node": "^10 || ^11 || ^12 || >=14"
 | 
				
			||||||
    "@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": {
 | 
					  "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": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "build": "tsc",
 | 
					    "@saithodev/semantic-release-sharedconf-npm": "^2.0.2",
 | 
				
			||||||
    "dev:server": "ts-node-dev --inspect --transpileOnly --ignore-watch node_modules src/server.ts"
 | 
					    "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"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user