Skip to content

Commit 28f24ed

Browse files
feat(ref: #1546): update to angular 20
1 parent c8b845b commit 28f24ed

File tree

8 files changed

+1272
-450
lines changed

8 files changed

+1272
-450
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 20.0.0(2025-07-22)
2+
3+
### Feature
4+
5+
- update ng 20.x
6+
17
# 19.0.7(2024-12-20)
28

39
### Contributing

angular.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,31 @@
127127
"typescriptMismatch": false
128128
},
129129
"analytics": "682218d2-280d-47b1-b385-b2c8c903f9a9"
130+
},
131+
"schematics": {
132+
"@schematics/angular:component": {
133+
"type": "component"
134+
},
135+
"@schematics/angular:directive": {
136+
"type": "directive"
137+
},
138+
"@schematics/angular:service": {
139+
"type": "service"
140+
},
141+
"@schematics/angular:guard": {
142+
"typeSeparator": "."
143+
},
144+
"@schematics/angular:interceptor": {
145+
"typeSeparator": "."
146+
},
147+
"@schematics/angular:module": {
148+
"typeSeparator": "."
149+
},
150+
"@schematics/angular:pipe": {
151+
"typeSeparator": "."
152+
},
153+
"@schematics/angular:resolver": {
154+
"typeSeparator": "."
155+
}
130156
}
131157
}

bun.lock

Lines changed: 1190 additions & 400 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-mask",
3-
"version": "19.0.7",
3+
"version": "20.0.0",
44
"description": "Awesome ngx mask",
55
"license": "MIT",
66
"engines": {
@@ -60,71 +60,71 @@
6060
"url": "https://github.com/JsDaddy/ngx-mask.git"
6161
},
6262
"dependencies": {
63-
"@angular/animations": "19.2.11",
64-
"@angular/common": "19.2.11",
65-
"@angular/compiler": "19.2.11",
66-
"@angular/core": "19.2.11",
67-
"@angular/forms": "19.2.11",
68-
"@angular/platform-browser": "19.2.11",
69-
"@angular/platform-browser-dynamic": "19.2.11",
70-
"@angular/router": "19.2.11",
71-
"@types/jest": "29.5.14",
63+
"@angular/animations": "20.1.2",
64+
"@angular/common": "20.1.2",
65+
"@angular/compiler": "20.1.2",
66+
"@angular/core": "20.1.2",
67+
"@angular/forms": "20.1.2",
68+
"@angular/platform-browser": "20.1.2",
69+
"@angular/platform-browser-dynamic": "20.1.2",
70+
"@angular/router": "20.1.2",
71+
"@types/jest": "30.0.0",
7272
"@types/mocha": "10.0.10",
73-
"cypress": "14.3.2",
73+
"cypress": "14.5.2",
7474
"highlight.js": "11.11.1",
75-
"ngx-highlightjs": "14.0.0",
76-
"ngxtension": "5.0.0",
75+
"ngx-highlightjs": "14.0.1",
76+
"ngxtension": "5.1.0",
7777
"rxjs": "7.8.2",
78-
"semantic-release": "24.2.4",
79-
"semantic-release-export-data": "1.1.0",
80-
"snyk": "1.1297.1"
78+
"semantic-release": "24.2.7",
79+
"semantic-release-export-data": "1.1.1",
80+
"snyk": "1.1298.1"
8181
},
8282
"devDependencies": {
83-
"@angular-devkit/build-angular": "19.2.12",
84-
"@angular-eslint/builder": "19.4.0",
85-
"@angular-eslint/eslint-plugin": "19.4.0",
86-
"@angular-eslint/eslint-plugin-template": "19.4.0",
87-
"@angular-eslint/schematics": "19.4.0",
88-
"@angular-eslint/template-parser": "19.4.0",
89-
"@angular/cli": "19.2.12",
90-
"@angular/compiler-cli": "19.2.11",
91-
"@angular/language-service": "19.2.11",
83+
"@angular-devkit/build-angular": "20.1.1",
84+
"@angular-eslint/builder": "20.1.1",
85+
"@angular-eslint/eslint-plugin": "20.1.1",
86+
"@angular-eslint/eslint-plugin-template": "20.1.1",
87+
"@angular-eslint/schematics": "20.1.1",
88+
"@angular-eslint/template-parser": "20.1.1",
89+
"@angular/cli": "20.1.1",
90+
"@angular/compiler-cli": "20.1.2",
91+
"@angular/language-service": "20.1.2",
9292
"@commitlint/cli": "19.8.1",
9393
"@commitlint/config-conventional": "19.8.1",
9494
"@jscutlery/cypress-angular": "0.9.22",
9595
"@types/highlight.js": "9.12.4",
9696
"@types/jasmine": "5.1.8",
97-
"@types/node": "22.15.18",
98-
"@typescript-eslint/eslint-plugin": "8.32.1",
99-
"@typescript-eslint/parser": "8.32.1",
100-
"@web/test-runner": "0.20.1",
97+
"@types/node": "24.1.0",
98+
"@typescript-eslint/eslint-plugin": "8.38.0",
99+
"@typescript-eslint/parser": "8.38.0",
100+
"@web/test-runner": "0.20.2",
101101
"angular-cli-ghpages": "2.0.3",
102102
"angular-http-server": "1.12.0",
103-
"eslint": "9.27.0",
104-
"eslint-config-prettier": "10.1.5",
103+
"eslint": "9.31.0",
104+
"eslint-config-prettier": "10.1.8",
105105
"eslint-plugin-json": "4.0.1",
106-
"eslint-plugin-prettier": "5.4.0",
107-
"jasmine-core": "5.7.1",
106+
"eslint-plugin-prettier": "5.5.3",
107+
"jasmine-core": "5.9.0",
108108
"jasmine-spec-reporter": "7.0.0",
109-
"lint-staged": "16.0.0",
109+
"lint-staged": "16.1.2",
110110
"markdownlint-cli": "0.45.0",
111-
"ng-packagr": "19.2.2",
111+
"ng-packagr": "20.1.0",
112112
"npm-check-updates": "18.0.1",
113-
"prettier": "3.5.3",
114-
"puppeteer": "24.8.2",
115-
"stylelint": "16.19.1",
113+
"prettier": "3.6.2",
114+
"puppeteer": "24.14.0",
115+
"stylelint": "16.22.0",
116116
"stylelint-config-prettier": "9.0.5",
117-
"stylelint-config-recommended-scss": "15.0.0",
117+
"stylelint-config-recommended-scss": "15.0.1",
118118
"stylelint-prettier": "5.0.3",
119119
"type-coverage": "2.29.7",
120120
"typescript": "5.8.3",
121-
"angular-eslint": "19.4.0",
122-
"typescript-eslint": "8.32.1",
121+
"angular-eslint": "20.1.1",
122+
"typescript-eslint": "8.38.0",
123123
"tailwindcss": "3.4.16",
124-
"bun-types": "1.2.13",
125-
"postcss": "8.5.3",
126-
"postcss-nesting": "13.0.1",
127-
"cssnano": "7.0.7",
124+
"bun-types": "1.2.19",
125+
"postcss": "8.5.6",
126+
"postcss-nesting": "13.0.2",
127+
"cssnano": "7.1.0",
128128
"postcss-scss": "4.0.9"
129129
},
130130
"typeCoverage": {

projects/ngx-mask-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-mask",
3-
"version": "19.0.7",
3+
"version": "20.0.0",
44
"description": "awesome ngx mask",
55
"keywords": [
66
"ng2-mask",

src/libraries

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import { provideHttpClient } from '@angular/common/http';
88
import { BaseHttpService } from '@libraries/base-http/base-http.service';
99
import { DOMAIN } from '@libraries/token/token';
1010
import { GithubStarsService } from '@libraries/github/github-stars.service';
11-
import { provideExperimentalZonelessChangeDetection } from '@angular/core';
11+
import { provideZonelessChangeDetection } from '@angular/core';
1212

1313
bootstrapApplication(AppComponent, {
1414
providers: [
15-
provideExperimentalZonelessChangeDetection(),
15+
provideZonelessChangeDetection(),
1616
GithubStarsService,
1717
provideHttpClient(),
1818
{

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"ngx-mask": ["projects/ngx-mask-lib/src"],
2020
"ngx-mask/*": ["projects/ngx-mask-lib/src"]
2121
},
22-
"moduleResolution": "node",
22+
"moduleResolution": "bundler",
2323
"forceConsistentCasingInFileNames": true,
2424
"noUnusedLocals": true,
2525
"noUnusedParameters": true,

0 commit comments

Comments
 (0)