Repository navigation
v3.1.0
Added
mage lint: Check the code of a module or theme with the Hyvä coding standard, and fix what it can with--fix.
It installs the coding standard on your machine, or runs another phpcs set in the config, such as the docker wrappers of Hyvä.mage test: Run the test actions of the project, the shell commands listed in itsmage.config.json, and offer to create one that runsmage lintonapp/code.
Actions that remove, move or write files, such asrm,mvor a>redirect, are blocked.
Themage.config.jsonis part of the project, so the team shares it.mage build: Without a target, builds thebuild.themesof themage.config.jsonin the project, instead of every theme.mage add <file>.json: Composer fragments take areplace, merged into thereplaceofcomposer.json.mage add <file>.json,mage add hyva,mage add storeinfo: The option--keep-wildcardrequires a*constraint as is, instead of as the latest version.
Changed
mage create: On Mage-OS, applies the newcomposer-mage-os.jsontemplate, which replacesmage-os/module-passkey-authandmage-os/module-theme-optimization, so they are never installed.
Fixed
- Templates: A template missing from the templates an older mage synced, such as
mage.config.json, now syncs them again instead of failing. mage watch: The cache-clean of the project is run as an executable, as Composer installsvendor/bin/cache-clean.jsas a shell wrapper, which failed with aSyntaxErrorwhen run with node.mage setup: Disabling two factor auth no longer fails on Mage-OS projects that still have the passkeys.
MageOS_PasskeyAuthdepends onMagento_TwoFactorAuth, so it is now part ofMAGE_DISABLE_MODULESand disabled along with it.mage add <file>.json: A*constraint inrequireorrequire-devlets composer pick the latest version, socomposer.jsongets^x.y.zinstead of*.
This fixesmage add hyvaandmage add storeinfo.
Full Changelog: 3.0.1...3.1.0