Skip to content

Commit 0182201

Browse files
committed
chore: update to Angular v20 and packages v21
1 parent f82adba commit 0182201

28 files changed

+6487
-8307
lines changed

examples-standalone/grid-live-data/.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ trim_trailing_whitespace = true
1010

1111
[*.ts]
1212
quote_type = single
13+
ij_typescript_use_double_quotes = false
1314

1415
[*.md]
1516
max_line_length = off
Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,42 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
1+
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-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
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3+
"recommendations": ["angular.ng-template"]
4+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3+
"version": "0.2.0",
4+
"configurations": [
5+
{
6+
"name": "ng serve",
7+
"type": "chrome",
8+
"request": "launch",
9+
"preLaunchTask": "npm: start",
10+
"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"
18+
}
19+
]
20+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3+
"version": "2.0.0",
4+
"tasks": [
5+
{
6+
"type": "npm",
7+
"script": "start",
8+
"isBackground": true,
9+
"problemMatcher": {
10+
"owner": "typescript",
11+
"pattern": "$tsc",
12+
"background": {
13+
"activeOnStart": true,
14+
"beginsPattern": {
15+
"regexp": "(.*?)"
16+
},
17+
"endsPattern": {
18+
"regexp": "bundle generation complete"
19+
}
20+
}
21+
}
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+
}
40+
}
41+
]
42+
}

examples-standalone/grid-live-data/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Used Kendo UI for Angular Components:
1717
1. Enter the project directory by running `cd examples-standalone/grid-live-data`.
1818
1. Install the node modules with `npm install`.
1919
1. Run the project with `ng serve`.
20-
1. Open http://localhost:4200.
20+
1. Open http://localhost:4200.

examples-standalone/grid-live-data/angular.json

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@
1111
"prefix": "app",
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:application",
14+
"builder": "@angular/build:application",
1515
"options": {
1616
"outputPath": "dist/grid-live-data",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
19-
"polyfills": [
20-
"zone.js"
21-
],
19+
"polyfills": ["zone.js", "@angular/localize/init"],
2220
"tsConfig": "tsconfig.app.json",
2321
"assets": [
2422
"src/favicon.ico",
25-
"src/assets"
23+
"src/assets",
24+
{
25+
"glob": "**/*",
26+
"input": "public"
27+
}
2628
],
2729
"styles": [
2830
{
@@ -37,13 +39,13 @@
3739
"budgets": [
3840
{
3941
"type": "initial",
40-
"maximumWarning": "8mb",
41-
"maximumError": "10mb"
42+
"maximumWarning": "500kB",
43+
"maximumError": "1MB"
4244
},
4345
{
4446
"type": "anyComponentStyle",
45-
"maximumWarning": "2kb",
46-
"maximumError": "4kb"
47+
"maximumWarning": "4kB",
48+
"maximumError": "8kB"
4749
}
4850
],
4951
"outputHashing": "all"
@@ -57,7 +59,7 @@
5759
"defaultConfiguration": "production"
5860
},
5961
"serve": {
60-
"builder": "@angular-devkit/build-angular:dev-server",
62+
"builder": "@angular/build:dev-server",
6163
"configurations": {
6264
"production": {
6365
"buildTarget": "grid-live-data:build:production"
@@ -69,22 +71,24 @@
6971
"defaultConfiguration": "development"
7072
},
7173
"extract-i18n": {
72-
"builder": "@angular-devkit/build-angular:extract-i18n",
73-
"options": {
74-
"buildTarget": "grid-live-data:build"
75-
}
74+
"builder": "@angular/build:extract-i18n"
7675
},
7776
"test": {
78-
"builder": "@angular-devkit/build-angular:karma",
77+
"builder": "@angular/build:karma",
7978
"options": {
8079
"polyfills": [
8180
"zone.js",
82-
"zone.js/testing"
81+
"zone.js/testing",
82+
"@angular/localize/init"
8383
],
8484
"tsConfig": "tsconfig.spec.json",
8585
"assets": [
8686
"src/favicon.ico",
87-
"src/assets"
87+
"src/assets",
88+
{
89+
"glob": "**/*",
90+
"input": "public"
91+
}
8892
],
8993
"styles": [
9094
{
@@ -97,5 +101,31 @@
97101
}
98102
}
99103
}
104+
},
105+
"schematics": {
106+
"@schematics/angular:component": {
107+
"type": "component"
108+
},
109+
"@schematics/angular:directive": {
110+
"type": "directive"
111+
},
112+
"@schematics/angular:service": {
113+
"type": "service"
114+
},
115+
"@schematics/angular:guard": {
116+
"typeSeparator": "."
117+
},
118+
"@schematics/angular:interceptor": {
119+
"typeSeparator": "."
120+
},
121+
"@schematics/angular:module": {
122+
"typeSeparator": "."
123+
},
124+
"@schematics/angular:pipe": {
125+
"typeSeparator": "."
126+
},
127+
"@schematics/angular:resolver": {
128+
"typeSeparator": "."
129+
}
100130
}
101-
}
131+
}

0 commit comments

Comments
 (0)