You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or see it on [Github Page](https://wwayne.github.io/react-tooltip/).
16
+
14
17
## Maintainers
15
18
16
19
[aronhelser](https://github.com/aronhelser) Passive maintainer - accepting PRs and doing minor testing, but not fixing issues or doing active development.
@@ -56,7 +59,7 @@ import ReactTooltip from 'react-tooltip'
56
59
57
60
**Standalone**
58
61
59
-
You can import `node_modules/react-tooltip/standalone/react-tooltip.min.js` into your page. Please make sure that you have already imported `react` and `react-dom` into your page.
62
+
You can import `node_modules/react-tooltip/dist/index.js` into your page. Please make sure that you have already imported `react` and `react-dom` into your page.
Copy file name to clipboardExpand all lines: contributing.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,31 @@ This doc needs help! Please submit your PR...
4
4
5
5
## Commit messages
6
6
7
-
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.
7
+
We are using semantic-release to automate the release process, and this depends on a specific format for commit messages. Please run `yarn commit` to use `commitizen` to properly format your commit messages so they can be automatically processed and included in release notes.
8
8
9
9
## Pull request testing
10
10
11
11
Some notes on testing and releasing.
12
12
* For a PR, follow Github's command-line instructions for retrieving the branch with the changes.
13
-
*`make dev` starts a development server, open `http://localhost:8888` to see the example website.
13
+
* To start a development server:
14
+
15
+
```sh
16
+
yarn build
17
+
cd example
18
+
yarn
19
+
yarn start
20
+
```
21
+
14
22
* Provide feedback on the PR about your results.
15
23
16
24
## Doing a release
17
25
18
26
We are using semantic-release instead of this:
19
27
20
-
*`make deploy` updates the files in the `standalone` directory
21
28
* update the version number in `package.json`
22
-
- Fixes update the patch number, features update the minor number.
23
-
- Major version update is reserved for API breaking changes, not just additions.
24
-
*`npm run github-changes -- -n 3.X.Y` to update the changelog
29
+
- Fixes update the patch number, features update the minor number.
30
+
- Major version update is reserved for API breaking changes, not just additions.
31
+
*`yarn github-changes -- -n 3.X.Y` to update the changelog
25
32
*`git add`, `git commit` and `git push` to get the version to master.
0 commit comments