When running in an angular workspace, the ng-add command can recognize the proper project for the modifications of the angular.json file.
But for the env.d.ts file, this is only a use of src folder, which makes that you have to move the file.
The following move function could use the project path :
Hello,
When running in an angular workspace, the ng-add command can recognize the proper
project
for the modifications of theangular.json
file. But for theenv.d.ts
file, this is only a use of src folder, which makes that you have to move the file.The following
move
function could use the project path :This can be helpful when we want to call the schematics from another schematics with
externalSchematic
method, giving the project as argument :Cheers !