Prevent boards product from being included automatically (#23539)

* Prevent boards product from being included automatically

* Fix config diff test

* Update prepackaged plugin version

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* Readd boards/dist to the gitignore

* Does not enable the focalboard plugin by default

* Update plugin version to v7.10.3

---------

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Этот коммит содержится в:
Miguel de la Cruz
2023-06-12 18:51:43 +02:00
коммит произвёл GitHub
родитель d8cb5f3a6e
Коммит 1215584665
16 изменённых файлов: 708 добавлений и 8807 удалений

Просмотреть файл

@@ -279,15 +279,10 @@ if (DEV) {
config.plugins.push({
apply: (compiler) => {
compiler.hooks.afterEmit.tap('AfterEmitPlugin', () => {
const boardsDist = path.resolve(__dirname, '../boards/dist');
const boardsSymlink = './dist/products/boards';
const playbooksDist = path.resolve(__dirname, '../playbooks/dist');
const playbooksSymlink = './dist/products/playbooks';
fs.mkdir('./dist/products', () => {
if (!fs.existsSync(boardsSymlink)) {
fs.symlinkSync(boardsDist, boardsSymlink, 'dir');
}
if (!fs.existsSync(playbooksSymlink)) {
fs.symlinkSync(playbooksDist, playbooksSymlink, 'dir');
}
@@ -334,7 +329,6 @@ async function initializeModuleFederation() {
async function getRemoteContainers() {
const products = [
{name: 'boards'},
{name: 'playbooks'},
];