The scope.json
is the scope's config file.
{ "name": "scope-name", "remotes": {}, "version": "1.0.172", "lanes": { "current": "main", "tracking": [] } }
The scope's name. Local scopes are named by their Workspace name.
When creating your own scope, the name
is set, by default, to the hosting directory:
cd my-scope bit init --bare
{ "name": "my-scope", "remotes": {}, "version": "1.0.172", "lanes": { "current": "main", "tracking": [] } }
The remotes
property holds the mapping of scope names and their corresponding URLs. This is primarily used to configure non Bit Cloud scopes in a workspace (e.g, bit remote add http://localhost:3001
)
{ "remotes": { "my-scope": "http://localhost:3002" } // .. }