Skip to content

Commit d2c5e11

Browse files
authored
Merge pull request #53 from abarghoud/develop
#51 Angular 20 support release
2 parents 9973941 + dc41a22 commit d2c5e11

File tree

8 files changed

+2195
-2315
lines changed

8 files changed

+2195
-2315
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
jobs:
44
build:
55
docker:
6-
- image: cimg/node:20.11.1
6+
- image: cimg/node:22.16.0
77
steps:
88
- checkout
99
- run: yarn install

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ Thumbs.db
4242
.nx/cache
4343
.nx/workspace-data
4444
.angular
45+
.cursor/rules/nx-rules.mdc
46+
.github/instructions/nx.instructions.md

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ A lightweight library for dynamically validate Angular reactive forms using [cla
4747

4848
yarn add ngx-reactive-form-class-validator
4949
### Peer dependencies
50-
"@angular/common": ">= 2.0.0 <= ^19.0.0",
51-
"@angular/core": ">= 2.0.0 <= ^19.0.0",
52-
"@angular/forms": ">= 2.0.0 <= ^19.0.0",
50+
"@angular/common": ">= 2.0.0 <= ^20.0.0",
51+
"@angular/core": ">= 2.0.0 <= ^20.0.0",
52+
"@angular/forms": ">= 2.0.0 <= ^20.0.0",
5353
"class-validator": ">= 0.12.0 <= ^0.14.0"
5454

5555
###### _While this library will function with any version of class-validator within this range, we strongly recommend using class-validator ^0.14.0 or later due to a critical [security vulnerability](https://github.com/typestack/class-validator/blob/develop/CHANGELOG.md#:~:text=forbidUnknownValues%20option%20is%20enabled%20by%20default) addressed in versions 0.14.0 and beyond. This ensures the highest level of security for your application._

apps/test/project.json

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,25 @@
77
"tags": [],
88
"targets": {
99
"build": {
10-
"executor": "@angular-devkit/build-angular:application",
11-
"outputs": ["{options.outputPath}"],
10+
"executor": "@angular/build:application",
11+
"outputs": [
12+
"{options.outputPath}"
13+
],
1214
"options": {
1315
"outputPath": "dist/apps/test",
1416
"index": "apps/test/src/index.html",
1517
"browser": "apps/test/src/main.ts",
16-
"polyfills": ["zone.js"],
18+
"polyfills": [
19+
"zone.js"
20+
],
1721
"tsConfig": "apps/test/tsconfig.app.json",
18-
"assets": ["apps/test/src/favicon.ico", "apps/test/src/assets"],
19-
"styles": ["apps/test/src/styles.css"],
22+
"assets": [
23+
"apps/test/src/favicon.ico",
24+
"apps/test/src/assets"
25+
],
26+
"styles": [
27+
"apps/test/src/styles.css"
28+
],
2029
"scripts": []
2130
},
2231
"configurations": {
@@ -44,7 +53,7 @@
4453
"defaultConfiguration": "production"
4554
},
4655
"serve": {
47-
"executor": "@angular-devkit/build-angular:dev-server",
56+
"executor": "@angular/build:dev-server",
4857
"configurations": {
4958
"production": {
5059
"buildTarget": "test:build:production"
@@ -53,13 +62,14 @@
5362
"buildTarget": "test:build:development"
5463
}
5564
},
56-
"defaultConfiguration": "development"
65+
"defaultConfiguration": "development",
66+
"continuous": true
5767
},
5868
"extract-i18n": {
59-
"executor": "@angular-devkit/build-angular:extract-i18n",
69+
"executor": "@angular/build:extract-i18n",
6070
"options": {
6171
"buildTarget": "test:build"
6272
}
6373
}
6474
}
65-
}
75+
}

libs/ngx-reactive-form-class-validator/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ngx-reactive-form-class-validator",
33
"description": "A lightweight library for dynamically validate Angular reactive forms using class-validator library.",
44
"license": "MIT",
5-
"version": "1.9.1",
5+
"version": "2.0.0",
66
"keywords": [
77
"ng",
88
"angular",
@@ -24,9 +24,9 @@
2424
},
2525
"homepage": "https://github.com/abarghoud/ngx-reactive-form-class-validator#readme",
2626
"peerDependencies": {
27-
"@angular/common": ">= 2.0.0 <= ^19.0.0",
28-
"@angular/core": ">= 2.0.0 <= ^19.0.0",
29-
"@angular/forms": ">= 2.0.0 <= ^19.0.0",
27+
"@angular/common": ">= 2.0.0 <= ^20.0.0",
28+
"@angular/core": ">= 2.0.0 <= ^20.0.0",
29+
"@angular/forms": ">= 2.0.0 <= ^20.0.0",
3030
"class-validator": ">= 0.12.0 <= ^0.14.0"
3131
}
3232
}

nx.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,5 @@
6969
]
7070
},
7171
"parallel": 1,
72-
"defaultBase": "master",
73-
"useLegacyCache": true
72+
"defaultBase": "master"
7473
}

package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -61,34 +61,34 @@
6161
},
6262
"private": true,
6363
"dependencies": {
64-
"@angular/animations": "19.1.5",
65-
"@angular/common": "19.1.5",
66-
"@angular/compiler": "19.1.5",
67-
"@angular/core": "19.1.5",
68-
"@angular/forms": "19.1.5",
69-
"@angular/platform-browser": "19.1.5",
70-
"@angular/platform-browser-dynamic": "19.1.5",
71-
"@angular/router": "19.1.5",
72-
"@nx/angular": "20.4.1",
64+
"@angular/animations": "20.0.2",
65+
"@angular/common": "20.0.2",
66+
"@angular/compiler": "20.0.2",
67+
"@angular/core": "20.0.2",
68+
"@angular/forms": "20.0.2",
69+
"@angular/platform-browser": "20.0.2",
70+
"@angular/platform-browser-dynamic": "20.0.2",
71+
"@angular/router": "20.0.2",
72+
"@nx/angular": "21.1.3",
7373
"class-validator": "^0.14.0",
7474
"cerialize": "^0.1.18",
7575
"rxjs": "7.8.1",
7676
"tslib": "^2.8.1",
7777
"zone.js": "0.15.0"
7878
},
7979
"devDependencies": {
80-
"@angular-devkit/build-angular": "19.1.6",
81-
"@angular-devkit/core": "19.1.6",
82-
"@angular-devkit/schematics": "19.1.6",
83-
"@angular/cli": "~19.1.0",
84-
"@angular/compiler-cli": "19.1.5",
85-
"@angular/language-service": "19.1.5",
86-
"@nx/cypress": "20.4.1",
87-
"@nx/eslint-plugin": "20.4.1",
88-
"@nx/jest": "20.4.1",
89-
"@nx/js": "20.4.1",
90-
"@nx/workspace": "20.4.1",
91-
"@schematics/angular": "19.1.6",
80+
"@angular-devkit/core": "20.0.1",
81+
"@angular-devkit/schematics": "20.0.1",
82+
"@angular/build": "^20.0.1",
83+
"@angular/cli": "20.0.1",
84+
"@angular/compiler-cli": "20.0.2",
85+
"@angular/language-service": "20.0.2",
86+
"@nx/cypress": "21.1.3",
87+
"@nx/eslint-plugin": "21.1.3",
88+
"@nx/jest": "21.1.3",
89+
"@nx/js": "21.1.3",
90+
"@nx/workspace": "21.1.3",
91+
"@schematics/angular": "19.2.9",
9292
"@swc-node/register": "1.9.2",
9393
"@swc/core": "1.5.7",
9494
"@swc/helpers": "0.5.15",
@@ -104,16 +104,16 @@
104104
"jest": "29.7.0",
105105
"jest-environment-jsdom": "29.7.0",
106106
"jest-preset-angular": "14.4.2",
107-
"ng-packagr": "19.1.2",
107+
"ng-packagr": "19.2.2",
108108
"npm-run-all": "^4.1.5",
109-
"nx": "20.4.1",
109+
"nx": "21.1.3",
110110
"postcss": "^8.5.1",
111111
"postcss-import": "16.1.0",
112112
"postcss-preset-env": "10.1.3",
113113
"postcss-url": "10.1.3",
114114
"prettier": "3.4.2",
115115
"ts-jest": "29.2.5",
116116
"ts-node": "10.9.2",
117-
"typescript": "5.7.3"
117+
"typescript": "5.8.3"
118118
}
119119
}

0 commit comments

Comments
 (0)