Skip to content

The option --target should be available for both :libs and :apps #1830

@dianjuar

Description

@dianjuar

Please make sure you have read the submission guidelines before posting an issue

Expected Behavior

The parameter --target is not present on affected:libs or affected:apps. It exists for all the stuff in your workspace nx affected --target=deploy but is going "deploy" my apps and libraries and if I want only deploy my libraries and I can't do that.

The option --target should available for both :libs and :apps

Current Behavior

When I run nx affected:libs --target=deploy or nx affected:apps --target=deploy

image

And nothing more happens. Should run the deploy architect of my libraries or apps

Steps to Reproduce

For projects

  1. run nx affected:apps --target=deploy

For libraries

  1. Have a library in your workspace
  2. run nx affected:libs --target=deploy

Context

  • version of Nx used
    • 8.5.0

Other

I'm trying to use a new feature of the Angular CLI, ng deploy to only deploy the libraries with ngx-deploy-npm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions