Skip to content

Commit

Permalink
Add Release It! 馃殌
Browse files Browse the repository at this point in the history
  • Loading branch information
bobisjan committed Feb 8, 2020
1 parent 02946cb commit 2cf4647
Show file tree
Hide file tree
Showing 5 changed files with 1,049 additions and 203 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = {
files: [
'.eslintrc.js',
'.prettierrc.js',
'.release-it.js',
'.template-lintrc.js',
'ember-cli-build.js',
'index.js',
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
/.eslintrc.js
/.prettierrc.js
/.gitignore
/.release-it.js
/.template-lintrc.js
/.travis.yml
/.watchmanconfig
Expand Down
19 changes: 19 additions & 0 deletions .release-it.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
git: {
tagName: 'v${version}',
tagAnnotation: 'Release v${version}',
commitMessage: 'Release v${version}',
commitArgs: '-S',
},
github: {
release: true,
},
npm: {
publish: false,
},
plugins: {
'release-it-lerna-changelog': {
infile: 'CHANGELOG.md',
},
},
};
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
},
"scripts": {
"build": "ember build",
"release": "release-it",
"fast-test": "SKIP_ACCEPTANCE=true yarn node-test",
"node-test": "nyc --reporter=lcov mocha --recursive node-tests",
"changelog": "lerna-changelog",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint . --cache",
"start": "ember serve",
Expand Down Expand Up @@ -71,12 +71,13 @@
"eslint-plugin-ember": "^7.7.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"lerna-changelog": "^1.0.0",
"loader.js": "^4.7.0",
"mocha": "^7.0.1",
"nyc": "^15.0.0",
"prettier": "^1.19.1",
"qunit-dom": "^1.0.0"
"qunit-dom": "^1.0.0",
"release-it": "^12.4.3",
"release-it-lerna-changelog": "^1.0.3"
},
"engines": {
"node": "10.* || >= 12.*"
Expand Down

0 comments on commit 2cf4647

Please sign in to comment.