Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schematics CLI Refactoring #18945

Merged
merged 5 commits into from
Oct 2, 2020
Merged

Commits on Oct 1, 2020

  1. feat(@angular-devkit/schematics): allow using a root path with NodeWo…

    …rkflow
    
    This change allows the creation of a NodeWorkflow class with a path string instead of requiring a fully configured filesystem host object.  This reduces the amount of code necessary to setup a schematics runtime for common cases.
    clydin committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    efba14a View commit details
    Browse the repository at this point in the history
  2. feat(@angular-devkit/schematics): support schema validation in NodeWo…

    …rkflow
    
    This change provides an additional NodeWorkflow option `schemaValidation`.  When enabled, this new option will setup schema-based validation of a schematics options prior to schematic execution.  The schema registry provided with the NodeWorkflow is used to perform the validation.  This new option removes the need to manually configure validation of schematic options when initializing a schematic runtime.
    clydin committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    12916f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2032d6 View commit details
    Browse the repository at this point in the history
  4. refactor(@angular-devkit/schematics-cli): use new NodeWorkflow features

    This change reduces the amount of schematic runtime setup code by leveraging the new options for the root path and schema validation in the NodeWorkflow class.
    clydin committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    506174b View commit details
    Browse the repository at this point in the history
  5. refactor(@angular-devkit/schematics): use interface for NodeWorkflow …

    …options
    
    This change removes the previously repeated type definitions for the options of the NodeWorkflow class.
    clydin committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    9a784c3 View commit details
    Browse the repository at this point in the history