Skip to content
This repository was archived by the owner on Apr 9, 2022. It is now read-only.

App root schematics #149

Merged
merged 2 commits into from
Sep 14, 2017
Merged

App root schematics #149

merged 2 commits into from
Sep 14, 2017

Conversation

hansl
Copy link
Contributor

@hansl hansl commented Sep 14, 2017

No description provided.

hansl added a commit to hansl/angular-cli that referenced this pull request Sep 14, 2017
@@ -11,6 +11,10 @@
"type": "string",
"default": "app"
},
"appRoot": {
"type": "string",
"default": "app"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't have a default to ensure backwards compatibility with CLI versions that aren't sending the appRoot options.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

When creating schematics with names that are paths, the path option
is the path to create the schematic into. we need to app root to discover
the module.
@hansl hansl force-pushed the app-root-schematics branch from 20aeee5 to e0ea4ff Compare September 14, 2017 20:07
@hansl hansl merged commit 25b318e into angular:master Sep 14, 2017
Brocco pushed a commit to angular/angular-cli that referenced this pull request Sep 20, 2017
Brocco pushed a commit to angular/angular-cli that referenced this pull request Sep 22, 2017
Brocco pushed a commit to angular/angular-cli that referenced this pull request Sep 22, 2017
dond2clouds pushed a commit to d2clouds/speedray-cli that referenced this pull request Apr 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants