Skip to content

Commit

Permalink
chore!: update to Angular 18 (#1787)
Browse files Browse the repository at this point in the history
  • Loading branch information
just-jeb authored May 30, 2024
1 parent ab6ec5a commit eba47d5
Show file tree
Hide file tree
Showing 38 changed files with 2,280 additions and 2,321 deletions.
14 changes: 14 additions & 0 deletions MIGRATION.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Migration from version 17 to version 18

## Custom ESBuild builder

- No breaking changes (except for updating to Angular 18)

## Custom Webpack builder

- No breaking changes (except for updating to Angular 18)

## Jest builder

- No breaking changes

# Migration from version 16 to version 17

## Custom Webpack builder
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The purpose of this repository is to consolidate all the community builders for Angular build facade.

## The latest version of all the builders requires Angular CLI 17
## The latest version of all the builders requires Angular CLI 18

Builders' and Angular **major** versions **must** match.

Expand All @@ -13,6 +13,7 @@ Builders' and Angular **major** versions **must** match.
<details>
<summary>Click to expand</summary>

- [Version 17](https://github.com/just-jeb/angular-builders/tree/17.x.x)
- [Version 16](https://github.com/just-jeb/angular-builders/tree/16.x.x)
- [Version 15](https://github.com/just-jeb/angular-builders/tree/15.x.x)
- [Version 14](https://github.com/just-jeb/angular-builders/tree/14.x.x)
Expand Down
2 changes: 1 addition & 1 deletion examples/bazel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"private": true,
"devDependencies": {
"@angular-builders/bazel": "workspace:*",
"@angular/cli": "17.3.7"
"@angular/cli": "^18.0.0"
}
}
4 changes: 4 additions & 0 deletions examples/custom-esbuild/sanity-esbuild-app-esm/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,9 @@
}
}
}
},
"cli": {
"analytics": false,
"packageManager": "yarn"
}
}
24 changes: 12 additions & 12 deletions examples/custom-esbuild/sanity-esbuild-app-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "17.3.9",
"@angular/common": "17.3.9",
"@angular/compiler": "17.3.9",
"@angular/core": "17.3.9",
"@angular/forms": "17.3.9",
"@angular/platform-browser": "17.3.9",
"@angular/platform-browser-dynamic": "17.3.9",
"@angular/router": "17.3.9",
"@angular/animations": "18.0.0",
"@angular/common": "18.0.0",
"@angular/compiler": "18.0.0",
"@angular/core": "18.0.0",
"@angular/forms": "18.0.0",
"@angular/platform-browser": "18.0.0",
"@angular/platform-browser-dynamic": "18.0.0",
"@angular/router": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.14.5"
},
"devDependencies": {
"@angular-builders/custom-esbuild": "workspace:*",
"@angular-devkit/build-angular": "17.3.7",
"@angular/cli": "17.3.7",
"@angular/compiler-cli": "17.3.9",
"@angular/language-service": "17.3.9",
"@angular-devkit/build-angular": "18.0.1",
"@angular/cli": "18.0.1",
"@angular/compiler-cli": "18.0.0",
"@angular/language-service": "18.0.0",
"@types/jasmine": "5.1.2",
"@types/node": "20.12.12",
"cypress": "13.10.0",
Expand Down
3 changes: 2 additions & 1 deletion examples/custom-esbuild/sanity-esbuild-app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
}
},
"cli": {
"analytics": false
"analytics": false,
"packageManager": "yarn"
}
}
24 changes: 12 additions & 12 deletions examples/custom-esbuild/sanity-esbuild-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "17.3.9",
"@angular/common": "17.3.9",
"@angular/compiler": "17.3.9",
"@angular/core": "17.3.9",
"@angular/forms": "17.3.9",
"@angular/platform-browser": "17.3.9",
"@angular/platform-browser-dynamic": "17.3.9",
"@angular/router": "17.3.9",
"@angular/animations": "18.0.0",
"@angular/common": "18.0.0",
"@angular/compiler": "18.0.0",
"@angular/core": "18.0.0",
"@angular/forms": "18.0.0",
"@angular/platform-browser": "18.0.0",
"@angular/platform-browser-dynamic": "18.0.0",
"@angular/router": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.14.5"
},
"devDependencies": {
"@angular-builders/custom-esbuild": "workspace:*",
"@angular-devkit/build-angular": "17.3.7",
"@angular/cli": "17.3.7",
"@angular/compiler-cli": "17.3.9",
"@angular/language-service": "17.3.9",
"@angular-devkit/build-angular": "18.0.1",
"@angular/cli": "18.0.1",
"@angular/compiler-cli": "18.0.0",
"@angular/language-service": "18.0.0",
"@types/jasmine": "5.1.2",
"@types/node": "20.12.12",
"cypress": "13.10.0",
Expand Down
24 changes: 12 additions & 12 deletions examples/custom-webpack/full-cycle-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "17.3.9",
"@angular/common": "17.3.9",
"@angular/compiler": "17.3.9",
"@angular/core": "17.3.9",
"@angular/forms": "17.3.9",
"@angular/platform-browser": "17.3.9",
"@angular/platform-browser-dynamic": "17.3.9",
"@angular/router": "17.3.9",
"@angular/animations": "18.0.0",
"@angular/common": "18.0.0",
"@angular/compiler": "18.0.0",
"@angular/core": "18.0.0",
"@angular/forms": "18.0.0",
"@angular/platform-browser": "18.0.0",
"@angular/platform-browser-dynamic": "18.0.0",
"@angular/router": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.14.5"
},
"devDependencies": {
"@angular-builders/custom-webpack": "workspace:*",
"@angular-devkit/build-angular": "17.3.7",
"@angular/cli": "17.3.7",
"@angular/compiler-cli": "17.3.9",
"@angular/language-service": "17.3.9",
"@angular-devkit/build-angular": "18.0.1",
"@angular/cli": "18.0.1",
"@angular/compiler-cli": "18.0.0",
"@angular/language-service": "18.0.0",
"@types/jasmine": "5.1.4",
"@types/node": "20.12.12",
"cypress": "13.10.0",
Expand Down
22 changes: 11 additions & 11 deletions examples/custom-webpack/sanity-app-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@
},
"private": true,
"dependencies": {
"@angular/animations": "17.3.9",
"@angular/common": "17.3.9",
"@angular/compiler": "17.3.9",
"@angular/core": "17.3.9",
"@angular/forms": "17.3.9",
"@angular/platform-browser": "17.3.9",
"@angular/platform-browser-dynamic": "17.3.9",
"@angular/router": "17.3.9",
"@angular/animations": "18.0.0",
"@angular/common": "18.0.0",
"@angular/compiler": "18.0.0",
"@angular/core": "18.0.0",
"@angular/forms": "18.0.0",
"@angular/platform-browser": "18.0.0",
"@angular/platform-browser-dynamic": "18.0.0",
"@angular/router": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.14.5"
},
"devDependencies": {
"@angular-builders/custom-webpack": "workspace:*",
"@angular-devkit/build-angular": "17.3.7",
"@angular/cli": "17.3.7",
"@angular/compiler-cli": "17.3.9",
"@angular-devkit/build-angular": "18.0.1",
"@angular/cli": "18.0.1",
"@angular/compiler-cli": "18.0.0",
"@cypress/schematic": "2.5.1",
"@types/jasmine": "5.1.4",
"@types/node": "20.12.12",
Expand Down
24 changes: 12 additions & 12 deletions examples/custom-webpack/sanity-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "17.3.9",
"@angular/common": "17.3.9",
"@angular/compiler": "17.3.9",
"@angular/core": "17.3.9",
"@angular/forms": "17.3.9",
"@angular/platform-browser": "17.3.9",
"@angular/platform-browser-dynamic": "17.3.9",
"@angular/router": "17.3.9",
"@angular/animations": "18.0.0",
"@angular/common": "18.0.0",
"@angular/compiler": "18.0.0",
"@angular/core": "18.0.0",
"@angular/forms": "18.0.0",
"@angular/platform-browser": "18.0.0",
"@angular/platform-browser-dynamic": "18.0.0",
"@angular/router": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.14.5"
},
"devDependencies": {
"@angular-builders/custom-webpack": "workspace:*",
"@angular-devkit/build-angular": "17.3.7",
"@angular/cli": "17.3.7",
"@angular/compiler-cli": "17.3.9",
"@angular/language-service": "17.3.9",
"@angular-devkit/build-angular": "18.0.1",
"@angular/cli": "18.0.1",
"@angular/compiler-cli": "18.0.0",
"@angular/language-service": "18.0.0",
"@types/jasmine": "5.1.4",
"@types/node": "20.12.12",
"cypress": "13.10.0",
Expand Down
26 changes: 13 additions & 13 deletions examples/jest/multiple-apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@
},
"private": true,
"dependencies": {
"@angular/animations": "17.3.9",
"@angular/common": "17.3.9",
"@angular/compiler": "17.3.9",
"@angular/core": "17.3.9",
"@angular/forms": "17.3.9",
"@angular/platform-browser": "17.3.9",
"@angular/platform-browser-dynamic": "17.3.9",
"@angular/router": "17.3.9",
"@angular/animations": "18.0.0",
"@angular/common": "18.0.0",
"@angular/compiler": "18.0.0",
"@angular/core": "18.0.0",
"@angular/forms": "18.0.0",
"@angular/platform-browser": "18.0.0",
"@angular/platform-browser-dynamic": "18.0.0",
"@angular/router": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.14.5"
},
"devDependencies": {
"@angular-builders/jest": "workspace:*",
"@angular-devkit/build-angular": "17.3.7",
"@angular/cli": "17.3.7",
"@angular/compiler-cli": "17.3.9",
"@angular/language-service": "17.3.9",
"@angular-devkit/build-angular": "18.0.1",
"@angular/cli": "18.0.1",
"@angular/compiler-cli": "18.0.0",
"@angular/language-service": "18.0.0",
"@types/jasmine": "5.1.4",
"@types/node": "20.12.12",
"cypress": "13.10.0",
"jasmine-core": "5.1.2",
"jest": "29.7.0",
"ng-packagr": "17.3.0",
"ng-packagr": "18.0.0",
"ts-node": "10.9.2",
"typescript": "5.4.5"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { TestBed, async } from '@angular/core/testing';
import { TestBed, waitForAsync } from '@angular/core/testing';
import { AppComponent } from './app.component';

describe('AppComponent', () => {
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [AppComponent],
}).compileComponents();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { TestBed, async } from '@angular/core/testing';
import { TestBed, waitForAsync } from '@angular/core/testing';
import { AppComponent } from './app.component';

describe('AppComponent', () => {
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [AppComponent],
}).compileComponents();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "my-shared-library",
"version": "16.10",
"peerDependencies": {
"@angular/common": "17.3.9",
"@angular/core": "17.3.9"
"@angular/common": "18.0.0",
"@angular/core": "18.0.0"
},
"dependencies": {
"tslib": "2.6.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';

import { MySharedLibraryComponent } from './my-shared-library.component';

describe('MySharedLibraryComponent', () => {
let component: MySharedLibraryComponent;
let fixture: ComponentFixture<MySharedLibraryComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [MySharedLibraryComponent],
}).compileComponents();
Expand Down
24 changes: 12 additions & 12 deletions examples/jest/simple-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "17.3.9",
"@angular/common": "17.3.9",
"@angular/compiler": "17.3.9",
"@angular/core": "17.3.9",
"@angular/forms": "17.3.9",
"@angular/platform-browser": "17.3.9",
"@angular/platform-browser-dynamic": "17.3.9",
"@angular/router": "17.3.9",
"@angular/animations": "18.0.0",
"@angular/common": "18.0.0",
"@angular/compiler": "18.0.0",
"@angular/core": "18.0.0",
"@angular/forms": "18.0.0",
"@angular/platform-browser": "18.0.0",
"@angular/platform-browser-dynamic": "18.0.0",
"@angular/router": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.14.5"
},
"devDependencies": {
"@angular-builders/jest": "workspace:*",
"@angular-devkit/build-angular": "17.3.7",
"@angular/cli": "17.3.7",
"@angular/compiler-cli": "17.3.9",
"@angular/language-service": "17.3.9",
"@angular-devkit/build-angular": "18.0.1",
"@angular/cli": "18.0.1",
"@angular/compiler-cli": "18.0.0",
"@angular/language-service": "18.0.0",
"@types/jasmine": "5.1.4",
"@types/node": "20.12.12",
"cypress": "13.10.0",
Expand Down
Loading

0 comments on commit eba47d5

Please sign in to comment.