The optional configuration for a workspace is defined in a file such as bw.workspace.json in its directory or in its package.json file.
You can set a workspace's alias(es) and the order sequence for its scripts.
{
alias?: string | string[],
scripts?: {
[script: string]: {
order?: number
}
}
}
path/to/your/workspace/bw.workspace.json
or
path/to/your/workspace/bw.workspace.jsonc
{
"alias": "myApp",
"scripts": {
"start": {
"order": 10
},
"test": {
"order": 20
}
}
}
path/to/your/workspace/package.json
{
"name": "@my-organization/my-application",
"description": "My app",
"version": "1.0.0",
"bw": {
"alias": "myApp",
"scripts": {
"start": {
"order": 10
},
"test": {
"order": 20
}
}
}
}