Fixathon: Web app dependency updates part 1 (#29036)

* Ensure all packages remove a node_modules in their folder when cleaning

* Upgrade typescript to 5.6.3 and move to root package.json

Note that this currently fails to build the types package due to
@types/node which I'm going to try to remove

* Update @types/node to 20.11 to match .nvmrc

* Upgrade zen-observable to 0.10.0

It looks like localforage-observable uses its own version
of zen-observable because it hasn't been updated in years.
This seems like something we probably should remove.

* Update yargs to 17.7.2

* Update webpack-dev-server to 5.1.0

* Remove webpack-bundle-analyzer since we haven't used it in years

* Update webpack to 5.95.0

* Update web-vitals to 4.2.4

* Update turndown to 7.2.0

* Update tinycolor2 to 1.6.0

* Update timezones.json to 1.7.0

* Update stylelint to 16.10.0, stylelint-config-recommended-scss to 14.1.0, and stylelint-scss to 6.8.1

* Update webpack-cli to 5.1.4

* Update style-loader to 4.0.0

* Change all Webpack scripts to be ES modules

* Update strip-ansi to 7.1.0

This is a build script dependency

* Update chalk to 5.3.0

This is a build script dependency

* Update concurrently to 9.0.1

This is a build script dependency

* Update smooth-scroll-into-view-if-needed to 2.0.2

* MM-48205 Update serialize-error to 11.0.3

We didn't update this before because it's an ES module which caused Jest to complain. We can fix that by making Jest transform the it

* Update semver to 7.6.3

* Update types for semver, tinycolor2, turndown, and webpack

* Fix type issues: change Props to a type

* Fix type issues: invalid HTML attributes

* Remove unneeded option from Webpack config
Этот коммит содержится в:
Harrison Healey
2024-11-06 13:40:19 -05:00
коммит произвёл GitHub
родитель 2117a4ed30
Коммит 4136343476
27 изменённых файлов: 2561 добавлений и 864 удалений

Просмотреть файл

@@ -21,7 +21,7 @@
"@tanstack/react-table": "8.10.7",
"@tippyjs/react": "4.2.6",
"@types/color-hash": "1.0.2",
"@types/turndown": "5.0.1",
"@types/turndown": "5.0.5",
"bootstrap": "3.4.1",
"buffer": "6.0.3",
"chart.js": "3.8.2",
@@ -87,18 +87,17 @@
"redux-thunk": "2.4.2",
"regenerator-runtime": "0.13.10",
"rudder-sdk-js": "1.0.16",
"semver": "7.5.2",
"serialize-error": "8.0.1",
"semver": "7.6.3",
"serialize-error": "11.0.3",
"shallow-equals": "1.0.0",
"smooth-scroll-into-view-if-needed": "1.1.33",
"smooth-scroll-into-view-if-needed": "2.0.2",
"stream-browserify": "3.0.0",
"styled-components": "5.3.6",
"timezones.json": "1.6.1",
"tinycolor2": "1.4.2",
"turndown": "7.1.1",
"typescript": "5.5.4",
"web-vitals": "4.2.0",
"zen-observable": "0.9.0"
"timezones.json": "1.7.1",
"tinycolor2": "1.6.0",
"turndown": "7.2.0",
"web-vitals": "4.2.4",
"zen-observable": "0.10.0"
},
"devDependencies": {
"@deanwhillier/jest-matchmedia-mock": "1.2.0",
@@ -121,7 +120,6 @@
"@types/luxon": "3.0.2",
"@types/mark.js": "8.11.6",
"@types/marked": "0.7.4",
"@types/node": "18.19.59",
"@types/react": "17.0.83",
"@types/react-beautiful-dnd": "13.1.2",
"@types/react-bootstrap": "0.32.35",
@@ -138,10 +136,10 @@
"@types/react-window": "1.8.5",
"@types/react-window-infinite-loader": "1.0.6",
"@types/redux-mock-store": "1.0.3",
"@types/semver": "7.3.9",
"@types/semver": "7.5.8",
"@types/shallow-equals": "1.0.3",
"@types/styled-components": "5.1.32",
"@types/tinycolor2": "1.4.3",
"@types/tinycolor2": "1.4.6",
"copy-webpack-plugin": "11.0.0",
"emoji-datasource": "6.1.1",
"emoji-datasource-apple": "6.1.1",
@@ -169,14 +167,13 @@
"react-router-enzyme-context": "1.2.0",
"redux-mock-store": "1.5.4",
"redux-persist-node-storage": "2.0.0",
"stylelint": "16.2.1",
"stylelint": "16.10.0",
"stylelint-config-idiomatic-order": "10.0.0",
"stylelint-config-recommended-scss": "14.0.0",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-order": "6.0.4",
"stylelint-scss": "6.1.0",
"webpack-bundle-analyzer": "4.7.0",
"stylelint-scss": "6.8.1",
"webpack-pwa-manifest": "4.3.0",
"yargs": "16.2.0"
"yargs": "17.7.2"
},
"overrides": {
"@mattermost/desktop-api": {