forked from ReactTooltip/react-tooltip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
13,834 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,22 @@ cache: | |
directories: | ||
- node_modules | ||
node_js: | ||
- "4" | ||
- "8" | ||
notifications: | ||
email: false | ||
email: | ||
recipients: | ||
- [email protected] | ||
on_success: change | ||
on_failure: always | ||
install: | ||
- npm install | ||
- npm install | ||
|
||
script: | ||
- npm run build | ||
|
||
after_success: | ||
- npm run semantic-release | ||
|
||
branches: | ||
except: | ||
- "/^v\\d+\\.\\d+\\.\\d+$/" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,12 @@ | |
[download-image]: https://img.shields.io/npm/dm/react-tooltip.svg?style=flat-square | ||
[download-url]: https://npmjs.org/package/react-tooltip | ||
|
||
## Looking for maintainers | ||
I learnt a lot from creating and maintaining react-toolip, but now I start putting my focus on other challenges, so just let me know by sending email to [email protected] if you have interests in maintaining the project :) | ||
|
||
## Maintainers | ||
|
||
[huumanoid](https://github.com/huumanoid) | ||
|
||
[aronhelser](https://github.com/aronhelser) | ||
|
||
## Installation | ||
|
||
```sh | ||
|
@@ -112,7 +112,7 @@ import {findDOMNode} from 'react-dom' | |
import ReactTooltip from 'react-tooltip' | ||
|
||
<p ref='foo' data-tip='tooltip'></p> | ||
<button onClick={() => { ReactTooltip.show(this.refs.foo) }}></button> | ||
<button onClick={() => { ReactTooltip.show(findDOMNode(this.refs.foo)) }}></button> | ||
<ReactTooltip /> | ||
``` | ||
|
||
|
@@ -145,9 +145,10 @@ Same for empty children, if you don't want show the tooltip when the children is | |
## Article | ||
[How I insert sass into react component](https://medium.com/@wwayne_me/how-i-insert-sass-into-my-npm-react-component-b46b9811c226#.gi4hxu44a) | ||
|
||
## Authors | ||
see [AUTHORS](https://github.com/wwayne/react-tooltip/blob/master/AUTHORS.txt) | ||
## Contributing | ||
|
||
We welcome your contribution! Fork the repo, make some changes, submit a pull-request! Our [contributing](contributing.md) doc has some details. | ||
|
||
### License | ||
## License | ||
|
||
MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Contributing | ||
|
||
This doc needs help! Please submit your PR... | ||
|
||
## Commit messages | ||
|
||
We are using semantic-release to automate the release process, and this depends on a specific format for commit messages. Please run `npm run commit` to use `commitizen` to properly format your commit messages so they can be automatically processed and included in release notes. | ||
|
||
## Pull request testing | ||
|
||
Some notes on testing and releasing. | ||
* For a PR, follow Github's command-line instructions for retrieving the branch with the changes. | ||
* `make dev` starts a development server, open `http://localhost:8888` to see the example website. | ||
* Provide feedback on the PR about your results. | ||
|
||
## Doing a release | ||
|
||
We are using semantic-release instead of this: | ||
|
||
* `make deploy` updates the files in the `standalone` directory | ||
* update the version number in `package.json` | ||
- Fixes update the patch number, features update the minor number. | ||
- Major version update is reserved for API breaking changes, not just additions. | ||
* `npm run github-changes -- -n 3.X.Y` to update the changelog | ||
* `git add`, `git commit` and `git push` to get the version to master. | ||
* `git tag -a 3.X.Y -m 3.X.Y` `git push --tags` | ||
* `npm publish` | ||
* add a version on the github release page, based on the tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.