Skip to content

Commit

Permalink
fix: ng update v19 (#492)
Browse files Browse the repository at this point in the history
* fix: ng update v19

* fix: update testing-library

* fix: add DTL as a peer dependency
  • Loading branch information
lacolaco authored Nov 27, 2024
1 parent 095fe78 commit 122d791
Show file tree
Hide file tree
Showing 8 changed files with 1,936 additions and 1,639 deletions.
35 changes: 18 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,37 @@
"node": "20"
},
"dependencies": {
"@angular/animations": "18.2.0",
"@angular/cdk": "18.2.14",
"@angular/common": "18.2.0",
"@angular/compiler": "18.2.0",
"@angular/core": "18.2.0",
"@angular/forms": "18.2.0",
"@angular/platform-browser": "18.2.0",
"@angular/platform-browser-dynamic": "18.2.0",
"@angular/platform-server": "18.2.0",
"@angular/router": "18.2.0",
"@angular/ssr": "^18.2.0",
"@angular/animations": "19.0.1",
"@angular/cdk": "19.0.1",
"@angular/common": "19.0.1",
"@angular/compiler": "19.0.1",
"@angular/core": "19.0.1",
"@angular/forms": "19.0.1",
"@angular/platform-browser": "19.0.1",
"@angular/platform-browser-dynamic": "19.0.1",
"@angular/platform-server": "19.0.1",
"@angular/router": "19.0.1",
"@angular/ssr": "^19.0.2",
"comlink": "4.4.2",
"express": "^4.15.2",
"remark": "14.0.3",
"remark-html": "15.0.2",
"rxjs": "^7.8.1",
"tslib": "2.8.1",
"zone.js": "0.14.10"
"zone.js": "0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "18.2.12",
"@angular-devkit/build-angular": "19.0.2",
"@angular-eslint/builder": "18.4.2",
"@angular-eslint/eslint-plugin": "18.4.2",
"@angular-eslint/eslint-plugin-template": "18.4.2",
"@angular-eslint/schematics": "18.4.2",
"@angular-eslint/template-parser": "18.4.2",
"@angular/cli": "18.2.12",
"@angular/compiler-cli": "18.2.0",
"@angular/language-service": "18.2.0",
"@testing-library/angular": "14.2.0",
"@angular/cli": "19.0.2",
"@angular/compiler-cli": "19.0.1",
"@angular/language-service": "19.0.1",
"@testing-library/angular": "17.3.2",
"@testing-library/dom": "10.4.0",
"@testing-library/jasmine-dom": "1.2.0",
"@types/express": "^4.17.0",
"@types/jasmine": "4.6.4",
Expand Down
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import 'zone.js/node';

import { APP_BASE_HREF } from '@angular/common';
import { CommonEngine } from '@angular/ssr';
import { CommonEngine } from '@angular/ssr/node';
import express from 'express';
import { existsSync } from 'node:fs';
import { join } from 'node:path';
Expand Down
5 changes: 4 additions & 1 deletion src/app/app-title-strategy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ describe('AppTitleStrategy', () => {
});
});

@Component({ template: '' })
@Component({
template: '',
standalone: false,
})
class TestPageComponent {}
1 change: 0 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { NAV_LIST_DIRECTIVES } from './shared/nav-list/nav-list';

@Component({
selector: 'app-root',
standalone: true,
imports: [RouterModule, NAV_LIST_DIRECTIVES, ICON_COMPONENTS],
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
Expand Down
1 change: 0 additions & 1 deletion src/app/pages/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { CardComponent } from '../../shared/card/card.component';
import { ICON_COMPONENTS } from '../../shared/icons';

@Component({
standalone: true,
imports: [RouterLink, CardComponent, ICON_COMPONENTS],
templateUrl: './home.component.html',
styles: [
Expand Down
1 change: 0 additions & 1 deletion src/app/pages/markdown/markdown-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { MarkdownOutletComponent } from '../../shared/markdown-outlet/markdown-outlet.component';

@Component({
standalone: true,
imports: [MarkdownOutletComponent],
template: `<app-markdown-outlet class="h-full" [content]="content" ngSkipHydration />`,
styles: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { processMarkdown } from '../markdown';

@Component({
selector: 'app-markdown-outlet',
standalone: true,
imports: [AsyncPipe],
template: `
@if (rendered$ | async; as html) {
Expand Down
Loading

0 comments on commit 122d791

Please sign in to comment.