|
14 | 14 | }, |
15 | 15 | "devDependencies": { |
16 | 16 | "@babel/cli": "7.16.8", |
17 | | - "@babel/core": "7.16.12", |
| 17 | + "@babel/core": "7.28.0", |
18 | 18 | "@babel/plugin-proposal-class-properties": "7.16.7", |
19 | 19 | "@babel/plugin-proposal-object-rest-spread": "7.16.7", |
20 | 20 | "@babel/plugin-proposal-optional-chaining": "7.16.7", |
|
25 | 25 | "@babel/runtime": "7.16.7", |
26 | 26 | "@emotion/babel-preset-css-prop": "11.2.0", |
27 | 27 | "@emotion/core": "10.3.1", |
28 | | - "@mattermost/types": "6.7.0-0", |
| 28 | + "@mattermost/client": "10.9.0", |
| 29 | + "@mattermost/types": "10.9.0", |
29 | 30 | "@testing-library/jest-dom": "5.16.1", |
30 | 31 | "@types/babel__core": "7.1.18", |
31 | 32 | "@types/babel__template": "7.4.1", |
| 33 | + "@types/cheerio": "0.22.30", |
32 | 34 | "@types/enzyme": "3.10.11", |
33 | | - "@types/jest": "27.4.0", |
| 35 | + "@types/jest": "29.5.11", |
34 | 36 | "@types/node": "17.0.12", |
35 | 37 | "@types/react": "16.14.26", |
36 | 38 | "@types/react-dom": "17.0.11", |
|
41 | 43 | "@typescript-eslint/parser": "5.10.1", |
42 | 44 | "@typescript-eslint/typescript-estree": "5.52.0", |
43 | 45 | "babel-eslint": "10.1.0", |
| 46 | + "babel-jest": "29.7.0", |
44 | 47 | "babel-loader": "8.2.2", |
45 | 48 | "babel-plugin-formatjs": "10.3.7", |
46 | | - "babel-plugin-typescript-to-proptypes": "2.0.0", |
| 49 | + "babel-plugin-typescript-to-proptypes": "2.1.0", |
| 50 | + "cheerio": "0.22.0", |
47 | 51 | "css-loader": "6.5.1", |
48 | | - "enzyme": "3.11.0", |
| 52 | + "enzyme": "3.10.0", |
49 | 53 | "enzyme-adapter-react-16": "1.15.6", |
50 | 54 | "enzyme-to-json": "3.6.2", |
51 | | - "eslint": "8.8.0", |
52 | | - "eslint-import-resolver-alias": "1.1.2", |
53 | | - "eslint-import-resolver-typescript": "2.7.1", |
54 | | - "eslint-import-resolver-webpack": "0.13.2", |
| 55 | + "eslint": "7.9.0", |
| 56 | + "eslint-import-resolver-typescript": "3.6.1", |
| 57 | + "eslint-import-resolver-webpack": "0.12.2", |
55 | 58 | "eslint-plugin-babel": "5.3.1", |
56 | 59 | "eslint-plugin-cypress": "2.12.1", |
57 | 60 | "eslint-plugin-header": "3.1.1", |
58 | | - "eslint-plugin-import": "2.25.4", |
| 61 | + "eslint-plugin-import": "2.22.0", |
59 | 62 | "eslint-plugin-jest": "26.5.3", |
60 | 63 | "eslint-plugin-mattermost": "github:mattermost/eslint-plugin-mattermost", |
61 | 64 | "eslint-plugin-no-only-tests": "2.6.0", |
|
64 | 67 | "file-loader": "6.2.0", |
65 | 68 | "identity-obj-proxy": "3.0.0", |
66 | 69 | "isomorphic-fetch": "3.0.0", |
67 | | - "jest": "27.4.7", |
| 70 | + "jest": "29.7.0", |
68 | 71 | "jest-canvas-mock": "2.3.1", |
| 72 | + "jest-environment-jsdom": "29.7.0", |
69 | 73 | "jest-junit": "13.0.0", |
70 | 74 | "sass": "1.52.3", |
71 | 75 | "sass-loader": "13.0.0", |
|
75 | 79 | }, |
76 | 80 | "dependencies": { |
77 | 81 | "core-js": "3.22.8", |
78 | | - "mattermost-redux": "5.33.1", |
| 82 | + "mattermost-redux": "10.9.0", |
79 | 83 | "react": "16.14.0", |
80 | | - "react-bootstrap": "2.8.0", |
| 84 | + "react-bootstrap": "1.3.0", |
| 85 | + "react-dom": "16.13.1", |
81 | 86 | "react-redux": "8.0.2", |
82 | 87 | "react-select": "5.7.4", |
83 | 88 | "redux": "4.2.0", |
84 | | - "typescript": "4.6.4" |
| 89 | + "reselect": "5.1.1", |
| 90 | + "typescript": "5.6.3" |
85 | 91 | }, |
86 | 92 | "jest": { |
87 | 93 | "snapshotSerializers": [ |
|
105 | 111 | "^.*i18n.*\\.(json)$": "<rootDir>/tests/i18n_mock.json", |
106 | 112 | "^bundle-loader\\?lazy\\!(.*)$": "$1" |
107 | 113 | }, |
| 114 | + "transform": { |
| 115 | + "^.+\\.[jt]sx?$": "babel-jest" |
| 116 | + }, |
108 | 117 | "moduleDirectories": [ |
109 | | - "", |
110 | 118 | "node_modules", |
111 | 119 | "non_npm_dependencies" |
112 | 120 | ], |
|
115 | 123 | "jest-junit" |
116 | 124 | ], |
117 | 125 | "transformIgnorePatterns": [ |
118 | | - "node_modules/(?!react-native|react-router|mattermost-webapp)" |
| 126 | + "node_modules/(?!react-native|react-router|mattermost-webapp|enzyme|cheerio)" |
119 | 127 | ], |
120 | 128 | "setupFiles": [ |
121 | 129 | "jest-canvas-mock" |
122 | 130 | ], |
123 | 131 | "setupFilesAfterEnv": [ |
124 | 132 | "<rootDir>/tests/setup.tsx" |
125 | 133 | ], |
126 | | - "testURL": "http://localhost:8065" |
| 134 | + "testEnvironment": "jsdom", |
| 135 | + "testEnvironmentOptions": { |
| 136 | + "url": "http://localhost:8065" |
| 137 | + } |
127 | 138 | } |
128 | 139 | } |
0 commit comments