Skip to content

Update application generator to register targetDefaults #67

@tbinna

Description

@tbinna

Update the application generator to register targetDefaults. This should help to remove target definitions where the targets are configured with the default values.

Refer to the targetDefaults reference docs for details on how to define target defaults. For example, we can use placeholder tokens such as {workspaceRoot} and {projectRoot} to define outputs.

Refer to the node application generator for an example of how to do this: https://github.com/nrwl/nx/blob/6485e3cc4adcd646628693d65d9053d076b7575a/packages/node/src/generators/application/application.ts#L169

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions