Skip to content

Commit acb7b42

Browse files
authored
chore: upgrade dependencies, integration tests use angular v21 (#384)
- regenerate the `typescript-angular` integration tests using angular v21 cli - update other dependencies to clear most audit warnings - switch `onlyBuiltDependencies` to `ignoredBuiltDependencies`, as best I can tell these all ship platform specific built packages, and so the install script isn't _actually_ required
1 parent 4abbeee commit acb7b42

File tree

27 files changed

+3040
-5708
lines changed

27 files changed

+3040
-5708
lines changed

integration-tests/typescript-angular/.editorconfig

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

integration-tests/typescript-angular/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ yarn-error.log
3636
/libpeerconnection.log
3737
testem.log
3838
/typings
39+
__screenshots__/
3940

4041
# System files
4142
.DS_Store

integration-tests/typescript-angular/.vscode/launch.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@
88
"request": "launch",
99
"preLaunchTask": "npm: start",
1010
"url": "http://localhost:4200/"
11-
},
12-
{
13-
"name": "ng test",
14-
"type": "chrome",
15-
"request": "launch",
16-
"preLaunchTask": "npm: test",
17-
"url": "http://localhost:9876/debug.html"
1811
}
1912
]
2013
}

integration-tests/typescript-angular/.vscode/tasks.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,6 @@
1919
}
2020
}
2121
}
22-
},
23-
{
24-
"type": "npm",
25-
"script": "test",
26-
"isBackground": true,
27-
"problemMatcher": {
28-
"owner": "typescript",
29-
"pattern": "$tsc",
30-
"background": {
31-
"activeOnStart": true,
32-
"beginsPattern": {
33-
"regexp": "(.*?)"
34-
},
35-
"endsPattern": {
36-
"regexp": "bundle generation complete"
37-
}
38-
}
39-
}
4022
}
4123
]
4224
}

integration-tests/typescript-angular/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TypescriptAngular
22

3-
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.2.
3+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.0.0.
44

55
## Development server
66

integration-tests/typescript-angular/angular.json

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,50 @@
88
"projects": {
99
"typescript-angular": {
1010
"projectType": "application",
11-
"schematics": {},
11+
"schematics": {
12+
"@schematics/angular:component": {
13+
"inlineTemplate": true,
14+
"inlineStyle": true,
15+
"skipTests": true
16+
},
17+
"@schematics/angular:class": {
18+
"skipTests": true
19+
},
20+
"@schematics/angular:directive": {
21+
"skipTests": true
22+
},
23+
"@schematics/angular:guard": {
24+
"skipTests": true
25+
},
26+
"@schematics/angular:interceptor": {
27+
"skipTests": true
28+
},
29+
"@schematics/angular:pipe": {
30+
"skipTests": true
31+
},
32+
"@schematics/angular:resolver": {
33+
"skipTests": true
34+
},
35+
"@schematics/angular:service": {
36+
"skipTests": true
37+
}
38+
},
1239
"root": "",
1340
"sourceRoot": "src",
1441
"prefix": "app",
1542
"architect": {
1643
"build": {
17-
"builder": "@angular-devkit/build-angular:application",
44+
"builder": "@angular/build:application",
1845
"options": {
19-
"outputPath": "dist/typescript-angular",
20-
"index": "src/index.html",
2146
"browser": "src/main.ts",
22-
"polyfills": ["zone.js"],
2347
"tsConfig": "tsconfig.app.json",
2448
"assets": [
2549
{
2650
"glob": "**/*",
2751
"input": "public"
2852
}
2953
],
30-
"styles": ["src/styles.css"],
31-
"scripts": []
54+
"styles": ["src/styles.css"]
3255
},
3356
"configurations": {
3457
"production": {
@@ -55,7 +78,7 @@
5578
"defaultConfiguration": "production"
5679
},
5780
"serve": {
58-
"builder": "@angular-devkit/build-angular:dev-server",
81+
"builder": "@angular/build:dev-server",
5982
"configurations": {
6083
"production": {
6184
"buildTarget": "typescript-angular:build:production"
@@ -65,24 +88,6 @@
6588
}
6689
},
6790
"defaultConfiguration": "development"
68-
},
69-
"extract-i18n": {
70-
"builder": "@angular-devkit/build-angular:extract-i18n"
71-
},
72-
"test": {
73-
"builder": "@angular-devkit/build-angular:karma",
74-
"options": {
75-
"polyfills": ["zone.js", "zone.js/testing"],
76-
"tsConfig": "tsconfig.spec.json",
77-
"assets": [
78-
{
79-
"glob": "**/*",
80-
"input": "public"
81-
}
82-
],
83-
"styles": ["src/styles.css"],
84-
"scripts": []
85-
}
8691
}
8792
}
8893
}

integration-tests/typescript-angular/package.json

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,27 @@
22
"name": "@integration/typescript-angular",
33
"version": "0.0.0",
44
"scripts": {
5-
"clean": "rm -rf ./dist && rm -rf ./src/generated",
65
"ng": "ng",
76
"start": "ng serve",
87
"build": "ng build",
98
"watch": "ng build --watch --configuration development",
10-
"test": "ng test",
119
"validate": "ng build --configuration production"
1210
},
1311
"private": true,
1412
"dependencies": {
15-
"@angular/animations": "^20.3.10",
16-
"@angular/common": "^20.3.10",
17-
"@angular/compiler": "^20.3.10",
18-
"@angular/core": "^20.3.10",
19-
"@angular/forms": "^20.3.10",
20-
"@angular/platform-browser": "^20.3.10",
21-
"@angular/platform-browser-dynamic": "^20.3.10",
22-
"@angular/router": "^20.3.10",
23-
"rxjs": "~7.8.2",
24-
"tslib": "^2.8.1",
25-
"zone.js": "~0.15.1"
13+
"@angular/common": "^21.0.0",
14+
"@angular/compiler": "^21.0.0",
15+
"@angular/core": "^21.0.0",
16+
"@angular/forms": "^21.0.0",
17+
"@angular/platform-browser": "^21.0.0",
18+
"@angular/router": "^21.0.0",
19+
"rxjs": "~7.8.0",
20+
"tslib": "^2.3.0"
2621
},
2722
"devDependencies": {
28-
"@angular-devkit/build-angular": "^20.3.9",
29-
"@angular/cli": "^20.3.9",
30-
"@angular/compiler-cli": "^20.3.10",
31-
"@types/jasmine": "~5.1.12",
32-
"jasmine-core": "~5.12.1",
33-
"karma": "~6.4.4",
34-
"karma-chrome-launcher": "~3.2.0",
35-
"karma-coverage": "~2.2.1",
36-
"karma-jasmine": "~5.1.0",
37-
"karma-jasmine-html-reporter": "~2.1.0",
38-
"typescript": "^5.9.3"
23+
"@angular/build": "^21.0.0",
24+
"@angular/cli": "^21.0.0",
25+
"@angular/compiler-cli": "^21.0.0",
26+
"typescript": "~5.9.2"
3927
}
4028
}

integration-tests/typescript-angular/src/app/app.component.css

Whitespace-only changes.

0 commit comments

Comments
 (0)