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
34
34
- Use version 18.1.x for Angular 18.1.x
35
35
- Use version 18.2.x for Angular 18.2.x
36
36
- Use version 19.x for Angular 19.x
37
+ - Use version 20.x for Angular 20.x
37
38
38
39
## Demo Repo
39
40
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @angular-architects/native-federation" ,
3
- "version" : " 20.0.0 " ,
3
+ "version" : " 20.0.1 " ,
4
4
"main" : " src/index.js" ,
5
5
"generators" : " ./collection.json" ,
6
6
"builders" : " ./builders.json" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {
16
16
17
17
import { normalizeOptions } from '@angular-devkit/build-angular/src/builders/dev-server/options' ;
18
18
19
-
20
19
import { setLogLevel , logger } from '@softarc/native-federation/build' ;
21
20
22
21
import { FederationOptions } from '@softarc/native-federation/build' ;
@@ -305,7 +304,9 @@ export async function* runBuilder(
305
304
lastResult = output ;
306
305
307
306
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
+ ) ;
309
310
}
310
311
311
312
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 {
108
108
const cand1 = path . join ( projectSourceRoot , 'app' , 'app.component.ts' ) ;
109
109
const cand2 = path . join ( projectSourceRoot , 'app' , 'app.ts' ) ;
110
110
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' ;
112
116
113
117
const generateRule = ! exists
114
118
? await generateFederationConfig (
You can’t perform that action at this time.
0 commit comments