|
32 | 32 | "lint-sass": "yarn stylelint \"**/*.scss\" --quiet-deprecation-warnings",
|
33 | 33 | "test": "yarn lint && yarn test-unit",
|
34 | 34 | "test-ci": "yarn test && yarn test-cypress",
|
35 |
| - "test-unit": "cross-env NODE_ENV=test jest --config ./scripts/jest/config.json", |
| 35 | + "test-unit": "cross-env NODE_ENV=test jest --config ./scripts/jest/config.js", |
36 | 36 | "test-a11y": "node ./scripts/a11y-testing",
|
37 | 37 | "test-staged": "yarn lint && node scripts/test-staged.js",
|
38 | 38 | "test-cypress": "node ./scripts/cypress",
|
|
56 | 56 | },
|
57 | 57 | "resolutions": {
|
58 | 58 | "**/prismjs": "1.27.0",
|
59 |
| - "**/react": "^17.0.0", |
| 59 | + "**/react": "^18", |
| 60 | + "**/@types/react": "^18", |
60 | 61 | "react-focus-lock": "^2.9.5"
|
61 | 62 | },
|
62 | 63 | "pre-commit": [
|
63 | 64 | "test-staged"
|
64 | 65 | ],
|
65 | 66 | "dependencies": {
|
| 67 | + "@hello-pangea/dnd": "^16.2.0", |
66 | 68 | "@types/chroma-js": "^2.0.0",
|
67 | 69 | "@types/lodash": "^4.14.194",
|
68 | 70 | "@types/numeral": "^0.0.28",
|
69 |
| - "@types/react-beautiful-dnd": "^13.1.2", |
70 | 71 | "@types/react-input-autosize": "^2.2.1",
|
71 | 72 | "@types/react-virtualized-auto-sizer": "^1.0.1",
|
72 | 73 | "@types/react-window": "^1.8.5",
|
|
79 | 80 | "mdast-util-to-hast": "^10.0.0",
|
80 | 81 | "numeral": "^2.0.6",
|
81 | 82 | "prop-types": "^15.6.0",
|
82 |
| - "react-beautiful-dnd": "^13.1.0", |
83 | 83 | "react-dropzone": "^11.5.3",
|
84 | 84 | "react-element-to-jsx-string": "^14.3.4",
|
85 | 85 | "react-focus-on": "^3.9.1",
|
|
116 | 116 | "@babel/preset-react": "^7.18.6",
|
117 | 117 | "@babel/preset-typescript": "^7.21.5",
|
118 | 118 | "@babel/template": "^7.21.9",
|
| 119 | + "@cfaester/enzyme-adapter-react-18": "^0.7.0", |
119 | 120 | "@cypress/code-coverage": "^3.10.0",
|
120 |
| - "@cypress/react": "^5.10.3", |
| 121 | + "@cypress/react": "^7.0.3", |
| 122 | + "@cypress/react18": "^2.0.0", |
121 | 123 | "@cypress/webpack-dev-server": "^1.7.0",
|
122 | 124 | "@elastic/charts": "^53.1.1",
|
123 | 125 | "@elastic/datemath": "^5.0.3",
|
|
139 | 141 | "@svgr/core": "8.0.0",
|
140 | 142 | "@svgr/plugin-jsx": "^8.0.1",
|
141 | 143 | "@svgr/plugin-svgo": "^8.0.1",
|
142 |
| - "@testing-library/dom": "^8.12.0", |
143 | 144 | "@testing-library/jest-dom": "^5.16.3",
|
144 |
| - "@testing-library/react": "^12.1.5", |
| 145 | + "@testing-library/react": "^14.0.0", |
| 146 | + "@testing-library/react-16-17": "npm:@testing-library/react@^12.1.5", |
145 | 147 | "@testing-library/react-hooks": "^7.0.2",
|
146 | 148 | "@testing-library/user-event": "^13.5.0",
|
| 149 | + "@types/cheerio": "^0.22.31", |
147 | 150 | "@types/classnames": "^2.2.10",
|
148 | 151 | "@types/enzyme": "^3.10.5",
|
149 | 152 | "@types/jest": "^24.0.6",
|
150 | 153 | "@types/node": "^10.17.5",
|
151 |
| - "@types/react": "^17.0.38", |
152 |
| - "@types/react-dom": "^17.0.11", |
| 154 | + "@types/react": "^18.2.14", |
| 155 | + "@types/react-dom": "^18.2.6", |
153 | 156 | "@types/react-is": "^17.0.3",
|
154 | 157 | "@types/react-router-dom": "^5.3.3",
|
155 | 158 | "@types/tabbable": "^3.1.2",
|
|
225 | 228 | "prop-types": "^15.6.0",
|
226 | 229 | "puppeteer": "^5.5.0",
|
227 | 230 | "raw-loader": "^4.0.1",
|
228 |
| - "react": "^17.0.2", |
| 231 | + "react": "^18.2.0", |
| 232 | + "react-16": "npm:react@^16.14.0", |
| 233 | + "react-17": "npm:react@^17.0.2", |
229 | 234 | "react-docgen-typescript": "^2.2.2",
|
230 |
| - "react-dom": "^17.0.2", |
| 235 | + "react-dom": "^18.2.0", |
| 236 | + "react-dom-16": "npm:react-dom@^16.14.0", |
| 237 | + "react-dom-17": "npm:react-dom@^17.0.2", |
231 | 238 | "react-helmet": "^6.1.0",
|
232 | 239 | "react-redux": "^7.2.1",
|
233 | 240 | "react-refresh": "^0.11.0",
|
|
261 | 268 | "@elastic/datemath": "^5.0.2",
|
262 | 269 | "@emotion/css": "11.x",
|
263 | 270 | "@emotion/react": "11.x",
|
264 |
| - "@types/react": "^16.9 || ^17.0", |
265 |
| - "@types/react-dom": "^16.9 || ^17.0", |
| 271 | + "@types/react": "^16.9 || ^17.0 || ^18.0", |
| 272 | + "@types/react-dom": "^16.9 || ^17.0 || ^18.0", |
266 | 273 | "moment": "^2.13.0",
|
267 | 274 | "prop-types": "^15.5.0",
|
268 |
| - "react": "^16.12 || ^17.0", |
269 |
| - "react-dom": "^16.12 || ^17.0", |
| 275 | + "react": "^16.12 || ^17.0 || ^18.0", |
| 276 | + "react-dom": "^16.12 || ^17.0 || ^18.0", |
270 | 277 | "typescript": "~4.5.3"
|
271 | 278 | },
|
272 | 279 | "files": [
|
|
0 commit comments