const packagesConfig = require('./packages-config'); const {mergeBuildConfigs} = require('../utils'); const branchBuildConfig = { 'magento2': { repoUrl: 'https://github.com/mage-os/mageos-magento2.git', ref: '2.4-develop', transform: { // For magento/elasticsearch-8, remove the elasticsearch/elasticsearch dependency. // See https://github.com/magento/magento2/issues/36687 'magento/module-elasticsearch-8': [ composerJson => { if (composerJson?.require['elasticsearch/elasticsearch']) { delete composerJson.require['elasticsearch/elasticsearch']; } return composerJson; } ] } }, 'security-package': { repoUrl: 'https://github.com/mage-os/mageos-security-package.git', ref: 'develop', }, 'inventory': { repoUrl: 'https://github.com/mage-os/mageos-inventory.git', ref: 'develop', }, 'inventory-composer-installer': { repoUrl: 'https://github.com/mage-os/mageos-inventory-composer-installer.git', ref: 'master', }, 'page-builder': { repoUrl: 'https://github.com/mage-os/mageos-magento2-page-builder.git', ref: 'develop', }, // Starting from Adobe Commerce and Magento Open Source 2.4.5 release Adobe IMS Integration package became part of Magento Open Source project. // 'adobe-ims': { // repoUrl: 'https://github.com/mage-os/mageos-adobe-ims.git', // ref: 'develop', // }, 'adobe-stock-integration': { repoUrl: 'https://github.com/mage-os/mageos-adobe-stock-integration.git', ref: 'develop', }, 'magento-composer-installer': { repoUrl: 'https://github.com/mage-os/mageos-magento-composer-installer.git', ref: 'master', }, 'composer': { repoUrl: 'https://github.com/mage-os/mageos-composer.git', ref: 'develop', }, 'composer-root-update-plugin': { repoUrl: 'https://github.com/mage-os/mageos-composer-root-update-plugin.git', ref: 'develop', }, 'composer-dependency-version-audit-plugin': { repoUrl: 'https://github.com/mage-os/mageos-composer-dependency-version-audit-plugin.git', ref: 'main', }, 'magento2-sample-data': { repoUrl: 'https://github.com/mage-os/mageos-magento2-sample-data.git', ref: '2.4-develop', }, // Keep disabled until someone takes up maintenance of commerce-data-export tags // 'commerce-data-export': { // repoUrl: 'https://github.com/mage-os/mageos-commerce-data-export.git', // ref: 'main' // }, 'magento-allure-phpunit': { repoUrl: 'https://github.com/mage-os/mageos-magento-allure-phpunit.git', ref: 'main' }, 'magento-coding-standard': { repoUrl: 'https://github.com/mage-os/mageos-magento-coding-standard.git', ref: 'develop' }, 'magento2-functional-testing-framework': { repoUrl: 'https://github.com/mage-os/mageos-magento2-functional-testing-framework.git', ref: 'develop' }, 'magento-zend-db': { repoUrl: 'https://github.com/mage-os/mageos-magento-zend-db.git', ref: 'main' }, 'magento-zend-loader': { repoUrl: 'https://github.com/mage-os/mageos-magento-zend-loader.git', ref: 'main' }, 'magento-zend-pdf': { repoUrl: 'https://github.com/mage-os/mageos-magento-zend-pdf.git', ref: 'main' }, 'magento-zend-cache': { repoUrl: 'https://github.com/mage-os/mageos-magento-zend-cache.git', ref: 'main' }, 'magento-zend-exception': { repoUrl: 'https://github.com/mage-os/mageos-magento-zend-exception.git', ref: 'main' }, 'magento-zend-log': { repoUrl: 'https://github.com/mage-os/mageos-magento-zend-log.git', ref: 'main' }, 'magento-zend-memory': { repoUrl: 'https://github.com/mage-os/mageos-magento-zend-memory.git', ref: 'main' }, 'magento-zf-db': { repoUrl: 'https://github.com/mage-os/mageos-magento-zf-db.git', ref: '2.21.x' }, }; module.exports = { buildConfig: mergeBuildConfigs(packagesConfig, branchBuildConfig) };