Skip to content

target name with a colon not showing inputs correctly #33710

@lourd

Description

@lourd

Current Behavior

I have a project in my monorepo that has a target named test:integration. I was trying to debug some caching misses and was confused that it was showing as having no inputs. When I changed the named to test-integration, dropping the :, the inputs showed up as expected. Nothing else changed in my configuration in between these two screenshots

Image Image

Expected Behavior

Targets with a colon in the name should show their inputs like any other target name

GitHub Repo

No response

Steps to Reproduce

  1. Create a target with a colon in the name
  2. Open it in nx graph
  3. See that it doesn't show any inputs

Nx Report

Node           : 22.14.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.9.2

nx             : 22.1.3
@nx/js         : 22.1.3
@nx/workspace  : 22.1.3
@nx/devkit     : 22.1.3
typescript     : 5.9.2

Failure Logs

Package Manager Version

pnpm 10.11.0

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions