Skip to content

Commit 2a818d3

Browse files
committed
feat: upgrade angular v21.x with standalone components
1 parent 9763b75 commit 2a818d3

File tree

215 files changed

+11102
-8503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+11102
-8503
lines changed

.browserslistrc

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2-
# For additional information regarding the format and rule options, please see:
3-
# https://github.com/browserslist/browserslist#queries
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below
42

5-
# You can see what browsers were selected by your queries by running:
6-
# npx browserslist
3+
# For additional information regarding the format and rule options, please see
4+
5+
# <https://github.com/browserslist/browserslist#queries>
6+
7+
# You can see what browsers were selected by your queries by running
8+
9+
# npx browserslist
710

811
> 0.5%
912
last 2 versions
1013
Firefox ESR
1114
not dead
12-
not IE 9-11 # For IE 9-11 support, remove 'not'.
15+
not IE 9-11 # For IE 9-11 support, remove 'not'.
16+
not kaios 2.5
17+
not op_mini all

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.11.0
1+
22.21.1

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(The MIT License)
22

3-
Copyright (c) 2017-2025 Kamil Myśliwiec <http://kamilmysliwiec.com>
3+
Copyright (c) 2017-present Kamil Myśliwiec <http://kamilmysliwiec.com>
44

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

angular.json

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
"projectType": "application",
1010
"architect": {
1111
"build": {
12-
"builder": "@angular-devkit/build-angular:browser",
12+
"builder": "@angular-devkit/build-angular:application",
1313
"options": {
1414
"aot": true,
1515
"allowedCommonJsDependencies": ["prismjs"],
16-
"outputPath": "dist",
17-
"main": "src/main.ts",
16+
"outputPath": {
17+
"base": "dist"
18+
},
1819
"index": "src/index.html",
1920
"tsConfig": "src/tsconfig.app.json",
2021
"polyfills": ["zone.js"],
@@ -27,7 +28,8 @@
2728
"src/mstile-150x150.png",
2829
"src/_redirects"
2930
],
30-
"styles": ["src/styles.scss"]
31+
"styles": ["src/styles.scss"],
32+
"browser": "src/main.ts"
3133
},
3234
"configurations": {
3335
"production": {
@@ -78,33 +80,38 @@
7880
}
7981
},
8082
"test": {
81-
"builder": "@angular-devkit/build-angular:karma",
82-
"options": {
83-
"main": "src/test.ts",
84-
"karmaConfig": "./karma.conf.js",
85-
"polyfills": ["zone.js"],
86-
"tsConfig": "src/tsconfig.spec.json",
87-
"styles": ["src/styles.scss"],
88-
"assets": ["src/assets"]
89-
}
90-
},
91-
"lint": {
92-
"builder": "@angular-devkit/build-angular:tslint",
93-
"options": {
94-
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
95-
"exclude": ["**/node_modules/**"]
96-
}
83+
"builder": "@angular/build:unit-test"
9784
}
9885
}
9986
}
10087
},
10188
"schematics": {
10289
"@schematics/angular:component": {
10390
"prefix": "app",
104-
"style": "scss"
91+
"style": "scss",
92+
"type": "component"
10593
},
10694
"@schematics/angular:directive": {
107-
"prefix": "app"
95+
"prefix": "app",
96+
"type": "directive"
97+
},
98+
"@schematics/angular:service": {
99+
"type": "service"
100+
},
101+
"@schematics/angular:guard": {
102+
"typeSeparator": "."
103+
},
104+
"@schematics/angular:interceptor": {
105+
"typeSeparator": "."
106+
},
107+
"@schematics/angular:module": {
108+
"typeSeparator": "."
109+
},
110+
"@schematics/angular:pipe": {
111+
"typeSeparator": "."
112+
},
113+
"@schematics/angular:resolver": {
114+
"typeSeparator": "."
108115
}
109116
},
110117
"cli": {

karma.conf.js

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

0 commit comments

Comments
 (0)