diff --git a/Documentation/Major/UpgradeCore.rst b/Documentation/Major/UpgradeCore.rst index 4b68b4f6..99666171 100644 --- a/Documentation/Major/UpgradeCore.rst +++ b/Documentation/Major/UpgradeCore.rst @@ -23,18 +23,18 @@ package and does not need to be installed for TYPO3 to work correctly. Prior to upgrading, check which packages are currently installed and make a note of them. -Running `composer info "typo3/*"` will output a list of all TYPO3 packages that +Running :bash:`composer info "typo3/*"` will output a list of all TYPO3 packages that are currently installed. -Running `composer require` --------------------------- +Running :bash:`composer require` +-------------------------------- -To upgrade a Composer package, run `composer require` with the package name and +To upgrade a Composer package, run :bash:`composer require` with the package name and version number. For example, to upgrade `typo3/cms-backend` run -`composer require typo3/cms-backend:^12.4`. +:bash:`composer require typo3/cms-backend:^12.4`. When upgrading to a new major release, each of TYPO3's packages will need to be upgraded. diff --git a/Documentation/Minor/Index.rst b/Documentation/Minor/Index.rst index 85d78d71..071b45b2 100644 --- a/Documentation/Minor/Index.rst +++ b/Documentation/Minor/Index.rst @@ -28,14 +28,14 @@ There are two ways to check if a patch/bugfix update is available for an install All supported versions of TYPO3 and their version numbers are published on `get.typo3.org `_. -Alternatively, running `composer outdated -m "typo3/*"` will present a list of any TYPO3 packages that have patch/bugfix updates. +Alternatively, running :bash:`composer outdated -m "typo3/*"` will present a list of any TYPO3 packages that have patch/bugfix updates. Execute the update ================== -To execute the update, run `composer update --with-all-dependencies "typo3/*"`. +To execute the update, run :bash:`composer update --with-all-dependencies "typo3/*"`. -This will update all TYPO3 packages, the `--with-all-dependencies` signals that any dependencies of TYPO3 should also be updated. +This will update all TYPO3 packages, the :bash:`--with-all-dependencies` signals that any dependencies of TYPO3 should also be updated. Post update =========== diff --git a/Documentation/UpgradingExtensions/Index.rst b/Documentation/UpgradingExtensions/Index.rst index adbc8ae8..2c90ac1f 100644 --- a/Documentation/UpgradingExtensions/Index.rst +++ b/Documentation/UpgradingExtensions/Index.rst @@ -8,21 +8,21 @@ Upgrading extensions List extensions --------------- -Like TYPO3's core, extensions are also composer packages. The `composer info` command will list all +Like TYPO3's core, extensions are also composer packages. The :bash:`composer info` command will list all extensions that are currently installed including their name and current version number. Check for updates ----------------- -To check if any extension upgrades are available, `composer outdated` can be used to display a list +To check if any extension upgrades are available, :bash:`composer outdated` can be used to display a list of packages that have updates along with their new version number. Upgrade an extension (minor) ---------------------------- -Minor upgrades of an extension can be done with the composer command `composer update vendor/packagename`. +Minor upgrades of an extension can be done with the composer command :bash:`composer update vendor/packagename`. Upgrade an extension (major) ---------------------------- -Major upgrades of an extension can be done with the composer command `composer require vendor/packagename:`. +Major upgrades of an extension can be done with the composer command :bash:`composer require vendor/packagename:`.