workspacejson
workspacejson is a configuration file used by some monorepo tooling to describe the structure and buildable components within a workspace. It stores project definitions and the tasks that can be run for each project, such as building, testing, linting, and packaging. The file is typically named workspace.json or workspace.jsonc (JSON with optional comments) and is placed at the repository root.
In a workspace.json, the workspace is represented as a collection of projects. Each project contains metadata
The file is often used in conjunction with other configuration files (for example, nx.json or project.json in
{
"sourceRoot": "apps/my-app/src",
"build": { "executor": "@nrwl/node:build", "options": { "outputPath": "dist/apps/my-app" } }
}
}
}
}
Notes: workspacejson is tool- and version-specific; exact schemas and field names may vary across ecosystems.