From f9b328cb27f169056b1eed6a7e35d16d1044b0c4 Mon Sep 17 00:00:00 2001 From: Embbnux Ji Date: Fri, 28 Jan 2022 00:38:22 +0800 Subject: [PATCH] chore: fix wrong types path at package.json (#167) * chore: fix wrong types path at package.json * chore: fix react package build issue --- package.json | 2 +- react-demo/package.json | 12 ++++++------ react/package.json | 14 +++++++------- redux-demo/package.json | 12 ++++++------ redux/package.json | 4 ++-- subscriptions/package.json | 2 +- 6 files changed, 23 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 35a27527..54565444 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,6 @@ "husky": "1.1.3", "lerna": "3.4.3", "lint-staged": "8.0.4", - "typescript": "3.2.4" + "typescript": "3.5.1" } } diff --git a/react-demo/package.json b/react-demo/package.json index b0015331..3bfef7dd 100644 --- a/react-demo/package.json +++ b/react-demo/package.json @@ -9,16 +9,16 @@ "dependencies": { "@ringcentral/react": "*", "@ringcentral/sdk": "*", - "react": "16.6.0", - "react-dom": "16.6.1", - "react-router-dom": "4.3.1" + "react": "16.14.0", + "react-dom": "16.14.0", + "react-router-dom": "5.3.0" }, "devDependencies": { "@ringcentral/sdk-utils": "*", "@types/node": "10.12.0", - "@types/react": "16.7.20", - "@types/react-dom": "16.0.11", - "@types/react-router-dom": "4.3.1", + "@types/react": "16.14.21", + "@types/react-dom": "16.9.8", + "@types/react-router-dom": "5.3.3", "@types/webpack-env": "1.13.6", "react-scripts": "2.1.3", "rimraf": "2.6.2" diff --git a/react/package.json b/react/package.json index ee23311d..26c24986 100644 --- a/react/package.json +++ b/react/package.json @@ -14,16 +14,16 @@ "@ringcentral/sdk": "*", "@ringcentral/sdk-utils": "*", "@types/node": "10.12.0", - "@types/react": "16.7.20", - "@types/react-dom": "16.0.11", - "@types/react-router-dom": "4.3.1", + "@types/react": "16.14.21", + "@types/react-dom": "16.9.8", + "@types/react-router-dom": "5.3.3", "npm-run-all": "4.1.3", - "react": "16.6.0", - "react-dom": "16.6.1", - "react-router-dom": "4.3.1", + "react": "16.14.0", + "react-dom": "16.14.0", + "react-router-dom": "5.3.0", "rimraf": "2.6.2", "tslib": "1.9.3", - "typescript": "3.2.4" + "typescript": "3.5.1" }, "peerDependencies": { "@ringcentral/sdk": ">=4", diff --git a/redux-demo/package.json b/redux-demo/package.json index 687b87ea..7a35b0d5 100644 --- a/redux-demo/package.json +++ b/redux-demo/package.json @@ -9,10 +9,10 @@ "dependencies": { "@ringcentral/redux": "*", "@ringcentral/sdk": "*", - "react": "16.6.0", - "react-dom": "16.6.1", + "react": "16.14.0", + "react-dom": "16.14.0", "react-redux": "5.1.1", - "react-router-dom": "4.3.1", + "react-router-dom": "5.3.0", "redux": "4.0.1", "redux-auth-wrapper": "2.0.3", "redux-logger": "3.0.6" @@ -20,10 +20,10 @@ "devDependencies": { "@ringcentral/sdk-utils": "*", "@types/node": "10.12.0", - "@types/react": "16.7.20", - "@types/react-dom": "16.0.11", + "@types/react": "16.14.21", + "@types/react-dom": "16.9.8", "@types/react-redux": "6.0.9", - "@types/react-router-dom": "4.3.1", + "@types/react-router-dom": "5.3.3", "@types/redux": "3.6.0", "@types/webpack-env": "1.13.6", "react-scripts": "2.1.3", diff --git a/redux/package.json b/redux/package.json index 2e2c2fdf..47c2320d 100644 --- a/redux/package.json +++ b/redux/package.json @@ -14,11 +14,11 @@ "@ringcentral/sdk": "*", "@ringcentral/sdk-utils": "*", "@types/node": "10.12.0", - "@types/react": "16.7.20", + "@types/react": "16.14.21", "@types/react-redux": "6.0.9", "@types/redux": "3.6.0", "npm-run-all": "4.1.3", - "react": "16.6.0", + "react": "16.14.0", "react-redux": "5.1.2", "redux": "4.0.1", "rimraf": "2.6.2", diff --git a/subscriptions/package.json b/subscriptions/package.json index 907d9562..39234951 100644 --- a/subscriptions/package.json +++ b/subscriptions/package.json @@ -40,7 +40,7 @@ "main": "./lib/Subscriptions.js", "module": "./es6/Subscriptions.js", "browser": "./lib/Subscriptions.js", - "types": "./src/Subscriptions.ts", + "types": "./lib/Subscriptions.d.ts", "author": { "name": "RingCentral, Inc.", "url": "https://developers.ringcentral.com"