* 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
113 строки
3.0 KiB
JSON
113 строки
3.0 KiB
JSON
{
|
|
"name": "@mattermost/webapp",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=18.10.0",
|
|
"npm": "^9.0.0 || ^10.0.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "patch-package && npm run build --workspace=platform/types --workspace=platform/client --workspace=platform/components",
|
|
"build": "node scripts/build.mjs",
|
|
"run": "node scripts/run.mjs",
|
|
"dev-server": "node scripts/dev-server.mjs",
|
|
"test": "npm run test --workspaces --if-present",
|
|
"test:updatesnapshot": "npm run test:updatesnapshot --workspaces --if-present",
|
|
"test-ci": "npm run test-ci --workspaces --if-present",
|
|
"check": "npm run check --workspaces --if-present",
|
|
"fix": "npm run fix --workspaces --if-present",
|
|
"check-types": "npm run check-types --workspaces --if-present",
|
|
"clean": "npm run clean --workspaces --if-present"
|
|
},
|
|
"dependencies": {
|
|
"react-intl": "6.6.2",
|
|
"typescript": "5.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.22.0",
|
|
"@babel/preset-env": "7.21.5",
|
|
"@babel/preset-react": "7.18.6",
|
|
"@babel/preset-typescript": "7.21.5",
|
|
"@types/node": "20.11.30",
|
|
"@types/webpack-env": "1.18.5",
|
|
"babel-loader": "9.1.2",
|
|
"babel-plugin-formatjs": "10.5.1",
|
|
"babel-plugin-styled-components": "2.1.1",
|
|
"babel-plugin-typescript-to-proptypes": "2.1.0",
|
|
"blessed": "0.1.81",
|
|
"chalk": "5.3.0",
|
|
"concurrently": "9.0.1",
|
|
"cross-env": "7.0.3",
|
|
"css-loader": "6.7.3",
|
|
"eslint": "8.57.0",
|
|
"eslint-import-resolver-webpack": "0.13.8",
|
|
"eslint-plugin-formatjs": "4.12.2",
|
|
"eslint-plugin-react": "7.34.0",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"mini-css-extract-plugin": "2.7.5",
|
|
"patch-package": "8.0.0",
|
|
"sass": "1.71.1",
|
|
"sass-loader": "14.1.1",
|
|
"strip-ansi": "7.1.0",
|
|
"style-loader": "4.0.0",
|
|
"webpack": "5.95.0",
|
|
"webpack-cli": "5.1.4",
|
|
"webpack-dev-server": "5.1.0"
|
|
},
|
|
"overrides": {
|
|
"@floating-ui/react": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"@giphy/react-components": {
|
|
"styled-components": "5.3.6"
|
|
},
|
|
"@mui/base": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"enzyme-adapter-utils": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"react-bootstrap": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"react-color": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"react-contextmenu": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"react-custom-scrollbars": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"react-overlays": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"react-select": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"react-transition-group": {
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"braces": "3.0.3",
|
|
"cheerio": "1.0.0-rc.12",
|
|
"@types/estree": "0.0.51",
|
|
"asn1.js": "5.4.1"
|
|
},
|
|
"workspaces": [
|
|
"channels",
|
|
"platform/client",
|
|
"platform/components",
|
|
"platform/eslint-plugin",
|
|
"platform/types"
|
|
]
|
|
}
|