updated dev composer.json dependencies
also removed composer plugin and added it to requirements
this way the plugin is recognized by composer. would not work otherwise.
setting the repo type to yii2-extension also allows us to run composer
plugin and let it handle the extensions in this package
Showing
... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
"description": "Yii2 Web Programming Framework - Development Package", | "description": "Yii2 Web Programming Framework - Development Package", | ||
"keywords": ["yii", "framework"], | "keywords": ["yii", "framework"], | ||
"homepage": "http://www.yiiframework.com/", | "homepage": "http://www.yiiframework.com/", | ||
"type": "library", | "type": "yii2-extension", | ||
"license": "BSD-3-Clause", | "license": "BSD-3-Clause", | ||
"authors": [ | "authors": [ | ||
{ | { | ||
... | @@ -65,7 +65,6 @@ | ... | @@ -65,7 +65,6 @@ |
}, | }, | ||
"replace": { | "replace": { | ||
"yiisoft/yii2-bootstrap": "self.version", | "yiisoft/yii2-bootstrap": "self.version", | ||
"yiisoft/yii2-composer": "self.version", | |||
"yiisoft/yii2-debug": "self.version", | "yiisoft/yii2-debug": "self.version", | ||
"yiisoft/yii2-gii": "self.version", | "yiisoft/yii2-gii": "self.version", | ||
"yiisoft/yii2-jui": "self.version", | "yiisoft/yii2-jui": "self.version", | ||
... | @@ -79,14 +78,18 @@ | ... | @@ -79,14 +78,18 @@ |
"ext-mbstring": "*", | "ext-mbstring": "*", | ||
"lib-pcre": "*", | "lib-pcre": "*", | ||
"yiisoft/jquery": "1.10.*", | "yiisoft/jquery": "1.10.*", | ||
"yiisoft/yii2-composer": "self.version", | |||
"phpspec/php-diff": ">=1.0.2", | "phpspec/php-diff": ">=1.0.2", | ||
"ezyang/htmlpurifier": "4.5.*", | "ezyang/htmlpurifier": "4.5.*", | ||
"michelf/php-markdown": "1.3.*" | "michelf/php-markdown": "1.3.*", | ||
"twbs/bootstrap": "3.0.*", | |||
"smarty/smarty": "*", | |||
"swiftmailer/swiftmailer": "*", | |||
"twig/twig": "*" | |||
}, | }, | ||
"autoload": { | "autoload": { | ||
"psr-0": { | "psr-0": { | ||
"yii\\bootstrap": "/extensions/bootstrap/", | "yii\\bootstrap": "/extensions/bootstrap/", | ||
"yii\\composer": "/extensions/composer/", | |||
"yii\\debug": "/extensions/debug/", | "yii\\debug": "/extensions/debug/", | ||
"yii\\gii": "/extensions/gii/", | "yii\\gii": "/extensions/gii/", | ||
"yii\\jui": "/extensions/jui/", | "yii\\jui": "/extensions/jui/", | ||
... | ... |
Please
register
or
sign in
to comment