Skip to content

Commit

Permalink
feat: update Angular to v15
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldxdonald committed Oct 9, 2024
1 parent 3df0671 commit 87499e5
Show file tree
Hide file tree
Showing 7 changed files with 1,938 additions and 2,603 deletions.
16 changes: 0 additions & 16 deletions .browserslistrc

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/famous-snakes-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"embla-carousel-angular": major
---

Bump the minimum required Angular version to v15
8 changes: 8 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,13 @@
}
}
}
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,33 @@
"projects/*"
],
"dependencies": {
"@angular/animations": "^14.2.0",
"@angular/common": "^14.2.0",
"@angular/compiler": "^14.2.0",
"@angular/core": "^14.2.0",
"@angular/forms": "^14.2.0",
"@angular/platform-browser": "^14.2.0",
"@angular/platform-browser-dynamic": "^14.2.0",
"@angular/router": "^14.2.0",
"@angular/animations": "^15.2.10",
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/forms": "^15.2.10",
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^15.2.10",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.2.13",
"@angular-eslint/builder": "14.4.0",
"@angular-eslint/eslint-plugin": "14.4.0",
"@angular-eslint/eslint-plugin-template": "14.4.0",
"@angular-eslint/schematics": "14.4.0",
"@angular-eslint/template-parser": "14.4.0",
"@angular/cli": "~14.2.13",
"@angular/compiler-cli": "^14.2.0",
"@angular-devkit/build-angular": "^15.2.11",
"@angular-eslint/builder": "15.2.1",
"@angular-eslint/eslint-plugin": "15.2.1",
"@angular-eslint/eslint-plugin-template": "15.2.1",
"@angular-eslint/schematics": "15.2.1",
"@angular-eslint/template-parser": "15.2.1",
"@angular/cli": "~15.2.11",
"@angular/compiler-cli": "^15.2.10",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@dndxdnd/eslint-config": "^1.0.2",
"@types/jasmine": "~4.0.0",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"eslint": "^8.28.0",
"jasmine-core": "~4.3.0",
"karma": "~6.4.0",
Expand All @@ -51,9 +51,9 @@
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"lint-staged": "^15.2.2",
"ng-packagr": "~14.2.0",
"ng-packagr": "~15.2.2",
"simple-git-hooks": "^2.9.0",
"typescript": "~4.7.2"
"typescript": "~4.9.5"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand Down
4,462 changes: 1,898 additions & 2,564 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions projects/embla-carousel-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"angular"
],
"peerDependencies": {
"@angular/common": ">=14.0.0",
"@angular/core": ">=14.0.0"
"@angular/common": ">=15.0.0",
"@angular/core": ">=15.0.0"
},
"dependencies": {
"embla-carousel": "^8.3.0",
Expand Down
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"embla-carousel-angular": [
"projects/embla-carousel-angular/src/public-api"
],
"@angular/*": [
"./node_modules/@angular/*"
]
},
"strict": true,
"noImplicitOverride": true,
Expand All @@ -21,12 +24,13 @@
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2020",
"target": "ES2022",
"module": "es2020",
"lib": [
"es2020",
"dom"
],
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
Expand Down

0 comments on commit 87499e5

Please sign in to comment.