CodeIgniter Forums
Adding translations installs all dev packages - 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: Adding translations installs all dev packages (/showthread.php?tid=77366)



Adding translations installs all dev packages - Martin7483 - 08-22-2020

Hi all!

I'm getting up to speed with CI4 and want to install it using composer and the --no-dev option. No problem doing that.

But when I install the translation package, all the dev packages are then also installed.

Could we get a fix so that we can install translations with the --no-dev option

Or am I maybe missing a piece of the puzzle?

Thanks!


RE: Adding translations installs all dev packages - jreklund - 08-22-2020

Hi, you install it like this.

Code:
composer require --update-no-dev codeigniter4/translations

https://getcomposer.org/doc/03-cli.md#require


RE: Adding translations installs all dev packages - Martin7483 - 08-22-2020

(08-22-2020, 02:59 AM)jreklund Wrote: Hi, you install it like this.

Code:
composer require --update-no-dev codeigniter4/translations

https://getcomposer.org/doc/03-cli.md#require

Thank you!