Skip to content

Commit 51414b6

Browse files
committed
test(@angular/cli): update ng update tests to start from v14
Version 13 is no longer under LTS support.
1 parent d8d815b commit 51414b6

33 files changed

+85
-229
lines changed

tests/legacy-cli/e2e/assets/13.0-project/e2e/protractor.conf.js

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

tests/legacy-cli/e2e/assets/13.0-project/e2e/src/app.e2e-spec.ts

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

tests/legacy-cli/e2e/assets/13.0-project/e2e/src/app.po.ts

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

tests/legacy-cli/e2e/assets/13.0-project/e2e/tsconfig.json

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

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

Lines changed: 0 additions & 42 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,42 @@
11
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

3-
# compiled output
3+
# Compiled output
44
/dist
55
/tmp
66
/out-tsc
7-
# Only exists if Bazel was run
87
/bazel-out
98

10-
# dependencies
9+
# Node
1110
/node_modules
12-
13-
# profiling files
14-
chrome-profiler-events*.json
11+
npm-debug.log
12+
yarn-error.log
1513

1614
# IDEs and editors
17-
/.idea
15+
.idea/
1816
.project
1917
.classpath
2018
.c9/
2119
*.launch
2220
.settings/
2321
*.sublime-workspace
2422

25-
# IDE - VSCode
23+
# Visual Studio Code
2624
.vscode/*
2725
!.vscode/settings.json
2826
!.vscode/tasks.json
2927
!.vscode/launch.json
3028
!.vscode/extensions.json
3129
.history/*
3230

33-
# misc
31+
# Miscellaneous
3432
/.angular/cache
35-
/.sass-cache
33+
.sass-cache/
3634
/connect.lock
3735
/coverage
3836
/libpeerconnection.log
39-
npm-debug.log
40-
yarn-error.log
4137
testem.log
4238
/typings
4339

44-
# System Files
40+
# System files
4541
.DS_Store
4642
Thumbs.db

tests/legacy-cli/e2e/assets/13.0-project/README.md renamed to tests/legacy-cli/e2e/assets/14.0-project/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# ThirteenProject
1+
# FourteenProject
22

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

55
## Development server
66

7-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
7+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
88

99
## Code scaffolding
1010

tests/legacy-cli/e2e/assets/13.0-project/angular.json renamed to tests/legacy-cli/e2e/assets/14.0-project/angular.json

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,17 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"thirteen-project": {
6+
"fourteen-project": {
77
"projectType": "application",
8-
"schematics": {
9-
"@schematics/angular:application": {
10-
"strict": true
11-
}
12-
},
8+
"schematics": {},
139
"root": "",
1410
"sourceRoot": "src",
1511
"prefix": "app",
1612
"architect": {
1713
"build": {
1814
"builder": "@angular-devkit/build-angular:browser",
1915
"options": {
20-
"outputPath": "dist/thirteen-project",
16+
"outputPath": "dist/fourteen-project",
2117
"index": "src/index.html",
2218
"main": "src/main.ts",
2319
"polyfills": "src/polyfills.ts",
@@ -68,30 +64,18 @@
6864
"builder": "@angular-devkit/build-angular:dev-server",
6965
"configurations": {
7066
"production": {
71-
"browserTarget": "thirteen-project:build:production"
67+
"browserTarget": "fourteen-project:build:production"
7268
},
7369
"development": {
74-
"browserTarget": "thirteen-project:build:development"
70+
"browserTarget": "fourteen-project:build:development"
7571
}
7672
},
7773
"defaultConfiguration": "development"
7874
},
79-
"e2e": {
80-
"builder": "@angular-devkit/build-angular:protractor",
81-
"options": {
82-
"protractorConfig": "e2e/protractor.conf.js",
83-
"devServerTarget": "thirteen-project:serve"
84-
},
85-
"configurations": {
86-
"production": {
87-
"devServerTarget": "thirteen-project:serve:production"
88-
}
89-
}
90-
},
9175
"extract-i18n": {
9276
"builder": "@angular-devkit/build-angular:extract-i18n",
9377
"options": {
94-
"browserTarget": "thirteen-project:build"
78+
"browserTarget": "fourteen-project:build"
9579
}
9680
},
9781
"test": {
@@ -113,4 +97,5 @@
11397
}
11498
}
11599
}
116-
}}
100+
}
101+
}

0 commit comments

Comments
 (0)