Skip to content

feat(schematics/lib): add directory option for lib and app schematics #86

@jschwarty

Description

@jschwarty

Add an option to the lib and app schematics to provide the directory where it will be created. Example:

ng g lib myLib --directory=libs/helpers

ng g lib generalUI --directory=libs/shared-components

This would allow users to create nested folder structures for their libs and apps.

Schematic would need to use the directory value for the file locations and use it in conjunction with the sourceDir when setting the root property of the app in the .angular-cli.json file.

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