mattermost/webapp/platform/components
Harrison Healey c89450e2cf
Update to Jest 30 (#34011)
* Unify version of Jest in subpackages

* Upgrade @types/jest

* Update jest and jest-watch-typeahead

* Add nock and node-fetch to client package

* Update snapshots for new version of Jest

* Replace renamed test assertions

* Update more snapshots

* Update type definitions to fix dependency install issues

* Re-add --coverage to CI tests

* Revert "Re-add --coverage to CI tests"

This reverts commit b59a66eb09.

* Update snapshots in components package

* Remove nock.disableNetConnect from Client4 tests

* Standardize how we mock fetch in different test environments

* Add --forceExit and --verbose to test-ci

* Try --no-watchAll?
2025-11-12 18:05:50 +00:00
..
src Update to Jest 30 (#34011) 2025-11-12 18:05:50 +00:00
.eslintrc.json MM-52624/MM-57094 Update ESLint and our ESLint plugin (#26398) 2024-03-13 22:07:28 +00:00
babel.config.js [MM-55277] Team's menu doesn't follow standard accessible keyboard behavior (#29917) 2025-04-18 19:18:54 +05:30
jest.config.js [MM-55294] Migrate jest v26 to v29 to speed up "web app CI PR / test" (#25192) 2023-11-07 11:41:26 +05:30
package.json [MM-66358] AI-enabled rewriting of messages (#34407) 2025-11-11 14:14:21 +00:00
README.md Fix references from 'packages/*' to 'platform/*' in READMEs (#23498) 2023-06-02 15:35:58 +05:30
rollup.config.js MM-45255 Update web app to React 18 (#33858) 2025-10-07 11:11:12 -04:00
setup_jest.ts [MM-55294] Migrate jest v26 to v29 to speed up "web app CI PR / test" (#25192) 2023-11-07 11:41:26 +05:30
tsconfig.json MM-45255 Update web app to React 18 (#33858) 2025-10-07 11:11:12 -04:00

Mattermost Components

The goal of this package is to be a place where components common to all products can be shared.

Currently a work in progress. Next steps involve implementing webpack module federation in the webapp and locking down how the development experience will work for the webapp multi product architecture.

Usage

Coming soon with multi product architecture.

Compilation

Building is done using rollup. This must be done so the webapp webpack will pick up the changes. (multi product development experience coming soon)

npm run build

or from the root of the webapp with

npm run build --workspace=platform/components