Skip to content

Commit

Permalink
feat: update to Angular 17 (#3236)
Browse files Browse the repository at this point in the history
* chore: update angular to 17, zone.js and typescript

* chore: update @angular-eslint/schematics

* chore: update schematics

* chore: update angular cdk

* chore: update angular cdk

* chore: update vulnerable dependencies

* chore: update angular to 17 in framework folder

* chore: update node version for github actions

* chore: update angular to 17 in package-smoke

* chore: update schematics in package-smoke

* chore: update schematics in package-smoke

* chore: add adjustments after updates

* chore: update package-lock for packages-smoke
  • Loading branch information
denStrigo authored Jan 23, 2024
1 parent 1c867d9 commit bced0eb
Show file tree
Hide file tree
Showing 15 changed files with 10,678 additions and 13,087 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.13.0
cache: 'npm'
- run: npm ci
- run: npm run docs:gh-pages
12 changes: 6 additions & 6 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.13.0
cache: 'npm'
- run: npm ci
- run: npm run build:packages
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.13.0
cache: 'npm'
- run: |
npm ci
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.13.0
- run: npm ci
- run: npm run docs:build
build-playground:
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.13.0
- run: npm ci
- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.13.0
- run: npm ci
- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.13.0
- uses: actions/download-artifact@v2
with:
name: built-packages
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.0
18.13.0
12 changes: 10 additions & 2 deletions docs/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { BrowserModule, Title } from '@angular/platform-browser';
import { BrowserModule, REMOVE_STYLES_ON_COMPONENT_DESTROY, Title } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
Expand Down Expand Up @@ -48,7 +48,15 @@ import * as docs from '../output.json';
RouterModule.forRoot(routes, { useHash: false }),
],
declarations: [NgdAppComponent],
providers: [Title, { provide: STRUCTURE, useValue: structure }, { provide: DOCS, useValue: docs }],
providers: [
Title,
{ provide: STRUCTURE, useValue: structure },
{ provide: DOCS, useValue: docs },
{
provide: REMOVE_STYLES_ON_COMPONENT_DESTROY,
useValue: false,
}
],
bootstrap: [NgdAppComponent],
})
export class AppModule {}
Loading

0 comments on commit bced0eb

Please sign in to comment.