Rush StackShopBlogEvents
Skip to main content

cobuild.json (experimental)

This is the template that rush init generates for the cobuild feature.


* This configuration file manages Rush's cobuild feature.
* More documentation is available on the Rush website:
"$schema": "",

* (Required) EXPERIMENTAL - Set this to true to enable the cobuild feature.
* RUSH_COBUILD_CONTEXT_ID should always be specified as an environment variable with an non-empty string,
* otherwise the cobuild feature will be disabled.
"cobuildFeatureEnabled": false,

* (Required) Choose where cobuild lock will be acquired.
* The lock provider is registered by the rush plugins.
* For example, @rushstack/rush-redis-cobuild-plugin registers the "redis" lock provider.
"cobuildLockProvider": "redis"

See also