Skip to content

Commit

Permalink
chore: setup auto release (#142)
Browse files Browse the repository at this point in the history
* chore: setup auto release

* chore: remove CHANGELOG

* chore: remove standard-version
  • Loading branch information
Kocal authored Nov 23, 2018
1 parent 8c6226e commit 6c7cfef
Show file tree
Hide file tree
Showing 5 changed files with 3,483 additions and 482 deletions.
3 changes: 3 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@kocal/semantic-release-preset"
}
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ node_js:
- "8"
- "node"

branches:
except:
- /^v\d+\.\d+\.\d+$/

cache:
yarn: true
directories:
Expand Down Expand Up @@ -33,3 +37,7 @@ script:
- yarn lint
- yarn test -i && yarn codecov
- yarn cypress run --config watchForFileChanges=false --record

after_success:
- yarn travis-deploy-once "yarn semantic-release"

122 changes: 0 additions & 122 deletions CHANGELOG.md

This file was deleted.

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsdoc-vuejs",
"version": "2.3.1",
"version": "0.0.0-development",
"description": "A JSDoc plugin for documenting .vue files.",
"main": "index.js",
"files": [
Expand All @@ -10,11 +10,12 @@
"scripts": {
"test": "jest",
"lint": "eslint --ext .js index.js config.js lib __tests__ cypress",
"release": "standard-version"
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Kocal/jsdoc-vuejs.git"
"url": "https://github.com/Kocal/jsdoc-vuejs.git"
},
"keywords": [
"jsdoc",
Expand All @@ -34,6 +35,7 @@
"vue-template-compiler": "^2.5.16"
},
"devDependencies": {
"@kocal/semantic-release-preset": "^1.1.0",
"cheerio": "^1.0.0-rc.2",
"codecov": "^3.0.4",
"cypress": "^3.0.3",
Expand All @@ -42,6 +44,7 @@
"eslint-plugin-cypress": "^2.0.1",
"eslint-plugin-import": "^2.13.0",
"jest": "^23.4.2",
"standard-version": "^4.4.0"
"semantic-release": "^15.12.1",
"travis-deploy-once": "^5.0.9"
}
}
Loading

0 comments on commit 6c7cfef

Please sign in to comment.