Regression: ng-add @nativescript/schematics doesn't work with @angular/[email protected] or -beta.2 #11174
Labels
area: @angular/cli
area: @angular-devkit/schematics
freq3: high
P0
Issue that causes an outage, breakage, or major function to be unusable, with no known workarounds
severity5: regression
Bug Report or Feature Request (mark with an
x
)Area
Versions
@angular/[email protected] - not working
@angular/[email protected] - works OK
Repro steps
run the following commands
with
@angular/[email protected]
with
@angular/[email protected]
The proj608, will contain the
App_Resources
folder with a bunch of filesThe proj610, will be missing the
App_Resources
folder.The code that calls
App_Resources
is located here:https://github.com/NativeScript/nativescript-schematics/blob/master/src/add-ns/index.ts#L130-L135
Which then calls this simple schematic:
https://github.com/NativeScript/nativescript-schematics/blob/master/src/app-resources/index.ts
I have a feeling that the last
mergeWith
that executes in the schematics chain erases all the previous ones:https://github.com/NativeScript/nativescript-schematics/blob/master/src/add-ns/index.ts#L199
The log given by the failure
Desired functionality
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: