Skip to content

Commit 320b745

Browse files
kisamotokwiateuszorizens
authored
bump angular to v18 (#436)
* bump angular to v18 * update Changelog and infinite-scroll package * feat: make scroll directive standalone (#427) * chore: remove empty and unused service * feat: make scroll directive standalone resolves #423 * release: standalone --------- Co-authored-by: kwiateusz <[email protected]> Co-authored-by: Oren Farhi <[email protected]>
1 parent bf09910 commit 320b745

File tree

6 files changed

+2655
-2096
lines changed

6 files changed

+2655
-2096
lines changed

angular.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@
4646
"prefix": "app",
4747
"architect": {
4848
"build": {
49-
"builder": "@angular-devkit/build-angular:browser",
49+
"builder": "@angular-devkit/build-angular:application",
5050
"options": {
51-
"outputPath": "dist/demo",
51+
"outputPath": {
52+
"base": "dist/demo"
53+
},
5254
"index": "projects/demo/src/index.html",
53-
"main": "projects/demo/src/main.ts",
5455
"polyfills": ["zone.js"],
5556
"tsConfig": "projects/demo/tsconfig.app.json",
5657
"assets": [
@@ -60,7 +61,8 @@
6061
"styles": [
6162
"projects/demo/src/styles.css"
6263
],
63-
"scripts": []
64+
"scripts": [],
65+
"browser": "projects/demo/src/main.ts"
6466
},
6567
"configurations": {
6668
"production": {
@@ -85,9 +87,7 @@
8587
"outputHashing": "all"
8688
},
8789
"development": {
88-
"buildOptimizer": false,
8990
"optimization": false,
90-
"vendorChunk": true,
9191
"extractLicenses": false,
9292
"sourceMap": true,
9393
"namedChunks": true

package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@
1313
},
1414
"private": true,
1515
"dependencies": {
16-
"@angular/animations": "^17.0.1",
17-
"@angular/common": "^17.0.1",
18-
"@angular/compiler": "^17.0.1",
19-
"@angular/core": "^17.0.1",
20-
"@angular/forms": "^17.0.1",
21-
"@angular/platform-browser": "^17.0.1",
22-
"@angular/platform-browser-dynamic": "^17.0.1",
23-
"@angular/router": "^17.0.1",
16+
"@angular/animations": "^18.0.0",
17+
"@angular/common": "^18.0.0",
18+
"@angular/compiler": "^18.0.0",
19+
"@angular/core": "^18.0.0",
20+
"@angular/forms": "^18.0.0",
21+
"@angular/platform-browser": "^18.0.0",
22+
"@angular/platform-browser-dynamic": "^18.0.0",
23+
"@angular/router": "^18.0.0",
2424
"@scarf/scarf": "^1.1.1",
2525
"rxjs": "~7.4.0",
2626
"tslib": "^2.3.0",
2727
"zone.js": "~0.14.2"
2828
},
2929
"devDependencies": {
30-
"@angular-devkit/build-angular": "^17.0.0",
31-
"@angular/cli": "^17.0.0",
32-
"@angular/compiler-cli": "^17.0.1",
30+
"@angular-devkit/build-angular": "^18.0.1",
31+
"@angular/cli": "^18.0.1",
32+
"@angular/compiler-cli": "^18.0.0",
3333
"@types/jasmine": "~3.10.0",
3434
"@types/node": "^12.11.1",
3535
"jasmine-core": "~3.10.0",
@@ -38,7 +38,7 @@
3838
"karma-coverage": "~2.1.0",
3939
"karma-jasmine": "~4.0.0",
4040
"karma-jasmine-html-reporter": "~1.7.0",
41-
"ng-packagr": "^17.0.0",
42-
"typescript": "~5.2.2"
41+
"ng-packagr": "^18.0.0",
42+
"typescript": "~5.4.5"
4343
}
4444
}

projects/ngx-infinite-scroll/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v 18.0.0 (2024/05/30)
2+
3+
- [UPGRADE] - now using Angular 18
4+
15
## v 17.0.1 (2024/05/30)
26

37
- feat: introducing ngx-is as a standlaone component

projects/ngx-infinite-scroll/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"postinstall": "opencollective-postinstall || exit 0"
1515
},
1616
"peerDependencies": {
17-
"@angular/common": ">=17.0.0 <18.0.0",
18-
"@angular/core": ">=17.0.0 <18.0.0"
17+
"@angular/common": ">=18.0.0 <19.0.0",
18+
"@angular/core": ">=18.0.0 <19.0.0"
1919
},
2020
"dependencies": {
2121
"tslib": "^2.3.0"

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"baseUrl": "./",
66
"outDir": "./dist/out-tsc",
77
"forceConsistentCasingInFileNames": true,
8+
"esModuleInterop": true,
89
"strict": true,
910
"noImplicitOverride": true,
1011
"noPropertyAccessFromIndexSignature": true,
@@ -18,7 +19,6 @@
1819
]
1920
},
2021
"declaration": false,
21-
"downlevelIteration": true,
2222
"experimentalDecorators": true,
2323
"moduleResolution": "node",
2424
"importHelpers": true,

0 commit comments

Comments
 (0)