Release utility

This commit is contained in:
Eric Vicenti 2018-10-15 11:56:27 -07:00
parent 4e71298715
commit a69a4e3c04
3 changed files with 1591 additions and 73 deletions

15
.release-it.json Normal file
View File

@ -0,0 +1,15 @@
{
"increment": "conventional:angular",
"changelogCommand": "conventional-changelog -p angular | tail -n +3",
"safeBump": false,
"src": {
"commitMessage": "chore: release %s",
"tagName": "v%s"
},
"npm": {
"publish": true
},
"github": {
"release": true
}
}

View File

@ -15,7 +15,11 @@
"lint": "eslint .",
"format": "eslint . --fix",
"build": "babel --no-babelrc --plugins=syntax-jsx,syntax-class-properties,syntax-object-rest-spread,transform-flow-strip-types src --copy-files --out-dir dist --ignore '**/__tests__/**'",
"prepare": "yarn build"
"prepare": "yarn build",
"release": "release-it"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"react-native-component",
@ -48,6 +52,7 @@
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-react-native": "^4.0.0",
"conventional-changelog-cli": "^2.0.5",
"eslint": "^4.12.1",
"eslint-config-satya164": "^1.0.1",
"eslint-plugin-react-native-globals": "^0.1.0",
@ -58,7 +63,8 @@
"react-dom": "16.3.1",
"react-native": "~0.55.4",
"react-native-gesture-handler": "^1.0.8",
"react-test-renderer": "16.3.1"
"react-test-renderer": "16.3.1",
"release-it": "^7.6.1"
},
"peerDependencies": {
"react": "*",

1639
yarn.lock

File diff suppressed because it is too large Load Diff