Skip to content

Commit 117c631

Browse files
committed
Upgrade Angular 19 to 21 with Material 21, TypeScript 5.9, Node 22
- Upgrade all @angular/* packages from 19.2.x to 21.2.1 - Upgrade @angular/material and @angular/cdk to 21.2.1 - Upgrade TypeScript from 5.7.2 to 5.9.3 - Update Dockerfile to node:22-alpine and CI workflow to Node 22 - Add .dockerignore files to exclude node_modules from build context - Update README references from Angular 19 to Angular 21
1 parent 1feeb0d commit 117c631

8 files changed

Lines changed: 3286 additions & 2923 deletions

File tree

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
**/node_modules
2+
**/dist
3+
**/.angular
4+
**/bin
5+
**/obj

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828
- uses: actions/setup-node@v4
2929
with:
30-
node-version: '20'
30+
node-version: '22'
3131
cache: 'npm'
3232
cache-dependency-path: src/fitspec-ui/package-lock.json
3333
- name: Install

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# FitSpec — Vehicle Parts Fitment Finder
22

3-
Full-stack automotive parts fitment application built with **Angular 19**, **ASP.NET Core 10**, **SQL Server**, and **MongoDB**. Provides verified compatibility data for aftermarket parts, accessories, and modifications across 150+ products and 30 brands.
3+
Full-stack automotive parts fitment application built with **Angular 21**, **ASP.NET Core 10**, **SQL Server**, and **MongoDB**. Provides verified compatibility data for aftermarket parts, accessories, and modifications across 150+ products and 30 brands.
44

55
## Tech Stack
66

77
| Layer | Technology |
88
|-------|-----------|
9-
| Frontend | Angular 19 (standalone components, signals, Material 3) |
9+
| Frontend | Angular 21 (standalone components, signals, Material 3) |
1010
| Backend | ASP.NET Core 10, Dapper + EF Core, API versioning |
1111
| SQL Database | SQL Server 2022 (vehicles, products, fitment mappings, orders) |
1212
| Document Store | MongoDB 7 (reviews, product catalog, Q&A) |
@@ -120,7 +120,7 @@ fitspec/
120120
│ │ ├── Migrations/ # EF Core migrations
121121
│ │ └── Repositories/
122122
│ ├── FitSpec.ML/ # ML.NET recommendation engine
123-
│ └── fitspec-ui/ # Angular 19 SPA
123+
│ └── fitspec-ui/ # Angular 21 SPA
124124
│ ├── src/app/
125125
│ │ ├── core/ # Services, state, interceptors, models
126126
│ │ └── features/ # Feature components

src/fitspec-ui/.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
.angular

src/fitspec-ui/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine AS build
1+
FROM node:22-alpine AS build
22
WORKDIR /app
33
COPY package*.json ./
44
RUN npm ci

src/fitspec-ui/angular.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,31 @@
120120
}
121121
}
122122
}
123+
},
124+
"schematics": {
125+
"@schematics/angular:component": {
126+
"type": "component"
127+
},
128+
"@schematics/angular:directive": {
129+
"type": "directive"
130+
},
131+
"@schematics/angular:service": {
132+
"type": "service"
133+
},
134+
"@schematics/angular:guard": {
135+
"typeSeparator": "."
136+
},
137+
"@schematics/angular:interceptor": {
138+
"typeSeparator": "."
139+
},
140+
"@schematics/angular:module": {
141+
"typeSeparator": "."
142+
},
143+
"@schematics/angular:pipe": {
144+
"typeSeparator": "."
145+
},
146+
"@schematics/angular:resolver": {
147+
"typeSeparator": "."
148+
}
123149
}
124150
}

0 commit comments

Comments
 (0)