Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,10 @@
"lib/web/fotorama",
"lib/web/fotorama"
],
[
"lib/web/hugerte",
"lib/web/hugerte"
],
[
"lib/web/i18n",
"lib/web/i18n"
Expand Down Expand Up @@ -443,10 +447,6 @@
"lib/web/spacer.gif",
"lib/web/spacer.gif"
],
[
"lib/web/tiny_mce_6",
"lib/web/tiny_mce_6"
],
[
"lib/web/underscore.js",
"lib/web/underscore.js"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"dependencies": {
"aligent/magento2-pci-4-compatibility": "https://github.com/aligent/magento2-pci-4-compatibility.git",
"creatuity/magento2-interceptors": "https://github.com/creatuity/magento2-interceptors.git",
"mage-os/inventory-metapackage": "https://github.com/mage-os/mageos-inventory.git",
"mage-os/module-automatic-translation": "https://github.com/mage-os/module-automatic-translation.git",
"mage-os/module-inventory-reservations-grid": "https://github.com/mage-os/module-inventory-reservations-grid.git",
"mage-os/module-meta-robots-tag": "https://github.com/mage-os/module-meta-robots-tag.git",
"mage-os/module-page-builder-template-import-export": "https://github.com/mage-os/module-pagebuilder-template-import-export.git",
"mage-os/module-page-builder-widget": "https://github.com/mage-os/module-page-builder-widget.git",
"mage-os/module-theme-optimization": "https://github.com/mage-os/module-theme-optimization.git",
"mage-os/page-builder": "https://github.com/mage-os/mageos-magento2-page-builder.git",
"mage-os/security-package": "https://github.com/mage-os/mageos-security-package.git",
"mage-os/theme-adminhtml-m137": "https://github.com/mage-os-lab/theme-adminhtml-m137.git"
"mage-os/theme-adminhtml-m137": "https://github.com/mage-os/theme-adminhtml-m137.git"
}
}
2 changes: 2 additions & 0 deletions src/package-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ async function createPackageForRef(instruction, package, release) {
if (!excludes.includes('composer.json')) excludes.push('composer.json');
if (!excludes.includes('.git/')) excludes.push('.git/');

package.composerJsonFile ??= package.composerJsonPath;

let magentoName = lastTwoDirs(package.dir) || '';
const composerJson = await getComposerJson(instruction, package, release.ref);

Expand Down
3 changes: 3 additions & 0 deletions src/release-build-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ function updateComposerConfigFromMagentoToMageOs(instruction, release, composerC
async function prepPackageForRelease(instruction, package, release, workingCopyPath) {
console.log(`Preparing ${package.label}`);

// Reset value in case it was set during history mirroring
package.composerJsonFile = null;

const composerConfig = JSON.parse(await readComposerJson(instruction.repoUrl, package.dir, release.ref));
updateComposerConfigFromMagentoToMageOs(instruction, release, composerConfig);

Expand Down
Loading