Skip to content

Commit 5558c13

Browse files
committed
build: upgrade to Angular 19
1 parent 74f5910 commit 5558c13

14 files changed

+3861
-3969
lines changed

.husky/commit-msg

-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
npx --no-install commitlint --edit "$1" --quiet ||
2-
(
3-
echo -e "\n❌ Please check commit message format! \n"
4-
false;
5-
)
6-
7-
echo -e "✅ Commit message format correct! \n"

.husky/pre-commit

-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
npx lint-staged --quiet ||
2-
(
3-
echo -e "\n❌ Prettier formatting failed!\n"
4-
false;
5-
)
6-
7-
echo -e "✅ Prettier formatting successful!"

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Wilfried Lucha
3+
Copyright (c) 2025 Wilfried Lucha
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> The Angular starter / boilerplate project to start a new enterprise project.
44
5-
[Angular 18](https://angular.dev/)
5+
[Angular 19](https://angular.dev/)
66
[Angular Material](https://material.angular.io/)
77
✅ Unit Testing with [Jest](https://jestjs.io/)
88
✅ End-to-End Testing with [Cypress](https://www.cypress.io/)
@@ -19,7 +19,7 @@
1919

2020
<hr>
2121

22-
![Angular18](https://img.shields.io/badge/Angular-18-brightgreen)
22+
![Angular19](https://img.shields.io/badge/Angular-19-brightgreen)
2323
[![MIT](https://img.shields.io/packagist/l/doctrine/orm.svg)]()
2424
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=wlucha_angular-starter&metric=alert_status)](https://sonarcloud.io/dashboard?id=wlucha_angular-starter)
2525
[![Docker Pulls](https://img.shields.io/docker/pulls/wlucha/angular-starter)](https://hub.docker.com/repository/docker/wlucha/angular-starter)
@@ -83,7 +83,7 @@ https://hub.docker.com/r/wlucha/angular-starter
8383

8484
MIT License
8585

86-
Copyright (c) 2024 Wilfried Lucha
86+
Copyright (c) 2025 Wilfried Lucha
8787

8888
Permission is hereby granted, free of charge, to any person obtaining a copy
8989
of this software and associated documentation files (the "Software"), to deal

angular.json

+16-12
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,38 @@
55
"projects": {
66
"angular-starter": {
77
"projectType": "application",
8-
"schematics": {},
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss"
11+
}
12+
},
913
"root": "",
1014
"sourceRoot": "src",
1115
"prefix": "app",
1216
"architect": {
1317
"build": {
14-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "@angular-devkit/build-angular:application",
1519
"options": {
16-
"outputPath": "dist/angular-starter",
20+
"outputPath": {
21+
"base": "dist/angular-starter"
22+
},
1723
"index": "src/index.html",
18-
"main": "src/main.ts",
19-
"polyfills": "src/polyfills.ts",
24+
"polyfills": [
25+
"src/polyfills.ts"
26+
],
2027
"tsConfig": "tsconfig.app.json",
2128
"assets": ["src/favicon.ico", "src/assets"],
2229
"styles": [
2330
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
2431
"src/styles.css"
2532
],
2633
"scripts": [],
27-
"vendorChunk": true,
2834
"extractLicenses": false,
29-
"buildOptimizer": false,
3035
"sourceMap": true,
3136
"optimization": false,
3237
"namedChunks": true,
33-
"preserveSymlinks": true
38+
"preserveSymlinks": true,
39+
"browser": "src/main.ts"
3440
},
3541
"configurations": {
3642
"production": {
@@ -45,8 +51,6 @@
4551
"sourceMap": false,
4652
"namedChunks": false,
4753
"extractLicenses": true,
48-
"vendorChunk": false,
49-
"buildOptimizer": true,
5054
"budgets": [
5155
{
5256
"type": "initial",
@@ -64,7 +68,7 @@
6468
"defaultConfiguration": ""
6569
},
6670
"serve": {
67-
"builder": "@angular-devkit/build-angular:dev-server",
71+
"builder": "@angular/build:dev-server",
6872
"options": {
6973
"buildTarget": "angular-starter:build"
7074
},
@@ -75,7 +79,7 @@
7579
}
7680
},
7781
"extract-i18n": {
78-
"builder": "@angular-devkit/build-angular:extract-i18n",
82+
"builder": "@angular/build:extract-i18n",
7983
"options": {
8084
"buildTarget": "angular-starter:build"
8185
}

jest.config.js

-6
This file was deleted.

jest.config.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import type { Config } from 'jest';
2+
3+
const jestConfig: Config = {
4+
preset: 'jest-preset-angular',
5+
setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
6+
};
7+
8+
export default jestConfig;

junit.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<testsuites name="jest tests" tests="1" failures="0" errors="0" time="29.734">
3-
<testsuite name="AppComponent" errors="0" failures="0" skipped="0" timestamp="2024-11-03T08:12:58" time="26.051" tests="1">
4-
<testcase classname="AppComponent should create the app" name="AppComponent should create the app" time="0.232">
2+
<testsuites name="jest tests" tests="1" failures="0" errors="0" time="6.442">
3+
<testsuite name="AppComponent" errors="0" failures="0" skipped="0" timestamp="2025-01-20T18:33:54" time="5.433" tests="1">
4+
<testcase classname="AppComponent should create the app" name="AppComponent should create the app" time="0.041">
55
</testcase>
66
</testsuite>
77
</testsuites>

0 commit comments

Comments
 (0)