Skip to content

Commit 9377e93

Browse files
Merge pull request #211 from cloudinary/angular-ivy-update
feat: switch angular to partial compilation mode
2 parents 9324532 + dacd905 commit 9377e93

File tree

6 files changed

+41
-37
lines changed

6 files changed

+41
-37
lines changed

packages/angular/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ For the complete documentation, see the [Angular SDK Reference](https://cloudina
3737
[video](https://cloudinary.com/documentation/angular_video_manipulation#video_element) tags.
3838

3939
## Version Support
40-
| SDK Version | ng 10.0 | ng 11.0 |
41-
|---------------|----------|---------|
42-
| 1.0.0 & up | V | V
40+
| SDK Version | ng 10.0 | ng 11.0 | ng 12.0 | ng 13.0 | ng 14.0 | ng 15.0 | ng 16.0 & up |
41+
|---------------|---------|---------|---------|---------|---------|---------|--------------|
42+
| 1.x.x | V | V | V | V | V | V | |
43+
| 2.x.x | | | V | V | V | V | V |
44+
45+
New features will only be added to version 2.x.
4346

4447
## Installation
4548
### Install using your favorite package manager (yarn, npm)

packages/angular/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
},
1717
"private": true,
1818
"dependencies": {
19-
"@angular/animations": "~10.2.4",
20-
"@angular/common": "~10.2.4",
21-
"@angular/compiler": "~10.2.4",
22-
"@angular/core": "~10.2.4",
23-
"@angular/forms": "~10.2.4",
24-
"@angular/platform-browser": "~10.2.4",
25-
"@angular/platform-browser-dynamic": "~10.2.4",
26-
"@angular/router": "~10.2.4",
19+
"@angular/animations": "~12.2.16",
20+
"@angular/common": "~12.2.16",
21+
"@angular/compiler": "~12.2.16",
22+
"@angular/core": "~12.2.16",
23+
"@angular/forms": "~12.2.16",
24+
"@angular/platform-browser": "~12.2.16",
25+
"@angular/platform-browser-dynamic": "~12.2.16",
26+
"@angular/router": "~12.2.16",
2727
"rxjs": "~6.6.0",
2828
"tslib": "^2.0.0",
29-
"zone.js": "~0.10.2"
29+
"zone.js": "~0.11.4"
3030
},
3131
"devDependencies": {
32-
"@angular-devkit/build-angular": "~0.1002.3",
33-
"@angular/cli": "~10.2.3",
34-
"@angular/compiler-cli": "~10.2.4",
32+
"@angular-devkit/build-angular": "~12.2.18",
33+
"@angular/cli": "~12.2.16",
34+
"@angular/compiler-cli": "~12.2.16",
3535
"@cloudinary/html": "^1.11.2",
3636
"@cloudinary/url-gen": "^1.8.7",
3737
"@types/jasmine": "~3.5.0",
@@ -41,16 +41,16 @@
4141
"codelyzer": "^6.0.0",
4242
"jasmine-core": "~3.8.0",
4343
"jasmine-spec-reporter": "~5.0.0",
44-
"karma": "~5.0.0",
44+
"karma": "^6.0.0",
4545
"karma-chrome-launcher": "~3.1.0",
4646
"karma-coverage-istanbul-reporter": "~3.0.2",
47-
"karma-jasmine": "~4.0.0",
47+
"karma-jasmine": "~5.0.0",
4848
"karma-jasmine-html-reporter": "^1.5.0",
49-
"ng-packagr": "^10.1.0",
49+
"ng-packagr": "^12.2.7",
5050
"protractor": "~7.0.0",
5151
"ts-node": "~8.3.0",
5252
"tslint": "~6.1.0",
53-
"typescript": "~4.0.2"
53+
"typescript": "~4.2.3"
5454
},
5555
"overrides": {
5656
"protractor": {

packages/angular/playground/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,30 @@
77
},
88
"private": true,
99
"dependencies": {
10-
"@angular/animations": "~10.2.4",
11-
"@angular/common": "~10.2.4",
12-
"@angular/compiler": "~10.2.4",
13-
"@angular/core": "~10.2.4",
14-
"@angular/forms": "~10.2.4",
15-
"@angular/platform-browser": "~10.2.4",
16-
"@angular/platform-browser-dynamic": "~10.2.4",
17-
"@angular/router": "~10.2.4",
10+
"@angular/animations": "~12.2.16",
11+
"@angular/common": "~12.2.16",
12+
"@angular/compiler": "~12.2.16",
13+
"@angular/core": "~12.2.16",
14+
"@angular/forms": "~12.2.16",
15+
"@angular/platform-browser": "~12.2.16",
16+
"@angular/platform-browser-dynamic": "~12.2.16",
17+
"@angular/router": "~12.2.16",
1818
"@cloudinary/url-gen": "^1.8.7",
1919
"rxjs": "~6.6.0",
2020
"tslib": "^2.0.0",
21-
"zone.js": "~0.10.2"
21+
"zone.js": "~0.11.4"
2222
},
2323
"devDependencies": {
24-
"@angular-devkit/build-angular": "~0.1002.3",
25-
"@angular/cli": "~10.2.3",
26-
"@angular/compiler-cli": "~10.2.4",
24+
"@angular-devkit/build-angular": "~12.2.18",
25+
"@angular/cli": "~12.2.16",
26+
"@angular/compiler-cli": "~12.2.16",
2727
"@types/node": "^12.11.1",
2828
"@types/jasmine": "~3.5.0",
2929
"@types/jasminewd2": "~2.0.3",
3030
"codelyzer": "^6.0.0",
3131
"protractor": "~7.0.0",
3232
"ts-node": "~8.3.0",
3333
"tslint": "~6.1.0",
34-
"typescript": "~4.0.2"
34+
"typescript": "~4.2.3"
3535
}
3636
}

packages/angular/projects/cloudinary-library/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"version": "1.11.2",
44
"repository": "https://github.com/cloudinary/frontend-frameworks",
55
"peerDependencies": {
6-
"@angular/common": ">=10.0.0",
7-
"@angular/core": ">=10.0.0"
6+
"@angular/common": ">=12.0.0",
7+
"@angular/core": ">=12.0.0"
88
},
99
"devDependencies": {
10-
"@angular/common": "~10.2.4",
11-
"@angular/core": "~10.2.4",
10+
"@angular/common": "~12.2.16",
11+
"@angular/core": "~12.2.16",
1212
"@cloudinary/url-gen": "^1.8.7"
1313
},
1414
"dependencies": {

packages/angular/projects/cloudinary-library/tsconfig.lib.prod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"strictInjectionParameters": true,
2626
"flatModuleId": "AUTOGENERATED",
2727
"flatModuleOutFile": "AUTOGENERATED",
28-
"enableIvy": false
28+
"compilationMode": "partial"
2929
},
3030
"exclude": [
3131
"src/test.ts",

packages/angular/projects/cloudinary-library/tsconfig.spec.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"paths": {
5+
"@angular/*": [ "node_modules/@angular/*" ],
56
"core-js/es7/reflect": [
67
"node_modules/core-js/proposals/reflect-metadata",
78
],

0 commit comments

Comments
 (0)