Skip to content

Commit

Permalink
Update to Angular 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Heatmanofurioso committed Dec 11, 2023
1 parent 9a7d235 commit 7f25ada
Show file tree
Hide file tree
Showing 7 changed files with 4,344 additions and 4,333 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.2.0
- Update to Angular 17
- Update several dependencies

# 2.1.0
- Update to Angular 16
- Update several dependencies
Expand Down
14 changes: 7 additions & 7 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Check out the [demo](https://abacritt.github.io/angularx-social-login/).
### Compatibility Matrix

| Library Version | Angular Version |
|---------------------------------------|-------------|
| @abacritt/angularx-social-login:2.1.X | 16 |
| @abacritt/angularx-social-login:2.0.X | 15, 16 |
| @abacritt/angularx-social-login:1 | 13, 14, 15 |
| angularx-social-login:4 | 12, 13 |
| angularx-social-login:3 | 9, 10, 11 |
| angularx-social-login:2 | 5, 6, 7, 8 |
|---------------------------------------|-----------------|
| @abacritt/angularx-social-login:2.1.X | 16, 17 |
| @abacritt/angularx-social-login:2.0.X | 15, 16 |
| @abacritt/angularx-social-login:1 | 13, 14, 15 |
| angularx-social-login:4 | 12, 13 |
| angularx-social-login:3 | 9, 10, 11 |
| angularx-social-login:2 | 5, 6, 7, 8 |

## Getting started

Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angularx-social-login-ws:build"
"buildTarget": "angularx-social-login-ws:build"
},
"configurations": {
"production": {
"browserTarget": "angularx-social-login-ws:build:production"
"buildTarget": "angularx-social-login-ws:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angularx-social-login-ws:build"
"buildTarget": "angularx-social-login-ws:build"
}
},
"test": {
Expand Down
64 changes: 32 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,48 +15,48 @@
},
"private": true,
"dependencies": {
"@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",
"@angular/animations": "^17.0.6",
"@angular/common": "^17.0.6",
"@angular/compiler": "^17.0.6",
"@angular/core": "^17.0.6",
"@angular/forms": "^17.0.6",
"@angular/platform-browser": "^17.0.6",
"@angular/platform-browser-dynamic": "^17.0.6",
"@angular/router": "^17.0.6",
"rxjs": "~7.8.1",
"tslib": "^2.5.0",
"zone.js": "~0.13.0"
"tslib": "^2.6.2",
"zone.js": "~0.14.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.0.0",
"@angular-eslint/builder": "16.0.1",
"@angular-eslint/eslint-plugin": "16.0.1",
"@angular-eslint/eslint-plugin-template": "16.0.1",
"@angular-eslint/schematics": "16.0.1",
"@angular-eslint/template-parser": "16.0.1",
"@angular/cli": "^16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@angular/language-service": "^16.0.0",
"@types/google.accounts": "^0.0.7",
"@types/jasmine": "^4.3.1",
"@types/jasminewd2": "^2.0.10",
"@types/node": "^20.1.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"@angular-devkit/build-angular": "^17.0.6",
"@angular-eslint/builder": "17.1.1",
"@angular-eslint/eslint-plugin": "17.1.1",
"@angular-eslint/eslint-plugin-template": "17.1.1",
"@angular-eslint/schematics": "17.1.1",
"@angular-eslint/template-parser": "17.1.1",
"@angular/cli": "^17.0.6",
"@angular/compiler-cli": "^17.0.6",
"@angular/language-service": "^17.0.6",
"@types/google.accounts": "^0.0.14",
"@types/jasmine": "^5.1.4",
"@types/jasminewd2": "^2.0.13",
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.53.0",
"husky": "^8.0.3",
"jasmine-core": "~4.6.0",
"jasmine-core": "~5.1.1",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.2",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.0.0",
"lint-staged": "^13.2.2",
"ng-packagr": "^16.0.0",
"karma-jasmine-html-reporter": "^2.1.0",
"lint-staged": "^15.2.0",
"ng-packagr": "^17.0.2",
"protractor": "~7.0.0",
"ts-node": "~10.9.1",
"typescript": "^5.0.4"
"ts-node": "~10.9.2",
"typescript": "5.2.2"
},
"engines": {
"node": ">=18.7.0"
Expand Down
8 changes: 4 additions & 4 deletions projects/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacritt/angularx-social-login",
"version": "2.1.0",
"version": "2.2.0",
"description": "Social login and authentication module for Angular 14. Supports authentication with Google, Facebook, Amazon, and VK. Can be extended to other providers also.",
"repository": {
"type": "git",
Expand All @@ -22,11 +22,11 @@
"url": "https://github.com/abacritt/angularx-social-login/issues"
},
"dependencies": {
"tslib": ">=2.5.0"
"tslib": ">=2.6.2"
},
"peerDependencies": {
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0"
"@angular/common": ">=17.0.0",
"@angular/core": ">=17.0.0"
},
"homepage": "https://github.com/abacritt/angularx-social-login#readme",
"main": "bundles/abacrit-angularx-social-login.umd.js",
Expand Down
4 changes: 2 additions & 2 deletions projects/lib/src/directives/google-signin-button.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ export class GoogleSigninButtonDirective {
logo_alignment: 'left' | 'center' = 'left';

@Input()
width: string = '';
width: number = 0;

@Input()
locale: string = '';

constructor(el: ElementRef, socialAuthService: SocialAuthService) {
socialAuthService.initState.pipe(take(1)).subscribe(() => {
Promise.resolve(this.width).then((value) => {
if (value > '400' || (value < '200' && value != '')) {
if (value > 400 || (value < 200 && value != 0)) {
Promise.reject(
'Please note .. max-width 400 , min-width 200 ' +
'(https://developers.google.com/identity/gsi/web/tools/configurator)'
Expand Down
Loading

0 comments on commit 7f25ada

Please sign in to comment.