1.2.7 - Set react version range in peer dependencies.

master
Tudor Stanciu 2023-11-05 18:23:42 +02:00
parent 90f934671b
commit e06959e584
3 changed files with 8 additions and 7 deletions

View File

@ -10,7 +10,7 @@ This package uses [tuitio-client](https://lab.code-rove.com/gitea/bricks/tuitio-
The package installation can be done in two ways: The package installation can be done in two ways:
- from the command line: `npm install @flare/tuitio-client-react@1.0.0` - from the command line: `npm install @flare/tuitio-client-react`
- from the package.json file: `"@flare/tuitio-client-react": "1.0.0"` - from the package.json file: `"@flare/tuitio-client-react": "1.0.0"`
## How to use the package ## How to use the package
@ -44,4 +44,5 @@ All tests in the package can be executed by running: `npm test`.
1.2.3 - User roles were handled in useTuitioUserInfo hook. 1.2.3 - User roles were handled in useTuitioUserInfo hook.
1.2.4 - Upgraded @flare/tuitio-client. 1.2.4 - Upgraded @flare/tuitio-client.
1.2.5 - Upgraded @flare/tuitio-client. 1.2.5 - Upgraded @flare/tuitio-client.
1.2.6 - Removed specific user groups and roles. Records must be dynamic. 1.2.6 - Removed specific user groups and roles. Records must be dynamic.
1.2.7 - Set react version range in peer dependencies.

6
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@flare/tuitio-client-react", "name": "@flare/tuitio-client-react",
"version": "1.2.6", "version": "1.2.7",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@flare/tuitio-client-react", "name": "@flare/tuitio-client-react",
"version": "1.2.6", "version": "1.2.7",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@flare/js-utils": "^1.1.0", "@flare/js-utils": "^1.1.0",
@ -34,7 +34,7 @@
"typescript": "^4.9.5" "typescript": "^4.9.5"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^16.14.0" "react": ">=16.14.0 <19.0.0"
} }
}, },
"node_modules/@ampproject/remapping": { "node_modules/@ampproject/remapping": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@flare/tuitio-client-react", "name": "@flare/tuitio-client-react",
"version": "1.2.6", "version": "1.2.7",
"description": "Tuitio client react is an npm package written in typescript that facilitates the integration of a react application with Tuitio.", "description": "Tuitio client react is an npm package written in typescript that facilitates the integration of a react application with Tuitio.",
"main": "./dist/cjs/index.js", "main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js", "module": "./dist/esm/index.js",
@ -52,7 +52,7 @@
"@flare/tuitio-client": "^1.2.5" "@flare/tuitio-client": "^1.2.5"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^16.14.0" "react": ">=16.14.0 <19.0.0"
}, },
"devDependencies": { "devDependencies": {
"@testing-library/react": "^12.1.5", "@testing-library/react": "^12.1.5",