Skip to content

Commit 649814e

Browse files
rhoerrdadolun95SamueleMartinimage-os-ci
authored
Mage-OS 2.0 release (#259)
* Bundle aligent/magento2-pci-4-compatibility (#239) * Bundle mage-os/module-meta-robots-tag (#244) * Bundle mage-os/meta-robots-tag * Fixed composer package name based on latest changes * Bundle mage-os/module-inventory-reservations-grid (#241) * Bundle mage-os/module-pagebuilder-template-import-export (#230) * Update dependencies-template.json with pagebuilder enhancements * Add mage-os pagebuilder import/export and cms widget component modules to dependencies-template.json * Update dependencies-template.json * Fix wrong dependency git repos using https * Changed PR to just mage-os/module-pagebuilder-template-import-export --------- Co-authored-by: Ryan Hoerr <[email protected]> * Bundle mage-os/module-page-builder-widget (#243) * Fix magento2-base build error for new releases (#247) * Bundle mage-os/module-theme-optimization (#242) * Bundle mage-os/module-automatic-translation (#231) * Add SEO meta robots module "mage-os/meta-robots-tag" * Add automatica translation with AI module * Changed PR to just mage-os/module-automatic-translation --------- Co-authored-by: Ryan Hoerr <[email protected]> * Changed mage-os-lab references to mage-os * Fix magento2-base composer map of tiny_mce_6 to hugerte (#258) --------- Co-authored-by: dadolun95 <[email protected]> Co-authored-by: SamueleMartini <[email protected]> Co-authored-by: Mage-OS <[email protected]>
1 parent 2e93ee9 commit 649814e

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

resource/composer-templates/mage-os/magento2-base/template.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@
367367
"lib/web/fotorama",
368368
"lib/web/fotorama"
369369
],
370+
[
371+
"lib/web/hugerte",
372+
"lib/web/hugerte"
373+
],
370374
[
371375
"lib/web/i18n",
372376
"lib/web/i18n"
@@ -443,10 +447,6 @@
443447
"lib/web/spacer.gif",
444448
"lib/web/spacer.gif"
445449
],
446-
[
447-
"lib/web/tiny_mce_6",
448-
"lib/web/tiny_mce_6"
449-
],
450450
[
451451
"lib/web/underscore.js",
452452
"lib/web/underscore.js"
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
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-automatic-translation": "https://github.com/mage-os/module-automatic-translation.git",
7+
"mage-os/module-inventory-reservations-grid": "https://github.com/mage-os/module-inventory-reservations-grid.git",
8+
"mage-os/module-meta-robots-tag": "https://github.com/mage-os/module-meta-robots-tag.git",
9+
"mage-os/module-page-builder-template-import-export": "https://github.com/mage-os/module-pagebuilder-template-import-export.git",
10+
"mage-os/module-page-builder-widget": "https://github.com/mage-os/module-page-builder-widget.git",
11+
"mage-os/module-theme-optimization": "https://github.com/mage-os/module-theme-optimization.git",
512
"mage-os/page-builder": "https://github.com/mage-os/mageos-magento2-page-builder.git",
613
"mage-os/security-package": "https://github.com/mage-os/mageos-security-package.git",
7-
"mage-os/theme-adminhtml-m137": "https://github.com/mage-os-lab/theme-adminhtml-m137.git"
14+
"mage-os/theme-adminhtml-m137": "https://github.com/mage-os/theme-adminhtml-m137.git"
815
}
916
}

src/package-modules.js

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

256+
package.composerJsonFile ??= package.composerJsonPath;
257+
256258
let magentoName = lastTwoDirs(package.dir) || '';
257259
const composerJson = await getComposerJson(instruction, package, release.ref);
258260

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)