Skip to content

Commit

Permalink
feat: Angular 16 support (#245)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Gay <5970002+GayKevin@users.noreply.github.com>
  • Loading branch information
GayKevin authored Jul 22, 2023
1 parent ac698d3 commit 37b3fc8
Show file tree
Hide file tree
Showing 6 changed files with 2,376 additions and 1,837 deletions.
6 changes: 4 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
"styles": [
"projects/ngx-sweetalert2-demo/src/styles.css"
],
"allowedCommonJsDependencies": [
"sweetalert2"
],
"scripts": []
},
"configurations": {
Expand Down Expand Up @@ -137,8 +140,7 @@
}
}
},
"defaultProject": "ngx-sweetalert2-demo",
"cli": {
"analytics": false
}
}
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~15.0.0",
"@angular/common": "~15.0.0",
"@angular/compiler": "~15.0.0",
"@angular/core": "~15.0.0",
"@angular/forms": "~15.0.0",
"@angular/platform-browser": "~15.0.0",
"@angular/platform-browser-dynamic": "~15.0.0",
"@angular/router": "~15.0.0",
"@angular/animations": "~16.0.0",
"@angular/common": "~16.0.0",
"@angular/compiler": "~16.0.0",
"@angular/core": "~16.0.0",
"@angular/forms": "~16.0.0",
"@angular/platform-browser": "~16.0.0",
"@angular/platform-browser-dynamic": "~16.0.0",
"@angular/router": "~16.0.0",
"rxjs": "~7.5.7",
"sweetalert2": "^11.5.2",
"tslib": "^2.4.0",
"zone.js": "~0.11.8"
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~15.0.0",
"@angular/cli": "~15.0.0",
"@angular/compiler-cli": "~15.0.0",
"@angular/language-service": "~15.0.0",
"@angular-devkit/build-angular": "~16.0.0",
"@angular/cli": "~16.0.0",
"@angular/compiler-cli": "~16.0.0",
"@angular/language-service": "~16.0.0",
"@types/jasmine": "^4.3.0",
"@types/jasminewd2": "~2.0.10",
"@types/node": "^18.11.0",
Expand All @@ -51,10 +51,10 @@
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.0.0",
"ng-packagr": "^15.0.0",
"ng-packagr": "^16.0.0",
"npm-run-all": "^4.1.5",
"semantic-release": "^19.0.5",
"ts-node": "~10.9.1",
"typescript": "~4.8.4"
"typescript": "~4.9.3"
}
}
4 changes: 3 additions & 1 deletion projects/ngx-sweetalert2-demo/.browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
not IE 9-11 # For IE 9-11 support, remove 'not'.
not kaios 2.5
not op_mini all
4 changes: 2 additions & 2 deletions projects/ngx-sweetalert2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"tslib": "^2.0.0"
},
"peerDependencies": {
"@angular/common": "^14.0.0 || ^15.0.0",
"@angular/core": "^14.0.0 || ^15.0.0",
"@angular/common": "^14.0.0 || ^15.0.0 || ^16.0.0",
"@angular/core": "^14.0.0 || ^15.0.0 || ^16.0.0",
"sweetalert2": "^11.0.0"
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"target": "es2022",
"typeRoots": ["node_modules/@types"],
"lib": ["es2018", "dom"],
"strict": true,
Expand Down
Loading

0 comments on commit 37b3fc8

Please sign in to comment.