mattermost/webapp
Nick Misasi 50dead09de
[CLD-9535] [CLD-9352] Adjust useOpenSalesLink bases its query parameters on useExternalLink (#33451)
* Adjust useOpenSalesLink bases its query parameters on useExternalLink

* Fixes for CI
2025-07-17 10:46:54 -04:00
..
channels [CLD-9535] [CLD-9352] Adjust useOpenSalesLink bases its query parameters on useExternalLink (#33451) 2025-07-17 10:46:54 -04:00
patches
platform Add support for dynamic fetching of preview modal content from S3 bucket (#33380) 2025-07-15 12:58:18 -04:00
scripts Add type annotation to generated language files map (#29283) 2024-11-15 14:19:40 -04:00
.gitignore [MM-63582] Recent Mentions Not Properly Handling Hyphenated Custom Keywords (#30578) 2025-04-09 10:38:25 +00:00
.npmrc
config.mk
Makefile
package-lock.json MM-62744 Change how custom URLs are autolinked to fix remote user at-mentions (#32080) 2025-07-03 11:05:12 -04:00
package.json [MM-64422] Update icons for CEL Table Editor (#31213) 2025-05-30 22:39:24 +02:00
README.md

Mattermost Web App

This folder contains the client code for the Mattermost web app. It's broken up into multiple packages each of which either contains an area of the app (such as playbooks) or shared logic used across other packages (such as the packages located in the platform directory). For anyone who's used to working in the mattermost/mattermost-webapp repo, most of that is now located in channels.

npm Workspaces

To interact with a workspace using npm, such as to add a dependency or run a script, use the --workspace (or --workspaces) flag. This can be done when using built-in npm commands such as npm add or when running scripts. Those commands should be run from this directory.

# Add a dependency to a single package
npm add react --workspace=playbooks

# Build multiple packages
npm run build --workspace=platform/client --workspace=platform/components

# Test all workspaces
npm test --workspaces

# Clean all workspaces that have a clean script defined
npm run clean --workspaces --if-present

To install dependencies for a workspace, simply run npm install from this folder as you would do normally. Most packages' dependencies will be included in the root node_modules, and all packages' dependencies will appear in the package-lock.json. A node_modules will only be created inside a package if one of its dependencies conflicts with that of another package.