mattermost/webapp/platform/shared
Harrison Healey 2da1e56e6c
MM-67323 Add system for plugins to use shared package and allow plugins to load asynchronously (#35183)
* Remove jest-junit and unignore build folder in web app packages

We don't actually use the file output by jest-junit, and I don't think we
have since we moved off of Jenkins for CI

* Move parcel-namer-shared into build folder

* MM-67323 Add loadSharedDependency API and script for plugins to use it

* Fix client and mattermost-redux packages missing const enums

* Change interface for webAppExternals
2026-02-17 12:57:49 -05:00
..
build MM-67323 Add system for plugins to use shared package and allow plugins to load asynchronously (#35183) 2026-02-17 12:57:49 -05:00
src
.eslintrc.json
.parcelrc MM-67323 Add system for plugins to use shared package and allow plugins to load asynchronously (#35183) 2026-02-17 12:57:49 -05:00
.stylelintignore
.stylelintrc.json
jest.config.js
package.json MM-67323 Add system for plugins to use shared package and allow plugins to load asynchronously (#35183) 2026-02-17 12:57:49 -05:00
README.md
setup_jest.ts
tsconfig.json

Mattermost Shared Package

npm version

This package contains shared components and other utilities for use by the Mattermost web app and its plugins.

Caution

This is a pre-release package in active development. It is currently for internal use only, and it may change significantly between now and when it is fully released.

Installation

This package requires a matching version of the @mattermost/types package. It also requires React and React Intl.

$ npm install @mattermost/shared @mattermost/types

Additionally, if you're writing unit tests involving these components, React Testing Library is also required.

$ npm install @testing-library/react

Usage

TODO

Development

Compilation and Packaging

TODO