diff --git a/packages/react/package.json b/packages/react/package.json index 4dd0579a1..6ae65e7c7 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -48,5 +48,9 @@ "react": ">=16.8", "zustand": "4.5" }, - "gitHead": "36e43368cb0fa3bffa9aa40dfd589046c1c3b5fe" + "gitHead": "36e43368cb0fa3bffa9aa40dfd589046c1c3b5fe", + "devDependencies": { + "@types/react": "^18", + "react": "^18" + } } diff --git a/packages/visitor/tsconfig.json b/packages/visitor/tsconfig.json index f894bedac..51b65894a 100644 --- a/packages/visitor/tsconfig.json +++ b/packages/visitor/tsconfig.json @@ -2,6 +2,7 @@ "extends": "../../tsconfig.json", "include": ["src"], "compilerOptions": { + "target": "es2020", "resolveJsonModule": true, "outDir": "./dist" } diff --git a/yarn.lock b/yarn.lock index c90149d47..d4367902d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2047,6 +2047,8 @@ __metadata: resolution: "@ic-reactor/react@workspace:packages/react" dependencies: "@ic-reactor/core": "npm:^1.14.0" + "@types/react": "npm:^18" + react: "npm:^18" zustand: "npm:4.5" zustand-utils: "npm:^1.3" peerDependencies: @@ -4805,7 +4807,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18.2, @types/react@npm:^18.2.45": +"@types/react@npm:*, @types/react@npm:^18, @types/react@npm:^18.2, @types/react@npm:^18.2.45": version: 18.3.12 resolution: "@types/react@npm:18.3.12" dependencies: @@ -18147,7 +18149,7 @@ __metadata: languageName: node linkType: hard -"react@npm:^18.0.0, react@npm:^18.2, react@npm:^18.2.0": +"react@npm:^18, react@npm:^18.0.0, react@npm:^18.2, react@npm:^18.2.0": version: 18.3.1 resolution: "react@npm:18.3.1" dependencies: