Sets the project in the workspace that is being actively worked on.
This project is used as the default when running various commands and when using the Run Project Status Bar button.
Building Projects:
There are two ways to build all projects in the workspace:
Note: To run this command, the root package.json file needs a script with the same name as the RUN SCRIPT setting.
Package Management
Package Manager Selector:
Sets the Package Manager to use in the current workspace.
This is the package manager used when installing packages or when using the build/run commands.
Install Package(s):
This Status Bar button will open a QuickPick to:
Install all workspace packages
Select a project and search for an npm package to install as a dependency or devDependency
Monorepo Tree
Features
View internal monorepo dependencies
Install all project dependencies
Install dependency into specific project
Build all projects
Run specific project
Shortcut to project's package.json file
Highlight current active project
Script Annotations
Add user defined annotations to package.json file scripts
Annotations are stored in the ANNOTATIONS setting.
Note: Editor Code Lens must be enabled in VS Code settings for the annotations to appear.
Other Tools
Button to show the terminal panel:
Button to toggle the bottom panel visibility:
Settings
Name
ID
Description
Type
Default
Package Manager
MonorepoTools.packageManager
The Package Manager to use when running scripts.
Options
npmpnpmbun
npm
Run Script Name
MonorepoTools.runScriptName
The name of the script to use when building applications.
String
dev
Build Script Name
MonorepoTools.buildScriptName
The name of the script to use when running applications locally.
String
build
Annotations
MonorepoTools.annotations
List of script names and their descriptions.
Used to display as inline file annotations in the package.json file.
List
Item
name of the script
Value
description of the script
dev
run application in dev mode
build
build application for production mode
Hide Annotations
MonorepoTools.hideAnnotations
Determines if the package.json file annotations should be hidden.