Skip to content

Commit 5c67c4f

Browse files
upgrade all packages to react18
1 parent 5d36e61 commit 5c67c4f

File tree

14 files changed

+1236
-1210
lines changed

14 files changed

+1236
-1210
lines changed

apps/design-system/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
"clsx": "^2.1.1",
2121
"lodash-es": "^4.17.21",
2222
"monaco-editor": "^0.40.0",
23-
"react": "^17.0.2",
24-
"react-dom": "^17.0.2",
23+
"react": "^18.3.1",
24+
"react-dom": "^18.3.1",
2525
"react-live": "^4.1.8",
2626
"react-router-dom": "^6.26.0",
2727
"vite-plugin-monaco-editor": "^1.1.0"
2828
},
2929
"devDependencies": {
30-
"@types/react": "^17.0.3",
31-
"@types/react-dom": "^17.0.3",
30+
"@types/react": "^18.3.18",
31+
"@types/react-dom": "^18.3.5",
3232
"@vitejs/plugin-react-swc": "^3.7.2",
3333
"eslint": "^8.57.1",
3434
"eslint-plugin-react-hooks": "^4.6.2",

apps/gitness/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
"jotai": "^2.6.3",
4141
"lang-map": "^0.4.0",
4242
"lodash-es": "^4.17.21",
43-
"monaco-yaml": "^4.0.4",
4443
"monaco-editor": "^0.40.0",
4544
"monaco-editor-webpack-plugin": "^7.1.0",
45+
"monaco-yaml": "^4.0.4",
4646
"pluralize": "^8.0.0",
47-
"react": "^17.0.2",
48-
"react-dom": "^17.0.2",
47+
"react": "^18.3.1",
48+
"react-dom": "^18.3.1",
4949
"react-hook-form": "^7.28.0",
5050
"react-i18next": "^15.1.1",
5151
"react-router-dom": "^6.26.0",
@@ -62,8 +62,8 @@
6262
"@types/event-source-polyfill": "^1.0.0",
6363
"@types/lodash-es": "^4.17.12",
6464
"@types/pluralize": "^0.0.33",
65-
"@types/react": "^17.0.3",
66-
"@types/react-dom": "^17.0.3",
65+
"@types/react": "^18.3.18",
66+
"@types/react-dom": "^18.3.5",
6767
"@vitejs/plugin-react-swc": "^3.7.2",
6868
"@vitest/coverage-istanbul": "^2.1.8",
6969
"css-loader": "^7.1.2",

apps/portal/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"clsx": "^2.1.1",
2626
"lucide-react": "^0.407.0",
2727
"prism-react-renderer": "^2.4.1",
28-
"react": "^17.0.2",
29-
"react-dom": "^17.0.2",
28+
"react": "^18.3.1",
29+
"react-dom": "^18.3.1",
3030
"react-live": "^4.1.8",
3131
"react-router-dom": "^6.26.0",
3232
"sharp": "^0.32.5",
@@ -36,7 +36,7 @@
3636
},
3737
"devDependencies": {
3838
"@astrojs/check": "^0.9.4",
39-
"@types/react": "^17.0.3",
39+
"@types/react": "^18.3.18",
4040
"lint-staged": "^15.2.9",
4141
"prettier": "^3.4.2",
4242
"prettier-plugin-astro": "^0.14.1",

package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818
"node": ">=18.17.1"
1919
},
2020
"license": "Apache-2.0",
21-
"resolutions": {
22-
"@types/react": "^17.0.3",
23-
"@types/react-dom": "^17.0.3",
24-
"react": "17.0.2",
25-
"react-dom": "17.0.2"
26-
},
21+
2722
"packageManager": "[email protected]+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",
2823
"devDependencies": {
2924
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",

packages/canary/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
"embla-carousel-react": "^8.1.5",
8080
"input-otp": "^1.2.4",
8181
"next-themes": "^0.3.0",
82-
"react": "^17.0.2",
82+
"react": "^18.3.1",
8383
"react-day-picker": "^8.10.1",
84-
"react-dom": "^17.0.2",
84+
"react-dom": "^18.3.1",
8585
"react-hook-form": "^7.28.0",
8686
"react-resizable-panels": "^2.0.19",
8787
"sonner": "^1.5.0",
@@ -95,8 +95,8 @@
9595
"@types/jest": "^27.5.2",
9696
"@types/lodash-es": "^4.17.12",
9797
"@types/node": "^20.14.9",
98-
"@types/react": "^17.0.3",
99-
"@types/react-dom": "^17.0.3",
98+
"@types/react": "^18.3.18",
99+
"@types/react-dom": "^18.3.5",
100100
"@vitejs/plugin-react-swc": "^3.7.2",
101101
"autoprefixer": "^10.4.19",
102102
"eslint": "^8.57.1",

packages/filters/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@harnessio/filters",
3-
"version": "1.0.0",
3+
"version": "1.0.0-react18.alpha.1",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"scripts": {
@@ -24,20 +24,20 @@
2424
},
2525
"peerDependencies": {
2626
"react": ">=17.0.0 <19.0.0",
27-
"react-dom": ">=17.0.0 <19.0.0",
28-
"react-router-dom": ">=5.0.0 <7.0.0"
27+
"react-dom": ">=17.0.0 <19.0.0"
2928
},
3029
"devDependencies": {
3130
"@types/node": "^16.18.84",
32-
"@types/react": "^17.0.3",
33-
"@types/react-dom": "^17.0.3",
31+
"@types/react": "^18.3.18",
32+
"@types/react-dom": "^18.3.5",
3433
"@vitejs/plugin-react-swc": "^3.7.2",
3534
"dts-bundle-generator": "^6.4.0",
3635
"eslint": "^8.57.1",
3736
"flatted": "^3.3.2",
3837
"jest": "^29.7.0",
3938
"lint-staged": "^15.2.9",
4039
"npm-run-all": "^4.1.5",
40+
"react-router-dom": "^6.26.0",
4141
"ts-jest": "^29.1.2",
4242
"typescript": "^5.3.3",
4343
"vite": "^6.0.3",

packages/forms/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@harnessio/forms",
3-
"version": "0.0.1",
3+
"version": "0.0.1-react18.alpha.1",
44
"description": "Harness Forms Library",
55
"scripts": {
66
"dev": "run-p build:watch",
@@ -48,8 +48,8 @@
4848
"@types/jest": "^27.5.2",
4949
"@types/lodash-es": "^4.17.3",
5050
"@types/node": "^16.18.84",
51-
"@types/react": "^17.0.3",
52-
"@types/react-dom": "^17.0.3",
51+
"@types/react": "^18.3.18",
52+
"@types/react-dom": "^18.3.5",
5353
"@types/uuid": "^8.3.0",
5454
"@types/yup": "^0.29.0",
5555
"@vitejs/plugin-react-swc": "^3.7.2",

packages/pipeline-graph/package.json

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@harnessio/pipeline-graph",
3-
"version": "1.0.0-alpha.2",
3+
"version": "1.0.0-react18.alpha.2",
44
"private": false,
55
"author": "Harness Inc.",
66
"license": "Apache-2.0",
@@ -14,19 +14,18 @@
1414
"scripts": {
1515
"examples": "vite dev --config vite.config.dev.ts",
1616
"dev": "vite build --watch",
17-
"build": "vite build"
17+
"build": "vite build",
18+
"prepublishOnly": "pnpm build"
1819
},
1920
"peerDependencies": {
20-
"@types/react": "^17.0.3",
21-
"@types/react-dom": "^17.0.3",
22-
"react": "^17.0.2",
23-
"react-dom": "^17.0.2"
21+
"react": "^18.3.1",
22+
"react-dom": "^18.3.1"
2423
},
2524
"devDependencies": {
2625
"@types/lodash-es": "^4.17.12",
2726
"@types/node": "^22.10.1",
28-
"@types/react": "^17.0.3",
29-
"@types/react-dom": "^17.0.3",
27+
"@types/react": "^18.3.18",
28+
"@types/react-dom": "^18.3.5",
3029
"@vitejs/plugin-react-swc": "^3.7.2",
3130
"vite": "^6.0.2",
3231
"vite-plugin-dts": "^4.3.0",

packages/ui/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@harnessio/ui",
33
"description": "Harness Canary UI component library",
4-
"version": "0.0.1-alpha.20",
4+
"version": "0.0.1-react18.alpha.5",
55
"private": false,
66
"type": "module",
77
"main": "./dist/index.js",
@@ -119,19 +119,19 @@
119119
"sonner": "^1.5.0",
120120
"tailwind-merge": "^2.3.0",
121121
"tailwindcss-animate": "^1.0.7",
122-
"yaml": "^2.7.0",
123122
"vaul": "^1.1.2",
123+
"yaml": "^2.7.0",
124124
"zod": "^3.23.8"
125125
},
126126
"peerDependencies": {
127-
"react": ">=17"
127+
"react": ">=18"
128128
},
129129
"devDependencies": {
130130
"@testing-library/jest-dom": "^6.6.3",
131131
"@testing-library/react": "^16.0.1",
132132
"@types/lodash-es": "^4.17.12",
133133
"@types/node": "^22.9.0",
134-
"@types/react": "^17.0.3",
134+
"@types/react": "^18.3.18",
135135
"@vitejs/plugin-react-swc": "^3.7.2",
136136
"@vitest/coverage-istanbul": "^2.1.8",
137137
"@vitest/ui": "^2.1.8",

packages/unified-pipeline/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"dagre": "^0.8.5",
4444
"elkjs": "^0.9.3",
4545
"lodash-es": "^4.17.21",
46-
"react": "^17.0.2",
47-
"react-dom": "^17.0.2",
46+
"react": "^18.3.1",
47+
"react-dom": "^18.3.1",
4848
"reactflow": "^11.11.4",
4949
"tailwindcss": "^3.4.4",
5050
"web-worker": "^1.0.0",
@@ -56,9 +56,9 @@
5656
"@types/dagre": "^0.7.52",
5757
"@types/lodash-es": "^4.17.12",
5858
"@types/node": "^22.2.0",
59-
"@types/react": "^17.0.3",
59+
"@types/react": "^18.3.18",
6060
"@types/react-copy-to-clipboard": "^5.0.7",
61-
"@types/react-dom": "^17.0.3",
61+
"@types/react-dom": "^18.3.5",
6262
"@vitejs/plugin-react-swc": "^3.7.2",
6363
"dts-bundle-generator": "^6.4.0",
6464
"lint-staged": "^15.2.9",

packages/views/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
"monaco-yaml": "^4.0.4",
6868
"overlayscrollbars": "^2.10.0",
6969
"pluralize": "^8.0.0",
70-
"react": "^17.0.2",
71-
"react-dom": "^17.0.2",
70+
"react": "^18.3.1",
71+
"react-dom": "^18.3.1",
7272
"react-hook-form": "^7.28.0",
7373
"react-keywords": "^1.0.0",
7474
"rehype-external-links": "^3.0.0",
@@ -82,8 +82,8 @@
8282
"@tailwindcss/typography": "^0.5.15",
8383
"@types/lodash-es": "^4.17.9",
8484
"@types/pluralize": "^0.0.33",
85-
"@types/react": "^17.0.3",
86-
"@types/react-dom": "^17.0.3",
85+
"@types/react": "^18.3.18",
86+
"@types/react-dom": "^18.3.5",
8787
"@typescript-eslint/eslint-plugin": "^6.5.0",
8888
"@typescript-eslint/parser": "^6.5.0",
8989
"@vitejs/plugin-react-swc": "^3.7.2",

packages/yaml-editor-playground/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"@monaco-editor/react": "4.6.0",
1515
"monaco-editor": "^0.40.0",
1616
"monaco-yaml": "^4.0.4",
17-
"react": "^17.0.2",
18-
"react-dom": "^17.0.2",
17+
"react": "^18.3.1",
18+
"react-dom": "^18.3.1",
1919
"ts-loader": "^9.5.1",
2020
"typescript": "^4.9.5"
2121
},
@@ -29,8 +29,8 @@
2929
"@testing-library/user-event": "^13.5.0",
3030
"@types/jest": "^27.5.2",
3131
"@types/node": "^16.18.101",
32-
"@types/react": "^17.0.3",
33-
"@types/react-dom": "^17.0.3",
32+
"@types/react": "^18.3.18",
33+
"@types/react-dom": "^18.3.5",
3434
"babel-loader": "^9.1.3",
3535
"babel-plugin-syntax-dynamic-import": "^6.18.0",
3636
"babel-plugin-transform-class-properties": "^6.24.1",

packages/yaml-editor/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@harnessio/yaml-editor",
3-
"version": "0.15.0",
3+
"version": "0.16.0-react18.alpha.2",
44
"private": false,
55
"author": "Harness Inc.",
66
"license": "Apache-2.0",
@@ -27,8 +27,8 @@
2727
"@monaco-editor/react": "4.6.0",
2828
"monaco-editor": "^0.40.0",
2929
"monaco-yaml": "^4.0.4",
30-
"react": "^17.0.2",
31-
"react-dom": "^17.0.2"
30+
"react": "^18.3.1",
31+
"react-dom": "^18.3.1"
3232
},
3333
"devDependencies": {
3434
"@babel/core": "^7.24.7",
@@ -40,8 +40,8 @@
4040
"@testing-library/user-event": "^13.5.0",
4141
"@types/jest": "^27.5.2",
4242
"@types/node": "^16.18.101",
43-
"@types/react": "^17.0.3",
44-
"@types/react-dom": "^17.0.3",
43+
"@types/react": "^18.3.18",
44+
"@types/react-dom": "^18.3.5",
4545
"@vitejs/plugin-react": "^4.0.4",
4646
"@vitejs/plugin-react-swc": "^3.5.0",
4747
"babel-loader": "^9.1.3",

0 commit comments

Comments
 (0)