Skip to content

Commit

Permalink
fix: get semantic release working
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Dec 28, 2018
1 parent 0e1c5b6 commit e2760b8
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 64 deletions.
100 changes: 51 additions & 49 deletions docs/DEPENDENCIES.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,53 @@
# Dependencies

| dependencies | reason | purpose |
| :-------------------------------------- | :-------------------------------- | :--------------------- |
| react | everything | core |
| react-dom | react-native-web | core |
| react-native | ios and android | core |
| react-native-web | desktop | core |
| react-native-firebase | database | react native |
| react-native-keyboard-aware-scroll-view | input scrolling on ios | react native |
| react-native-vector-icons | icons | react native |
| react-native-device-info | device stats | react native |
| react-native-version-number | app stats | react native |
| appcenter | deploy cycle | react native |
| appcenter-analytics | | react native |
| appcenter-crashes | | react native |
| redux | state | state management |
| react-redux | connector | state management |
| redux-thunk | async state | state management |
| react-router | navigation | navigation |
| react-router-dom | web | navigation |
| react-router-native | ios and android | navigation |
| @commitlint/cli | strict commit messages | continuous integration |
| @commitlint/config-conventional | strict commit messages | continuous integration |
| @semantic-release/changelog | ci auto generate change log | continuous integration |
| @semantic-release/git | commit messages | continuous integration |
| @semantic-release/github | ci push to github | continuous integration |
| semantic-release | ci builder | continuous integration |
| travis-deploy-once | runs ci only once per environment | continuous integration |
| husky | git hooks | continuous integration |
| lint-staged | git hook for prettier | continuous integration |
| @types/jest | | type definition |
| @types/react | | type definition |
| @types/react-native | | type definition |
| @types/react-native-vector-icons | | type definition |
| @types/react-native-version-number | | type definition |
| @types/react-redux | | type definition |
| @types/react-router | | type definition |
| @types/react-router-dom | | type definition |
| @types/react-router-native | | type definition |
| @types/react-test-renderer | | type definition |
| codecov | code coverage | code quality |
| prettier | opinionated code format | code quality |
| tslint | type checking lint | code quality |
| tslint-config-prettier | type with prettier format | code quality |
| typescript | interface types | code quality |
| jest | react testing framework | testing |
| react-test-renderer | test components | testing |
| babel-jest | prevents errors with jest | testing |
| ts-jest | typescript tests | testing |
| react-art | react-native-web (remove?) | other |
| dependencies | reason | purpose |
| :---------------------------------------- | :-------------------------------- | :--------------------- |
| react | everything | core |
| react-dom | react-native-web | core |
| react-native | ios and android | core |
| react-native-web | desktop | core |
| react-native-firebase | database | react native |
| react-native-keyboard-aware-scroll-view | input scrolling on ios | react native |
| react-native-vector-icons | icons | react native |
| react-native-device-info | device stats | react native |
| react-native-version-number | app stats | react native |
| appcenter | deploy cycle | react native |
| appcenter-analytics | | react native |
| appcenter-crashes | | react native |
| redux | state | state management |
| react-redux | connector | state management |
| redux-thunk | async state | state management |
| react-router | navigation | navigation |
| react-router-dom | web | navigation |
| react-router-native | ios and android | navigation |
| @commitlint/cli | strict commit messages | continuous integration |
| @commitlint/config-conventional | strict commit messages angular | continuous integration |
| @semantic-release/commit-analyzer | | continuous integration |
| @semantic-release/release-notes-generator | | continuous integration |
| @semantic-release/changelog | ci auto generate changelog | continuous integration |
| @semantic-release/git | ci commit messages for changelog | continuous integration |
| @semantic-release/github | ci push release to github | continuous integration |
| semantic-release | ci builder | continuous integration |
| travis-deploy-once | runs ci only once per environment | continuous integration |
| husky | git hooks | continuous integration |
| lint-staged | git hook for prettier | continuous integration |
| @types/jest | | type definition |
| @types/react | | type definition |
| @types/react-native | | type definition |
| @types/react-native-vector-icons | | type definition |
| @types/react-native-version-number | | type definition |
| @types/react-redux | | type definition |
| @types/react-router | | type definition |
| @types/react-router-dom | | type definition |
| @types/react-router-native | | type definition |
| @types/react-test-renderer | | type definition |
| codecov | code coverage | code quality |
| prettier | opinionated code format | code quality |
| tslint | type checking lint | code quality |
| tslint-config-prettier | type with prettier format | code quality |
| typescript | interface types | code quality |
| jest | react testing framework | testing |
| react-test-renderer | test components | testing |
| babel-jest | prevents errors with jest | testing |
| ts-jest | typescript tests | testing |
| react-art | react-native-web (remove?) | other |
28 changes: 16 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "0.0.1",
"private": true,
"homepage": "http://ethanneff.github.io/example",
"repository": {
"type": "git",
"url": "https://github.com/ethanneff/example.git"
},
"scripts": {
"start": " echo 'start code watcher'; react-native start --reset-cache",
"ios": " echo 'develop on ios'; react-native run-ios --simulator \"iPhone X\"",
Expand Down Expand Up @@ -41,8 +45,10 @@
"@commitlint/cli": "7.2.1",
"@commitlint/config-conventional": "7.1.2",
"@semantic-release/changelog": "3.0.2",
"@semantic-release/commit-analyzer": "6.1.0",
"@semantic-release/git": "7.0.7",
"@semantic-release/github": "5.2.8",
"@semantic-release/release-notes-generator": "7.1.4",
"@types/jest": "23.3.10",
"@types/react": "16.7.13",
"@types/react-native": "0.57.23",
Expand Down Expand Up @@ -78,19 +84,17 @@
]
},
"release": {
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/git"
],
"prepare": [
{
"path": "@semantic-release/changelog",
"changelogFile": "docs/CHANGELOG.md"
},
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/changelog",
{
"changelogFile": "docs/CHANGELOG.md"
}
],
"@semantic-release/git"
],
"publish": [
"@semantic-release/github"
]
},
"commitlint": {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@
fs-extra "^7.0.0"
lodash "^4.17.4"

"@semantic-release/commit-analyzer@^6.1.0":
"@semantic-release/commit-analyzer@6.1.0", "@semantic-release/commit-analyzer@^6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-6.1.0.tgz#32bbe3c23da86e23edf072fbb276fa2f383fcb17"
integrity sha512-2lb+t6muGenI86mYGpZYOgITx9L3oZYF697tJoqXeQEk0uw0fm+OkkOuDTBA3Oax9ftoNIrCKv9bwgYvxrbM6w==
Expand Down Expand Up @@ -1177,7 +1177,7 @@
read-pkg "^4.0.0"
registry-auth-token "^3.3.1"

"@semantic-release/release-notes-generator@^7.1.2":
"@semantic-release/release-notes-generator@7.1.4", "@semantic-release/release-notes-generator@^7.1.2":
version "7.1.4"
resolved "https://registry.yarnpkg.com/@semantic-release/release-notes-generator/-/release-notes-generator-7.1.4.tgz#8f4f752c5a8385abdaac1256127cef05988bc2ad"
integrity sha512-pWPouZujddgb6t61t9iA9G3yIfp3TeQ7bPbV1ixYSeP6L7gI1+Du82fY/OHfEwyifpymLUQW0XnIKgKct5IMMw==
Expand Down Expand Up @@ -12080,7 +12080,7 @@ selfsigned@^1.9.1:
dependencies:
node-forge "0.7.5"

[email protected]:
semantic-release@^15.13.2:
version "15.13.2"
resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-15.13.2.tgz#a05f1f2ee1a572aca1cde78ef42d15b280b36318"
integrity sha512-uUQDfD4X+b48x7rYdTYcWrprRpCmo2gNpiIWn2XnpieOrB3/rRrd4Kn5ekvCnqUgMffN0VWBDqDGp5WxoSfweA==
Expand Down

0 comments on commit e2760b8

Please sign in to comment.