laravel-packager icon indicating copy to clipboard operation
laravel-packager copied to clipboard

Added ability to change composer.json filename

Open zlodes opened this issue 6 years ago • 6 comments

We are using composer merge plugin and store local repositories and dependencies (for package development) into composer.dev.json.

This patch will add ability to change the composer.json filename via config.

zlodes avatar Oct 08 '19 12:10 zlodes

Cool, thanks! Are you able to write a test for using this with/without a custom composer file?

Jeroen-G avatar Oct 08 '19 13:10 Jeroen-G

Yeap, I can. I'll do it tomorrow.

zlodes avatar Oct 08 '19 15:10 zlodes

@Jeroen-G added tests

zlodes avatar Oct 14 '19 16:10 zlodes

🌚

zlodes avatar Oct 25 '19 12:10 zlodes

Ok, so help me here: why should one want to change the filename of composer.json to somethingElse.json?

Jeroen-G avatar Oct 30 '19 18:10 Jeroen-G

Ok, so help me here: why should one want to change the filename of composer.json to somethingElse.json?

I wrote about this in the first message: it will be useful with merge plugin by wikimedia: https://github.com/wikimedia/composer-merge-plugin.

Sometimes we doesn't want to foul up our composer.json file. I use composer.dev.json (vcs-ignored) whom will be merged with original composer.json via merge plugin.

zlodes avatar Nov 03 '19 16:11 zlodes