Replace mattermost-webapp dependency with mattermost-redux (#190)

* replace mattermost-webapp dep with mattermost-redux

* remove references in tsconfig.json and webpack.config.js

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
Michael Kochell 2023-11-06 20:06:52 -05:00 committed by GitHub
parent 5237d354cf
commit 846ffb50d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9872 additions and 12478 deletions

22346
webapp/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -74,8 +74,8 @@
"webpack-cli": "5.0.1" "webpack-cli": "5.0.1"
}, },
"dependencies": { "dependencies": {
"@mattermost/webapp": "github:mattermost/mattermost-webapp",
"core-js": "3.22.8", "core-js": "3.22.8",
"mattermost-redux": "5.33.1",
"react": "^16.14.0", "react": "^16.14.0",
"react-redux": "8.0.2", "react-redux": "8.0.2",
"redux": "4.2.0", "redux": "4.2.0",

View file

@ -4,7 +4,6 @@
"baseUrl": "./", "baseUrl": "./",
"paths": { "paths": {
"@/*": ["src/*"], "@/*": ["src/*"],
"mattermost-redux/*": ["../node_modules/@mattermost/webapp/packages/mattermost-redux/src/*"],
}, },
"lib": [ "lib": [
"dom", "dom",

View file

@ -36,7 +36,6 @@ const config = {
resolve: { resolve: {
alias: { alias: {
'@': path.resolve(__dirname, 'src'), '@': path.resolve(__dirname, 'src'),
'mattermost-redux': path.resolve(__dirname, 'node_modules/@mattermost/webapp/packages/mattermost-redux/src'),
}, },
modules: [ modules: [
'src', 'src',