From e06959e584b4ce94d91a55932ce622132aa41843 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sun, 5 Nov 2023 18:23:42 +0200 Subject: [PATCH] 1.2.7 - Set react version range in peer dependencies. --- README.md | 5 +++-- package-lock.json | 6 +++--- package.json | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6b53c24..abb2e1d 100644 --- a/README.md +++ b/README.md @@ -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: -- 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"` ## 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.4 - 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. diff --git a/package-lock.json b/package-lock.json index 7ce1626..8e9ac80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@flare/tuitio-client-react", - "version": "1.2.6", + "version": "1.2.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@flare/tuitio-client-react", - "version": "1.2.6", + "version": "1.2.7", "license": "MIT", "dependencies": { "@flare/js-utils": "^1.1.0", @@ -34,7 +34,7 @@ "typescript": "^4.9.5" }, "peerDependencies": { - "react": "^16.14.0" + "react": ">=16.14.0 <19.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 28cd86d..de5868b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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.", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", @@ -52,7 +52,7 @@ "@flare/tuitio-client": "^1.2.5" }, "peerDependencies": { - "react": "^16.14.0" + "react": ">=16.14.0 <19.0.0" }, "devDependencies": { "@testing-library/react": "^12.1.5",