slince / composer-registry-manager

:hammer_and_wrench: :hammer: Composer registry manager that help to easily switch to the composer repository you want.
MIT License
555 stars 49 forks source link

升级版本之后,原有添加的 registry 丢失 #3

Closed lifesign closed 7 years ago

lifesign commented 7 years ago

RT

slince commented 7 years ago

crm默认存储在包下面的crm.json里,升级之后会覆盖掉,下一步计划配置文件迁移出去,0.o

ps:有啥好方案不 ?

lifesign commented 7 years ago

把配置文件放用户目录下? 类似 .crm.config 之类的

slince commented 7 years ago

windows在 `C:\Users\用户名下\AppData\Roaming\ComposerRegistryManager\crm.json``

linux在~/.config/composer-registry-manager/crm.json

$ composer global remove   slince/crm
$ composer global require slince/composer-registry-manager
lifesign commented 7 years ago

👍