Skip to content

Commit c6cae87

Browse files
committed
refactor(many): update dependecies, fix flaky test
Closes: INSTUI-4218 The test was failing because it relied on a random probability which was happening too often
1 parent a0fff9d commit c6cae87

File tree

107 files changed

+2295
-4309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+2295
-4309
lines changed

eslint.config.mjs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const finalConfig = tseslint.config(
161161
},
162162
settings: {
163163
react: {
164-
version: process.env.REACT_VERSION || '18.2.0'
164+
version: process.env.REACT_VERSION || '18.3.1'
165165
}
166166
}
167167
},
@@ -206,17 +206,6 @@ const finalConfig = tseslint.config(
206206
}
207207
}
208208
},
209-
{// parts of the docs app that are not converted to TS
210-
// TODO convert docs app fully to TS to remove this part
211-
files: [
212-
'packages/__docs__/**/*.js',
213-
],
214-
languageOptions: {
215-
globals: {
216-
...globals.browser
217-
}
218-
}
219-
},
220209
{// ui-codemods in Vitest TODO convert fully to TS to remove this part
221210
files: [
222211
'packages/ui-codemods/**/*.js',

package-lock.json

Lines changed: 2016 additions & 3996 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -60,55 +60,56 @@
6060
"@storybook/react/webpack": "^5"
6161
},
6262
"devDependencies": {
63-
"@babel/cli": "^7.25.6",
64-
"@commitlint/cli": "^19.5.0",
65-
"@commitlint/config-conventional": "^19.5.0",
66-
"@emotion/cache": "^11.13.1",
67-
"@emotion/react": "^11.13.3",
68-
"@eslint/eslintrc": "^3.1.0",
69-
"@eslint/js": "^9.11.1",
63+
"@babel/cli": "^7.26.4",
64+
"@commitlint/cli": "^19.6.0",
65+
"@commitlint/config-conventional": "^19.6.0",
66+
"@emotion/cache": "^11.14.0",
67+
"@emotion/react": "^11.14.0",
68+
"@eslint/js": "^9.16.0",
7069
"@instructure/browserslist-config-instui": "workspace:*",
7170
"@instructure/pkg-utils": "workspace:*",
7271
"@testing-library/dom": "^10.4.0",
73-
"@testing-library/jest-dom": "^6.4.6",
72+
"@testing-library/jest-dom": "^6.6.3",
7473
"@testing-library/react": "^16.0.1",
7574
"@testing-library/user-event": "^14.5.2",
7675
"@types/eslint__js": "^8.42.3",
7776
"@types/react-dom": "^18.3.0",
78-
"@vitejs/plugin-react": "^4.3.2",
79-
"@vitest/eslint-plugin": "^1.1.4",
77+
"@types/jest": "^29.5.14",
78+
"@vitejs/plugin-react": "^4.3.4",
79+
"@vitest/eslint-plugin": "^1.1.14",
8080
"chai": "^4.4.1",
8181
"chalk": "^4.1.2",
8282
"commitizen": "^4.3.1",
83-
"cross-spawn": "^7.0.3",
84-
"cypress": "^13.15.0",
83+
"cross-spawn": "^7.0.6",
84+
"cypress": "^13.16.1",
8585
"cypress-real-events": "^1.13.0",
8686
"esbuild": "^0.24.0",
87-
"eslint": "^9.11.1",
87+
"eslint": "^9.16.0",
8888
"eslint-config-prettier": "^9.1.0",
8989
"eslint-import-resolver-node": "^0.3.9",
9090
"eslint-module-utils": "^2.12.0",
9191
"eslint-plugin-compat": "^6.0.1",
92-
"eslint-plugin-jsx-a11y": "^6.10.0",
92+
"eslint-plugin-jsx-a11y": "^6.10.2",
9393
"eslint-plugin-notice": "^1.0.0",
94-
"eslint-plugin-react": "^7.37.0",
95-
"globals": "^15.9.0",
96-
"husky": "^9.1.6",
97-
"lerna": "^8.1.8",
94+
"eslint-plugin-react": "^7.37.2",
95+
"globals": "^15.13.0",
96+
"husky": "^9.1.7",
97+
"lerna": "^8.1.9",
9898
"lint-staged": "^15.2.10",
9999
"react": "^18.3.1",
100100
"tar": "^7.4.3",
101-
"typescript": "5.6.2",
102-
"typescript-eslint": "^8.8.0",
103-
"vitest": "^2.1.1",
104-
"webpack": "^5.95.0"
101+
"typescript": "5.7.2",
102+
"typescript-eslint": "^8.18.0",
103+
"vitest": "^2.1.8",
104+
"webpack": "^5.97.1"
105105
},
106106
"//dependency-comments": {
107107
"danger": "^11.3.1 -- add this back if we use it in pr-validation.yml",
108108
"chalk": "Chalk 5 is ESM. (used here by the scripts/ folder)",
109109
"tar": "Lerna 8 needs tar for this fixed(?) bug: https://github.com/lerna/lerna/issues/4005",
110110
"eslint-import-resolver-typescript": "^3.6.1 not supported by ESLint 9",
111-
"eslint-plugin-import-x": "^3.1.0 not supported by ESLint 9"
111+
"eslint-plugin-import-x": "^3.1.0 not supported by ESLint 9",
112+
"@types/jest": "needed because https://github.com/testing-library/jest-dom/issues/544 recheck if fixed"
112113
},
113114
"engines": {
114115
"node": ">=18",

packages/__docs__/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"license": "MIT",
2727
"dependencies": {
28-
"@babel/standalone": "^7.25.6",
28+
"@babel/standalone": "^7.26.4",
2929
"@instructure/canvas-high-contrast-theme": "10.8.0",
3030
"@instructure/canvas-theme": "10.8.0",
3131
"@instructure/console": "10.8.0",
@@ -116,8 +116,8 @@
116116
"buffer": "^6.0.3",
117117
"codesandbox": "^2.2.3",
118118
"lorem-ipsum": "^2.0.8",
119-
"marked": "^14.1.2",
120-
"marked-react": "^2.0.0",
119+
"marked": "^15.0.3",
120+
"marked-react": "^3.0.0",
121121
"moment": "^2.30.1",
122122
"prop-types": "^15.8.1",
123123
"react": "^18.3.1",
@@ -133,11 +133,11 @@
133133
"chokidar": "^3.6.0",
134134
"globby": "^14.0.2",
135135
"gray-matter": "^4.0.3",
136-
"html-webpack-plugin": "^5.6.0",
136+
"html-webpack-plugin": "^5.6.3",
137137
"jsdoc-api": "^8.1.1",
138138
"mkdirp": "^3.0.1",
139139
"raw-loader": "^4.0.2",
140-
"react-docgen": "^7.0.3",
140+
"react-docgen": "^7.1.0",
141141
"svg-inline-loader": "^0.8.2",
142142
"webpack-bundle-analyzer": "^4.10.2"
143143
},

packages/__examples__/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"license": "MIT",
2424
"dependencies": {
25-
"@babel/runtime": "^7.25.6",
25+
"@babel/runtime": "^7.26.0",
2626
"@instructure/ui-babel-preset": "10.8.0",
2727
"@instructure/ui-buttons": "10.8.0",
2828
"@instructure/ui-i18n": "10.8.0",
@@ -46,9 +46,9 @@
4646
"@types/webpack-env": "^1.18.5",
4747
"globby": "^13.2.2",
4848
"prop-types": "^15.8.1",
49-
"react-docgen": "7.0.3",
49+
"react-docgen": "7.1.0",
5050
"storybook": "^7.6.19",
51-
"webpack": "^5.95.0"
51+
"webpack": "^5.97.1"
5252
},
5353
"resolutions": {
5454
"@storybook/react/webpack": "^5"

packages/canvas-high-contrast-theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@instructure/ui-babel-preset": "10.8.0"
2626
},
2727
"dependencies": {
28-
"@babel/runtime": "^7.25.6",
28+
"@babel/runtime": "^7.26.0",
2929
"@instructure/shared-types": "10.8.0",
3030
"@instructure/theme-registry": "10.8.0",
3131
"@instructure/ui-themes": "10.8.0"

packages/canvas-theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@instructure/ui-babel-preset": "10.8.0"
2626
},
2727
"dependencies": {
28-
"@babel/runtime": "^7.25.6",
28+
"@babel/runtime": "^7.26.0",
2929
"@instructure/shared-types": "10.8.0",
3030
"@instructure/theme-registry": "10.8.0",
3131
"@instructure/ui-themes": "10.8.0"

packages/command-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"license": "MIT",
2323
"dependencies": {
2424
"chalk": "^5.3.0",
25-
"cross-spawn": "^7.0.3",
25+
"cross-spawn": "^7.0.6",
2626
"which": "^4.0.0"
2727
},
2828
"publishConfig": {

packages/cz-lerna-changelog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@instructure/pkg-utils": "10.8.0",
2626
"@semantic-release/commit-analyzer": "^9.0.2",
2727
"chalk": "^4.1.2",
28-
"cz-customizable": "^6.9.2",
28+
"cz-customizable": "^7.3.0",
2929
"inquirer": "^8.2.6"
3030
},
3131
"devDependencies": {

packages/debounce/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@instructure/ui-babel-preset": "10.8.0"
2626
},
2727
"dependencies": {
28-
"@babel/runtime": "^7.25.6"
28+
"@babel/runtime": "^7.26.0"
2929
},
3030
"publishConfig": {
3131
"access": "public"

0 commit comments

Comments
 (0)