getherbert / herbert

The WordPress Plugin Framework:
http://getherbert.com/
632 stars 94 forks source link

Managing plugin in main project composer.json when under Development. #78

Open jeremyzahner opened 9 years ago

jeremyzahner commented 9 years ago

For a project i use herbert with i am having the following situation:

My Problem: I need to add the plugin and its repo in the main projects composer.json so it gets deployed right onto the staging server. On the other hand i dont want composer to overwrite my local symlink every time i run composer update.

Is there a easy way for this? I assume that im not the first person having this issue. Im also aware that this is not necessarily a Herbert Issue.

Thanks for you best practices!

JacobDorman commented 8 years ago

Haven't been able to find an acceptable 'best-practice' solution to this problem with composer, but for a single plugin i'm using the following workaround:

It's not pretty, but it works for now.

jeremyzahner commented 8 years ago

@jasonagnew @onnimonni We should find a valuable best practice for this issue.