Skip to content

Commit 71e3318

Browse files
committed
build: upgrade to angular 15
BREAKING CHANGE: angular 15 or higher is now required to use this package
1 parent c183644 commit 71e3318

11 files changed

+1454
-2709
lines changed

.browserslistrc

-17
This file was deleted.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 align="center">angular 14.0+ calendar</h1>
1+
<h1 align="center">angular 15.0+ calendar</h1>
22

33
<div align="center">
44

@@ -40,7 +40,7 @@ https://mattlewis92.github.io/angular-calendar/
4040

4141
<h2 align="center">About</h2>
4242

43-
A calendar component for angular 14.0+ that can display events on a month, week or day view. The successor of [angular-bootstrap-calendar](https://github.com/mattlewis92/angular-bootstrap-calendar).
43+
A calendar component for angular 15.0+ that can display events on a month, week or day view. The successor of [angular-bootstrap-calendar](https://github.com/mattlewis92/angular-bootstrap-calendar).
4444

4545
<h2 align="center">Getting started</h2>
4646

angular.json

+8
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,13 @@
148148
},
149149
"cli": {
150150
"schematicCollections": ["@angular-eslint/schematics"]
151+
},
152+
"schematics": {
153+
"@angular-eslint/schematics:application": {
154+
"setParserOptionsProject": true
155+
},
156+
"@angular-eslint/schematics:library": {
157+
"setParserOptionsProject": true
158+
}
151159
}
152160
}

package.json

+30-30
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-calendar",
33
"version": "0.30.1",
4-
"description": "A calendar component for angular 14.0+ that can display events on a month, week or day view",
4+
"description": "A calendar component for angular 15.0+ that can display events on a month, week or day view",
55
"funding": {
66
"url": "https://github.com/sponsors/mattlewis92"
77
},
@@ -82,34 +82,34 @@
8282
},
8383
"homepage": "https://github.com/mattlewis92/angular-calendar#readme",
8484
"devDependencies": {
85-
"@angular-devkit/build-angular": "^14.2.10",
86-
"@angular-eslint/builder": "14.0.2",
87-
"@angular-eslint/eslint-plugin": "14.0.2",
88-
"@angular-eslint/eslint-plugin-template": "14.0.2",
89-
"@angular-eslint/schematics": "14.0.2",
90-
"@angular-eslint/template-parser": "14.0.2",
91-
"@angular/animations": "^14.2.12",
92-
"@angular/cdk": "^14.2.7",
93-
"@angular/cli": "^14.2.10",
94-
"@angular/common": "^14.2.12",
95-
"@angular/compiler": "^14.2.12",
96-
"@angular/compiler-cli": "^14.2.12",
97-
"@angular/core": "^14.2.12",
98-
"@angular/forms": "^14.2.12",
99-
"@angular/language-service": "^14.2.12",
100-
"@angular/localize": "^14.2.12",
101-
"@angular/platform-browser": "^14.2.12",
102-
"@angular/platform-browser-dynamic": "^14.2.12",
103-
"@angular/router": "^14.2.12",
85+
"@angular-devkit/build-angular": "^15.0.3",
86+
"@angular-eslint/builder": "15.1.0",
87+
"@angular-eslint/eslint-plugin": "15.1.0",
88+
"@angular-eslint/eslint-plugin-template": "15.1.0",
89+
"@angular-eslint/schematics": "15.1.0",
90+
"@angular-eslint/template-parser": "15.1.0",
91+
"@angular/animations": "^15.0.3",
92+
"@angular/cdk": "^15.0.2",
93+
"@angular/cli": "^15.0.3",
94+
"@angular/common": "^15.0.3",
95+
"@angular/compiler": "^15.0.3",
96+
"@angular/compiler-cli": "^15.0.3",
97+
"@angular/core": "^15.0.3",
98+
"@angular/forms": "^15.0.3",
99+
"@angular/language-service": "^15.0.3",
100+
"@angular/localize": "^15.0.3",
101+
"@angular/platform-browser": "^15.0.3",
102+
"@angular/platform-browser-dynamic": "^15.0.3",
103+
"@angular/router": "^15.0.3",
104104
"@commitlint/cli": "^17.3.0",
105105
"@commitlint/config-conventional": "^17.3.0",
106106
"@commitlint/prompt": "^17.3.0",
107107
"@compodoc/compodoc": "^1.1.19",
108108
"@fortawesome/fontawesome-free": "^6.2.1",
109-
"@ng-bootstrap/ng-bootstrap": "^13.1.1",
109+
"@ng-bootstrap/ng-bootstrap": "^14.0.0",
110110
"@perfectmemory/ngx-contextmenu": "^14.1.1",
111111
"@popperjs/core": "^2.11.6",
112-
"@schematics/angular": "^14.2.10",
112+
"@schematics/angular": "^15.0.3",
113113
"@sinonjs/fake-timers": "^9.1.2",
114114
"@stackblitz/sdk": "^1.8.1",
115115
"@types/chai": "^4.3.4",
@@ -143,10 +143,10 @@
143143
"karma-mocha": "^2.0.1",
144144
"karma-mocha-reporter": "^2.2.5",
145145
"lint-staged": "^13.1.0",
146-
"mocha": "^10.1.0",
146+
"mocha": "^10.2.0",
147147
"moment": "^2.29.4",
148148
"moment-timezone": "^0.5.40",
149-
"ng-packagr": "^14.2.2",
149+
"ng-packagr": "^15.0.3",
150150
"ngx-clipboard": "^15.1.0",
151151
"npm-run-all": "^4.1.5",
152152
"postcss": "^8.4.19",
@@ -166,17 +166,14 @@
166166
"stylelint-config-standard": "^27.0.0",
167167
"stylelint-config-standard-scss": "^5.0.0",
168168
"ts-node": "^10.9.1",
169-
"typescript": "~4.7.4",
169+
"typescript": "~4.8.4",
170170
"util": "^0.12.5",
171171
"zone.js": "^0.11.8"
172172
},
173-
"peerDependencies": {
174-
"@angular/core": ">=14.0.0"
175-
},
176173
"dependencies": {
177174
"@scarf/scarf": "^1.1.1",
178-
"angular-draggable-droppable": "^7.0.0",
179-
"angular-resizable-element": "^6.0.2",
175+
"angular-draggable-droppable": "^8.0.0",
176+
"angular-resizable-element": "^7.0.0",
180177
"calendar-utils": "^0.10.4",
181178
"positioning": "^2.0.1",
182179
"tslib": "^2.4.1"
@@ -222,5 +219,8 @@
222219
"./scss/*": {
223220
"sass": "./scss/*"
224221
}
222+
},
223+
"peerDependencies": {
224+
"@angular/core": ">=15.0.0"
225225
}
226226
}

0 commit comments

Comments
 (0)