Skip to content

Commit

Permalink
Upgrade to Angular 16 and official jest builder
Browse files Browse the repository at this point in the history
Because I could not make @angular-builders/jest work and Angular 15 is
EOL in a few days anyway.
  • Loading branch information
PowerKiKi authored and Mawi137 committed May 8, 2024
1 parent 808c4d5 commit 68b52f4
Show file tree
Hide file tree
Showing 11 changed files with 3,899 additions and 3,229 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### Upgrade instructions
For a list of breaking changes and update instructions, go to [releases](https://github.com/Mawi137/ngx-image-cropper/releases).
Only Angular 15+ is supported.
Only Angular 16+ is supported.

### Example usage
Add the ImageCropperModule to the imports of the module which will be using the Image Cropper.
Expand Down
10 changes: 7 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-builders/jest:run",
"builder": "@angular-devkit/build-angular:jest",
"options": {
"tsConfig": "tsconfig.spec.json"
"tsConfig": "projects/ngx-image-cropper/tsconfig.spec.json",
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand All @@ -49,7 +53,7 @@
"outputPath": "dist/demo-app",
"index": "projects/demo-app/src/index.html",
"main": "projects/demo-app/src/main.ts",
"polyfills": "projects/demo-app/src/polyfills.ts",
"polyfills": ["zone.js"],
"tsConfig": "projects/demo-app/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand Down
6 changes: 0 additions & 6 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 68b52f4

Please sign in to comment.