Skip to content

Commit

Permalink
Update @transifex/react peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinos Bairaktaris committed Nov 26, 2020
1 parent f79ca55 commit 72b0bc0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions RELEASE_HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ To release a new version to NPM follow those steps:
From the `master` branch (requires administrative permissions) execute the
following command:

```npm run release```
```sh
npm run release
```

Lerna will detect changes in the packages and start an interactive prompt to
select the next version (major, minor or patch).

Upon finish, lerna will **create a version commit and push it directly to master and
tag the release**, e.g. `v0.10.0`.
Upon finish, lerna will **create a version commit and push it directly to
master and tag the release**, e.g. `v0.10.0`.

> Note: Lerna does not update npm `peerDependencies`, so make sure that
> your packages are updated before releasing, for example check
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"node": ">=10.0.0"
},
"peerDependencies": {
"@transifex/native": "^0.6.0",
"@transifex/native": "^0.7.0",
"prop-types": "^15.0.0",
"react": "^16.0.0"
"react": "^16.0.0 || ^17.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.4",
Expand Down

0 comments on commit 72b0bc0

Please sign in to comment.