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 MM-66867/MM-67318 Add initial version of shared package (#35065) 2026-02-13 14:53:10 -05:00
.eslintrc.json MM-66867/MM-67318 Add initial version of shared package (#35065) 2026-02-13 14:53:10 -05:00
.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 MM-66867/MM-67318 Add initial version of shared package (#35065) 2026-02-13 14:53:10 -05:00
.stylelintrc.json MM-66867/MM-67318 Add initial version of shared package (#35065) 2026-02-13 14:53:10 -05:00
jest.config.js MM-66867/MM-67318 Add initial version of shared package (#35065) 2026-02-13 14:53:10 -05:00
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 MM-66867/MM-67318 Add initial version of shared package (#35065) 2026-02-13 14:53:10 -05:00
setup_jest.ts MM-66867/MM-67318 Add initial version of shared package (#35065) 2026-02-13 14:53:10 -05:00
tsconfig.json MM-66867/MM-67318 Add initial version of shared package (#35065) 2026-02-13 14:53:10 -05:00

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