Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
v4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
anmdotdev committed Feb 18, 2020
1 parent 37e1d5a commit cb5ff3f
Show file tree
Hide file tree
Showing 9 changed files with 18,119 additions and 19,186 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
### Features

- 4.2.2

- Fix: useEffect not cancelling timeouts. #49
- Switched from pnpm to yarn to manage package dependencies - Better community support.

- 4.2.1

- Fix: Heading and renderIcon not being passed to the toast component
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Thanks for being willing to contribute!

### Prequisite

The project uses pnpm as a package dependency. This is just an alternative for yarn / npm with certain benefits. Here is how to set it up https://pnpm.js.org/en/installation
yarn - v1

### Environment

1. Fork and clone the repo
2. Run `pnpm run setup` to install dependencies
2. Run `yarn install` to install dependencies
3. Create a branch for your PR with `git checkout -b pr/your-branch-name`

> Tip: Keep your `master` branch pointing at the original repository and make
Expand All @@ -37,7 +37,7 @@ To add yourself to the table of contributors on the `README.md`, please use the
automated script as part of your PR:
```console
pnpm run add-contributor
yarn add-contributor
```
Follow the prompt and commit `.all-contributorsrc` and `README.md` in the PR.
Expand Down
14 changes: 7 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
"dev": "next",
"build": "next build",
"start": "next start",
"export": "pnpm run build && next export",
"deploy": "rm -rf node_modules/.cache && pnpm run export && touch out/.nojekyll"
"export": "yarn run build && next export",
"deploy": "rm -rf node_modules/.cache && yarn run export && touch out/.nojekyll"
},
"dependencies": {
"@emotion/core": "10.0.27",
"@emotion/styled": "10.0.27",
"babel-plugin-emotion": "10.0.27",
"cogo-toast": "link:../",
"next": "^9.1.7",
"next": "^9.2.1",
"prism-react-renderer": "^1.0.2",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@types/node": "^13.1.4",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"typescript": "3.7.4",
"@types/node": "^13.7.1",
"@types/react": "^16.9.20",
"@types/react-dom": "^16.9.5",
"typescript": "3.7.5",
"serve": "11.3.0"
}
}
Loading

0 comments on commit cb5ff3f

Please sign in to comment.