Skip to content

Commit a65d9e8

Browse files
authored
Merge branch 'release/mage-os-2.0' into bundle/mage-os-module-theme-optimization
2 parents 8a8f636 + 59438d7 commit a65d9e8

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

resource/composer-templates/mage-os/product-community-edition/dependencies-template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
22
"dependencies": {
3+
"aligent/magento2-pci-4-compatibility": "https://github.com/aligent/magento2-pci-4-compatibility.git",
34
"creatuity/magento2-interceptors": "https://github.com/creatuity/magento2-interceptors.git",
45
"mage-os/inventory-metapackage": "https://github.com/mage-os/mageos-inventory.git",
6+
"mage-os/module-inventory-reservations-grid": "https://github.com/mage-os-lab/module-inventory-reservations-grid.git",
7+
"mage-os/module-meta-robots-tag": "https://github.com/mage-os/module-meta-robots-tag.git",
8+
"mage-os/module-page-builder-template-import-export": "https://github.com/mage-os-lab/module-pagebuilder-template-import-export.git",
9+
"mage-os/module-page-builder-widget": "https://github.com/mage-os-lab/module-page-builder-widget.git",
510
"mage-os/module-theme-optimization": "https://github.com/mage-os-lab/module-theme-optimization.git",
611
"mage-os/page-builder": "https://github.com/mage-os/mageos-magento2-page-builder.git",
712
"mage-os/security-package": "https://github.com/mage-os/mageos-security-package.git",

src/package-modules.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ async function createPackageForRef(instruction, package, release) {
229229
if (!excludes.includes('composer.json')) excludes.push('composer.json');
230230
if (!excludes.includes('.git/')) excludes.push('.git/');
231231

232+
package.composerJsonFile ??= package.composerJsonPath;
233+
232234
let magentoName = lastTwoDirs(package.dir) || '';
233235
const composerJson = await getComposerJson(instruction, package, release.ref);
234236

src/release-build-tools.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ function updateComposerConfigFromMagentoToMageOs(instruction, release, composerC
224224
async function prepPackageForRelease(instruction, package, release, workingCopyPath) {
225225
console.log(`Preparing ${package.label}`);
226226

227+
// Reset value in case it was set during history mirroring
228+
package.composerJsonFile = null;
229+
227230
const composerConfig = JSON.parse(await readComposerJson(instruction.repoUrl, package.dir, release.ref));
228231
updateComposerConfigFromMagentoToMageOs(instruction, release, composerConfig);
229232

0 commit comments

Comments
 (0)