When running ng generate ngx-cli-toolkit:update-schematic foo the generator sometimes cannot locate the project package.json
I tested it with the following setup
projects/
├─ ui/
│ ├─ schematics/
│ │ ├─ ng-update/
│ │ │ ├─ migrations/
│ │ │ │ ├─ v4/
│ │ ├─ migrations.json
│ ├─ package.json
Execution in
Does work. Also in
projects/
├─ ui/
│ ├─ schematics/
│ │ ├─ ng-update/
│ │ │ ├─ migrations/
But as soon as I am in the v4 directory I get
Could not locate package.json based on path /projects/ui/schematics/ng-update/v4
When running
ng generate ngx-cli-toolkit:update-schematic foothe generator sometimes cannot locate the project package.jsonI tested it with the following setup
Execution in
Does work. Also in
But as soon as I am in the
v4directory I get