Last active
August 29, 2015 14:19
-
-
Save aertmann/d147aded4191ed23bef4 to your computer and use it in GitHub Desktop.
TYPO3 Neos 1.2 – reset composer.json to avoid pulling in unstable versions of some sub dependency packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "typo3/neos-base-distribution", | |
"description": "TYPO3 Neos Base Distribution", | |
"license": "GPL-3.0+", | |
"config": { | |
"vendor-dir": "Packages/Libraries", | |
"bin-dir": "bin" | |
}, | |
"require": { | |
"typo3/neos": "1.2.*", | |
"typo3/neos-nodetypes": "1.2.*", | |
"typo3/neosdemotypo3org": "1.2.*", | |
"typo3/neos-kickstarter": "1.2.*", | |
"doctrine/migrations": "@dev", | |
"typo3/flow": "2.3.*" | |
}, | |
"require-dev": { | |
"typo3/buildessentials": "2.3.*", | |
"mikey179/vfsstream": "1.4.*", | |
"phpunit/phpunit": "4.3.*", | |
"flowpack/behat": "dev-master", | |
"typo3-ci/typo3flow": "dev-master" | |
}, | |
"suggest": { | |
"ext-pdo_sqlite": "For running functional tests out-of-the-box this is required" | |
}, | |
"scripts": { | |
"post-update-cmd": "TYPO3\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall", | |
"post-install-cmd": "TYPO3\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall", | |
"post-package-update": "TYPO3\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall", | |
"post-package-install": "TYPO3\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Require stable version of Flow | |
composer require --no-update "typo3/flow:2.3.*" | |
# Remove requirements of development versions of sub dependency packages | |
composer remove --no-update "typo3/typo3cr" | |
composer remove --no-update "typo3/typoscript" | |
composer remove --no-update "typo3/media" | |
composer remove --no-update "typo3/fluid" | |
composer remove --no-update "typo3/eel" | |
composer remove --no-update "typo3/party" | |
composer remove --no-update "typo3/kickstart" | |
# Clear composer cache to make sure it takes effect | |
composer clearcache | |
# Update Neos & Flow packages | |
composer update "typo3/*" | |
# Check that the stable versions (non "-dev") are installed for Neos/Flow packages | |
composer show -i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment