Skip to content

Commit

Permalink
New release process (#27)
Browse files Browse the repository at this point in the history
* Use publish-please package for releases

* prep for 1.1.0 release
  • Loading branch information
blainekasten committed Jun 7, 2016
1 parent 8ec298f commit c7f6e6d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 50 deletions.
13 changes: 13 additions & 0 deletions .publishrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"validations": {
"vulnerableDependencies": true,
"uncommittedChanges": true,
"untrackedFiles": false,
"sensitiveData": true,
"branch": "master",
"gitTag": true
},
"confirm": true,
"publishTag": "latest",
"prePublishScript": "npm run prior-to-publish"
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.0.1
=====
* Add `toHaveText` matcher

1.0.1
=====
* Include `repository` in package.json
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "jasmine-enzyme",
"version": "1.0.0",
"version": "1.1.0",
"description": "Jasmine assertions for enzyme",
"main": "lib/index.js",
"scripts": {
"test": "jest",
"lint": "eslint ./src",
"build": "rimraf lib && babel src --out-dir lib --ignore tests",
"release": "node ./scripts/release.js"
"prior-to-publish": "npm run lint && npm test && npm run build",
"publish-please": "publish-please",
"prepublish": "publish-please guard"
},
"files": [
"src",
Expand Down Expand Up @@ -51,6 +53,7 @@
"eslint-config-airbnb": "^6.2.0",
"eslint-plugin-react": "^4.3.0",
"jest-cli": "^12.0.0",
"publish-please": "^2.1.4",
"react": "^0.14.7",
"react-addons-test-utils": "^0.14.7",
"react-dom": "^0.14.7",
Expand Down
48 changes: 0 additions & 48 deletions scripts/release.js

This file was deleted.

0 comments on commit c7f6e6d

Please sign in to comment.