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

Conversation

clydin
Copy link
Member

@clydin clydin commented Oct 1, 2020

See individual commits for details.

…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.
…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.
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 clydin added the target: major This PR is targeted for the next major release label Oct 1, 2020
…options

This change removes the previously repeated type definitions for the options of the NodeWorkflow class.
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Oct 2, 2020
@clydin clydin merged commit 34f769f into angular:master Oct 2, 2020
@clydin clydin deleted the schematics-node-workflow branch October 2, 2020 10:30
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants