Skip to content

Commit b72a0b3

Browse files
committed
test: update e2e update test to use angular 18
Angular 17 is no longer supported. (cherry picked from commit 6fc2dca)
1 parent 9d7fb47 commit b72a0b3

25 files changed

+116
-116
lines changed

tests/legacy-cli/e2e/assets/17.0-project/package.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

tests/legacy-cli/e2e/assets/17.0-project/src/app/app.config.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/legacy-cli/e2e/assets/17.0-project/src/assets/.gitkeep

Whitespace-only changes.

tests/legacy-cli/e2e/assets/17.0-project/tsconfig.app.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/legacy-cli/e2e/assets/17.0-project/tsconfig.spec.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/legacy-cli/e2e/assets/17.0-project/.editorconfig renamed to tests/legacy-cli/e2e/assets/18.0-project/.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ trim_trailing_whitespace = true
1010

1111
[*.ts]
1212
quote_type = single
13+
ij_typescript_use_double_quotes = false
1314

1415
[*.md]
1516
max_line_length = off

tests/legacy-cli/e2e/assets/17.0-project/README.md renamed to tests/legacy-cli/e2e/assets/18.0-project/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# SeventeenProject
1+
# EighteenProject
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.12.
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.2.20.
44

55
## Development server
66

@@ -24,4 +24,4 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u
2424

2525
## Further help
2626

27-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.

tests/legacy-cli/e2e/assets/17.0-project/angular.json renamed to tests/legacy-cli/e2e/assets/18.0-project/angular.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"seventeen-project": {
6+
"eighteen-project": {
77
"projectType": "application",
88
"schematics": {},
99
"root": "",
@@ -13,16 +13,18 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:application",
1515
"options": {
16-
"outputPath": "dist/seventeen-project",
16+
"outputPath": "dist/eighteen-project",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
1919
"polyfills": [
2020
"zone.js"
2121
],
2222
"tsConfig": "tsconfig.app.json",
2323
"assets": [
24-
"src/favicon.ico",
25-
"src/assets"
24+
{
25+
"glob": "**/*",
26+
"input": "public"
27+
}
2628
],
2729
"styles": [
2830
"src/styles.css"
@@ -34,13 +36,13 @@
3436
"budgets": [
3537
{
3638
"type": "initial",
37-
"maximumWarning": "500kb",
38-
"maximumError": "1mb"
39+
"maximumWarning": "500kB",
40+
"maximumError": "1MB"
3941
},
4042
{
4143
"type": "anyComponentStyle",
42-
"maximumWarning": "2kb",
43-
"maximumError": "4kb"
44+
"maximumWarning": "2kB",
45+
"maximumError": "4kB"
4446
}
4547
],
4648
"outputHashing": "all"
@@ -57,19 +59,16 @@
5759
"builder": "@angular-devkit/build-angular:dev-server",
5860
"configurations": {
5961
"production": {
60-
"buildTarget": "seventeen-project:build:production"
62+
"buildTarget": "eighteen-project:build:production"
6163
},
6264
"development": {
63-
"buildTarget": "seventeen-project:build:development"
65+
"buildTarget": "eighteen-project:build:development"
6466
}
6567
},
6668
"defaultConfiguration": "development"
6769
},
6870
"extract-i18n": {
69-
"builder": "@angular-devkit/build-angular:extract-i18n",
70-
"options": {
71-
"buildTarget": "seventeen-project:build"
72-
}
71+
"builder": "@angular-devkit/build-angular:extract-i18n"
7372
},
7473
"test": {
7574
"builder": "@angular-devkit/build-angular:karma",
@@ -80,8 +79,10 @@
8079
],
8180
"tsConfig": "tsconfig.spec.json",
8281
"assets": [
83-
"src/favicon.ico",
84-
"src/assets"
82+
{
83+
"glob": "**/*",
84+
"input": "public"
85+
}
8586
],
8687
"styles": [
8788
"src/styles.css"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "eighteen-project",
3+
"version": "0.0.0",
4+
"scripts": {
5+
"ng": "ng",
6+
"start": "ng serve",
7+
"build": "ng build",
8+
"watch": "ng build --watch --configuration development",
9+
"test": "ng test"
10+
},
11+
"private": true,
12+
"dependencies": {
13+
"@angular/animations": "^18.2.0",
14+
"@angular/common": "^18.2.0",
15+
"@angular/compiler": "^18.2.0",
16+
"@angular/core": "^18.2.0",
17+
"@angular/forms": "^18.2.0",
18+
"@angular/platform-browser": "^18.2.0",
19+
"@angular/platform-browser-dynamic": "^18.2.0",
20+
"@angular/router": "^18.2.0",
21+
"rxjs": "~7.8.0",
22+
"tslib": "^2.3.0",
23+
"zone.js": "~0.14.10"
24+
},
25+
"devDependencies": {
26+
"@angular-devkit/build-angular": "^18.2.20",
27+
"@angular/cli": "^18.2.20",
28+
"@angular/compiler-cli": "^18.2.0",
29+
"@types/jasmine": "~5.1.0",
30+
"jasmine-core": "~5.2.0",
31+
"karma": "~6.4.0",
32+
"karma-chrome-launcher": "~3.2.0",
33+
"karma-coverage": "~2.2.0",
34+
"karma-jasmine": "~5.1.0",
35+
"karma-jasmine-html-reporter": "~2.1.0",
36+
"typescript": "~5.5.2"
37+
}
38+
}

0 commit comments

Comments
 (0)