Skip to main content

update_dev_dependencies

Configuration

name: update_dev_dependencies
type: int
default: 1
{
"name": "company/project",
"extra": {
"violinist": {
"update_dev_dependencies": 1
}
}
}

Indicate whether or not you want Violinist to also update your dev dependencies. The default behavior is to also update these.

Explanation

If you have a project where you for some reason do not want to update your dev dependencies, you can use this option.

Example

Say you wanted to avoid updating all of your dev dependencies. And say your composer.json looked something like this:

{
"name": "company/project",
"description": "My awesome project",
"require": {
"vendor/package": "~1.0.0",
},
"require-dev": {
"vendor/dev-package": "*",
"vendor/dev-package2": "*",
"vendor/dev-package3": "*"
}
}

To make Violinist stop updating your dev dependencies, you simply add the following to your composer.json:

{
"name": "company/project",
"description": "My awesome project",
"require": {
"vendor/package": "~1.0.0",
},
"require-dev": {
"vendor/dev-package": "*",
"vendor/dev-package2": "*",
"vendor/dev-package3": "*"
},
"extra": {
"violinist": {
"update_dev_dependencies": 0
}
}
}