Skip to content
Prev Previous commit
Next Next commit
refactor(devtools): Migrate with the schematic.
All components, directives and pipes will now use standalone as default. Non-standalone decorators have now .
  • Loading branch information
JeanMeche committed Oct 12, 2024
commit 494ecc2f369bb42dc606a709119bbc63c12590ee
1 change: 1 addition & 0 deletions devtools/projects/demo-no-zone/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {ChangeDetectorRef, Component} from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
standalone: false,
})
export class AppComponent {
counter = 0;
Expand Down
1 change: 1 addition & 0 deletions devtools/projects/shell-browser/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {Events, MessageBus} from 'protocol';
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
standalone: false,
})
export class AppComponent implements OnInit {
private _cd = inject(ChangeDetectorRef);
Expand Down
1 change: 1 addition & 0 deletions devtools/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {Router} from '@angular/router';
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
standalone: false,
})
export class AppComponent {
constructor(public router: Router) {}
Expand Down
1 change: 1 addition & 0 deletions devtools/src/app/demo-app/demo-app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {ZippyComponent} from './zippy.component';
templateUrl: './demo-app.component.html',
styleUrls: ['./demo-app.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false,
})
export class DemoAppComponent {
@ViewChild(ZippyComponent) zippy!: ZippyComponent;
Expand Down
1 change: 1 addition & 0 deletions devtools/src/app/demo-app/heavy.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const fib = (n: number): number => {
selector: 'app-heavy',
templateUrl: './heavy.component.html',
styleUrls: ['./heavy.component.scss'],
standalone: false,
})
export class HeavyComponent {
@Input()
Expand Down
1 change: 1 addition & 0 deletions devtools/src/app/demo-app/sample-properties.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {SampleService} from './sample.service';
selector: 'app-sample-properties',
template: '',
styles: [''],
standalone: false,
})
export class SamplePropertiesComponent {
@ViewChild('elementReference') elementRef!: ElementRef;
Expand Down
1 change: 1 addition & 0 deletions devtools/src/app/demo-app/todo/app-todo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class MyServiceA {}
templateUrl: './app-todo.component.html',
styleUrls: ['./app-todo.component.scss'],
viewProviders: [MyServiceA],
standalone: false,
})
export class AppTodoComponent {
name!: string;
Expand Down
1 change: 1 addition & 0 deletions devtools/src/app/demo-app/zippy.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {Component, Input} from '@angular/core';
selector: 'app-zippy',
templateUrl: './zippy.component.html',
styleUrls: ['./zippy.component.scss'],
standalone: false,
})
export class ZippyComponent {
@Input() title!: string;
Expand Down