Run schematic task in child directory. #12915
Labels
area: @angular-devkit/schematics
feature: insufficient votes
Label to add when the not a sufficient number of votes or comments from unique authors
feature
Issue that requests a new feature
Milestone
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
node: v8.12.0
npm: 6.4.1
Angular CLI: 7.0.4
OS: win32 x64 (OS Build 14393.2551)
Repro steps
Desired functionality
I believe that it would be useful to be able to execute a schematic task from the child directory. Currently,
new RunSchematicTask
generates aHostTree
from the current host and transfers theparentContext
.It would be useful for a case such as running a schematic in
ng-new
as a task that installs dependencies and calls_readPackageJson
which relies on an absolute path for thepackage.json
.The text was updated successfully, but these errors were encountered: