![]() |
[SOLVED] Only Update CI4 by Composer - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: [SOLVED] Only Update CI4 by Composer (/showthread.php?tid=77665) |
[SOLVED] Only Update CI4 by Composer - nc03061981 - 10-01-2020 My CI4 app have 2 packages: CI4 and Myth/Auth I want update --> Only CI4 <-- (composer update --no-dev) How I do it Here my composer.json Code: { Is it just delete "myth/auth":"^1.0@beta" ? RE: Only Update CI4 by Composer - captain-sensible - 10-01-2020 you can try : $ php composer.phar update codeigniter4/framework --no-dev // im on linux and have made a link so all i have to use is "composer" bash-5.0$ composer update codeigniter4/framework --no-dev Loading composer repositories with package information Updating dependencies Generating autoload files Generated autoload files containing 14 classes There are no updates i think 4.0.4 is latest so that seems to work //if you have a lot of additions such as bootstrap then you could edit composer.json but mistakes are likely to nbe made and could get messy. RE: Only Update CI4 by Composer - InsiteFX - 10-01-2020 Myth/Auth is in it's own module, outside of the changes in the readme that are made to Config/Validation/php and Config/Email.php all of these settings are listed in the Myth/Auth readme.md file in the Myth/Auth root folder. RE: Only Update CI4 by Composer - nc03061981 - 10-01-2020 (10-01-2020, 06:17 AM)captain-sensible Wrote: you can try : It work fine Thanks (10-01-2020, 06:29 AM)InsiteFX Wrote: Myth/Auth is in it's own module, outside of the changes in the readme that are made Thanks for more clearly RE: [SOLVED] Only Update CI4 by Composer - captain-sensible - 10-02-2020 your welcome |