ivy

Should Git be used to store continuous integration builds?

感情迁移 提交于 2021-02-07 12:19:44
问题 In an environment where multiple builds (release candidate packages) can be created daily but only one a month gets promoted to production, I think storing every build in Git would be wasteful but there should be a short term location that the last few builds are published. I'm currently publishing these to a shared directory. I have see IVY used for this sort of binary publishing in the past. Git seems like overkill as it would bloat due to it's model of never delete anything. Is there an

Should Git be used to store continuous integration builds?

删除回忆录丶 提交于 2021-02-07 12:15:34
问题 In an environment where multiple builds (release candidate packages) can be created daily but only one a month gets promoted to production, I think storing every build in Git would be wasteful but there should be a short term location that the last few builds are published. I'm currently publishing these to a shared directory. I have see IVY used for this sort of binary publishing in the past. Git seems like overkill as it would bloat due to it's model of never delete anything. Is there an

Should Git be used to store continuous integration builds?

…衆ロ難τιáo~ 提交于 2021-02-07 12:15:16
问题 In an environment where multiple builds (release candidate packages) can be created daily but only one a month gets promoted to production, I think storing every build in Git would be wasteful but there should be a short term location that the last few builds are published. I'm currently publishing these to a shared directory. I have see IVY used for this sort of binary publishing in the past. Git seems like overkill as it would bloat due to it's model of never delete anything. Is there an

Check for packages latest version in Ivy

假装没事ソ 提交于 2021-01-28 12:12:51
问题 We use Ivy for dependency management. In order to guarantee stability and traceability, we fix version numbers for all dependencies in our ivy files, plus we use transitive=false to avoid dependency trees to grow uncontrolled. The second has only the disadvantage that it may require a few tests to complete the ivy file. Since we fix version numbers, we don't get updated about the existence of a later version of a package. What we don't want is to get the freshest version of a dependency at

Angular 9 - NGCC fails with an unhandled exception

浪子不回头ぞ 提交于 2020-08-21 06:12:34
问题 Buidling the application after having upgraded dependcies to Angular 9 (and having performed necessary code changes) throws an error: Compiling @angular/animations : es2015 as esm2015 Compiling @angular/animations : es2015 as esm2015 Compiling @angular/core : es2015 as esm2015 Compiling @angular/core : es2015 as esm2015 Compiling @angular/core : es2015 as esm2015 Error : Error on worker #5: TypeError: Cannot read property 'fileName' of null It then goes on to throw the below error: Compiling

Angular 9 Ivy - Generic type 'ɵɵFactoryDef' requires 2 type argument(s)

和自甴很熟 提交于 2020-07-06 05:31:16
问题 Looks like Angular Ivy not ready yet. I'm trying to build my project using ivy which is the main idea for Angular 9. Many of libraries are not compatible with this feature, one of these library is @angular/flex-layout . Material and service-worker have the same problem as well. After using ng build --prod --aot -c=production script to build my project I got: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@angular/flex-layout/core/typings/media-trigger/media-trigger.d.ts:71:18 - error TS2314:

Angular 9 Ivy - Generic type 'ɵɵFactoryDef' requires 2 type argument(s)

早过忘川 提交于 2020-07-06 05:30:41
问题 Looks like Angular Ivy not ready yet. I'm trying to build my project using ivy which is the main idea for Angular 9. Many of libraries are not compatible with this feature, one of these library is @angular/flex-layout . Material and service-worker have the same problem as well. After using ng build --prod --aot -c=production script to build my project I got: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@angular/flex-layout/core/typings/media-trigger/media-trigger.d.ts:71:18 - error TS2314:

MatDialog stopped working after updating Angular to version 9

依然范特西╮ 提交于 2020-06-28 09:38:50
问题 I had an angular project which I upgraded from 7.2 to 9 following the https://update.angular.io/#7.2:9.0 Post upgrade everything except MatDialog is working. Opening the dialog shows an empty popup of disproportionate size with the following error in the console. core.js:3866 ERROR Error: Uncaught (in promise): TypeError: Cannot read property "hasAttached" of undefined TypeError: Cannot read property "hasAttached" of undefined at MatDialogContainer.push../node_modules/@angular/material/esm5

How do you load a dynamic module by variable in Angular 9?

喜你入骨 提交于 2020-06-26 07:38:50
问题 I have the following code to load a module dynamically: export class DynamicQuestionComponent { constructor( private componentFactoryResolver: ComponentFactoryResolver, private viewContainerRef: ViewContainerRef ) {} @Input() form: FormBase; @Input() formgroup: FormGroup; @ViewChild('content', { read: ViewContainerRef, static: true }) content: ViewContainerRef; @Input() set question(qvalue){ if (qvalue){ this.content.clear(); var compath = `./${qvalue.qType}-question.component`; var testpath