IDE Support
IntelliJ
TODO
VS Code
The Melos extension integrates Melos with VS Code.
melos.yaml
The extension provides validation and autocompletion of melos.yaml
and allows
you to run scripts through CodeLenses:
Melos scripts as tasks
Melos scripts are provided as VS Code tasks:
To configure a task that run a Melos script, use task type melos
:
// .vscode/tasks.json
{
"version": "2.0.0",
"tasks": [
{
"type": "melos",
"script": "test",
"label": "melos: test"
}
]
}
Commands
The following commands are available in the command palette:
Melos: Bootstrap
to runmelos bootstrap
Melos: Clean
to runmelos clean
Melos: Run script
to select and run a Melos scriptMelos: Show package graph
to show the package graph of the Melos workspace
Package graph
The dependency graph of packages in the Melos workspace can be viewed by running
the Melos: Show package graph
command.