File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ We will at least provide a new version of this package per Angular major. If nec
3434- Use version 18.1.x for Angular 18.1.x
3535- Use version 18.2.x for Angular 18.2.x
3636- Use version 19.x for Angular 19.x
37+ - Use version 20.x for Angular 20.x
3738
3839## Demo Repo
3940
Original file line number Diff line number Diff line change 11{
22 "name" : " @angular-architects/native-federation" ,
3- "version" : " 20.0.0 " ,
3+ "version" : " 20.0.1 " ,
44 "main" : " src/index.js" ,
55 "generators" : " ./collection.json" ,
66 "builders" : " ./builders.json" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {
1616
1717import { normalizeOptions } from '@angular-devkit/build-angular/src/builders/dev-server/options' ;
1818
19-
2019import { setLogLevel , logger } from '@softarc/native-federation/build' ;
2120
2221import { FederationOptions } from '@softarc/native-federation/build' ;
@@ -305,7 +304,9 @@ export async function* runBuilder(
305304 lastResult = output ;
306305
307306 if ( ! write && output [ 'outputFiles' ] ) {
308- memResults . add ( output [ 'outputFiles' ] . map ( ( file ) => new EsBuildResult ( file ) ) ) ;
307+ memResults . add (
308+ output [ 'outputFiles' ] . map ( ( file ) => new EsBuildResult ( file ) )
309+ ) ;
309310 }
310311
311312 if ( ! write && output [ 'assetFiles' ] ) {
Original file line number Diff line number Diff line change @@ -108,7 +108,11 @@ export default function config(options: MfSchematicSchema): Rule {
108108 const cand1 = path . join ( projectSourceRoot , 'app' , 'app.component.ts' ) ;
109109 const cand2 = path . join ( projectSourceRoot , 'app' , 'app.ts' ) ;
110110
111- const appComponent = tree . exists ( cand1 ) ? cand1 : tree . exists ( cand2 ) ? cand2 : 'update-this.ts' ;
111+ const appComponent = tree . exists ( cand1 )
112+ ? cand1
113+ : tree . exists ( cand2 )
114+ ? cand2
115+ : 'update-this.ts' ;
112116
113117 const generateRule = ! exists
114118 ? await generateFederationConfig (
You can’t perform that action at this time.
0 commit comments