What problem does it solve?
Understand Nx workspaces and answer questions about the workspace structure, project configurations, available targets, and dependencies. It helps you quickly gather context before running commands, debugging failures, or planning changes in a multi-project repo.
Keep in mind that you might have to prefix commands with npx/pnpx/yarn if nx isn't installed globally. Check the lockfile to determine the package manager in use.
Core Features & Use Cases
- Read-only exploration of Nx workspaces to understand structure, project configuration, targets, and dependencies.
- Guidance on using Nx commands such as
nx show projects and nx show project to discover projects, targets, and plugin-driven config, with example filters and JSON output.
- Project configuration insights with
nx show project <name> --json and references to node_modules/nx/schemas/project-schema.json for full schema.
- Troubleshooting tips and command-prefix guidance to help you run tasks safely in the correct environment.
Quick Start
Ask nx-workspace to list all projects in the current workspace.