From 0093386332639d471dd113a7625a860d3a380719 Mon Sep 17 00:00:00 2001 From: Mahmut Gundogdu Date: Tue, 27 Dec 2022 15:25:40 +0300 Subject: [PATCH] add @abp/ng.oauth on package.json --- npm/ng-packs/package.json | 1 + .../oauth/src/lib/services/oauth.service.ts | 2 +- ...flow-strategy.ts => auth-flow-strategy.ts} | 0 .../packages/oauth/src/lib/tokens/index.ts | 2 +- .../packages/schematics/collection.json | 40 ------------------- 5 files changed, 3 insertions(+), 42 deletions(-) rename npm/ng-packs/packages/oauth/src/lib/tokens/{ auth-flow-strategy.ts => auth-flow-strategy.ts} (100%) delete mode 100644 npm/ng-packs/packages/schematics/collection.json diff --git a/npm/ng-packs/package.json b/npm/ng-packs/package.json index ce78984581..de3a111552 100644 --- a/npm/ng-packs/package.json +++ b/npm/ng-packs/package.json @@ -64,6 +64,7 @@ "@abp/ng.account": "~7.0.0-rc.5", "@abp/ng.account.core": "~7.0.0-rc.5", "@abp/ng.core": "~7.0.0-rc.5", + "@abp/ng.oauth":"~7.0.0-rc.5", "@abp/ng.feature-management": "~7.0.0-rc.5", "@abp/ng.identity": "~7.0.0-rc.5", "@abp/ng.permission-management": "~7.0.0-rc.5", diff --git a/npm/ng-packs/packages/oauth/src/lib/services/oauth.service.ts b/npm/ng-packs/packages/oauth/src/lib/services/oauth.service.ts index 9588fef305..e28eebacc4 100644 --- a/npm/ng-packs/packages/oauth/src/lib/services/oauth.service.ts +++ b/npm/ng-packs/packages/oauth/src/lib/services/oauth.service.ts @@ -5,7 +5,7 @@ import { filter, map, switchMap, take, tap } from 'rxjs/operators'; import { IAuthService, LoginParams } from '@abp/ng.core'; import { AuthFlowStrategy } from '../strategies'; import { EnvironmentService } from '@abp/ng.core'; -import { AUTH_FLOW_STRATEGY } from '../tokens/ auth-flow-strategy'; +import { AUTH_FLOW_STRATEGY } from '../tokens/auth-flow-strategy'; import { OAuthService } from 'angular-oauth2-oidc'; @Injectable({ diff --git a/npm/ng-packs/packages/oauth/src/lib/tokens/ auth-flow-strategy.ts b/npm/ng-packs/packages/oauth/src/lib/tokens/auth-flow-strategy.ts similarity index 100% rename from npm/ng-packs/packages/oauth/src/lib/tokens/ auth-flow-strategy.ts rename to npm/ng-packs/packages/oauth/src/lib/tokens/auth-flow-strategy.ts diff --git a/npm/ng-packs/packages/oauth/src/lib/tokens/index.ts b/npm/ng-packs/packages/oauth/src/lib/tokens/index.ts index 2ee0bf7fde..1ec58f54b3 100644 --- a/npm/ng-packs/packages/oauth/src/lib/tokens/index.ts +++ b/npm/ng-packs/packages/oauth/src/lib/tokens/index.ts @@ -1 +1 @@ -export * from './ auth-flow-strategy'; +export * from './auth-flow-strategy'; diff --git a/npm/ng-packs/packages/schematics/collection.json b/npm/ng-packs/packages/schematics/collection.json deleted file mode 100644 index 16f148d78a..0000000000 --- a/npm/ng-packs/packages/schematics/collection.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "schematics": { - "proxy-add": { - "description": "ABP Proxy Generator Add Schematics", - "factory": "./commands/proxy-add", - "schema": "./commands/proxy-add/schema.json" - }, - "proxy-index": { - "description": "ABP Proxy Generator Index Schematics", - "factory": "./commands/proxy-index", - "schema": "./commands/proxy-index/schema.json" - }, - "proxy-refresh": { - "description": "ABP Proxy Generator Refresh Schematics", - "factory": "./commands/proxy-refresh", - "schema": "./commands/proxy-refresh/schema.json" - }, - "proxy-remove": { - "description": "ABP Proxy Generator Remove Schematics", - "factory": "./commands/proxy-remove", - "schema": "./commands/proxy-remove/schema.json" - }, - "api": { - "description": "ABP API Generator Schematics", - "factory": "./commands/api", - "schema": "./commands/api/schema.json" - }, - "create-lib": { - "description": "ABP Create Library Schematics", - "factory": "./commands/create-lib", - "schema": "./commands/create-lib/schema.json" - }, - "change-theme": { - "description": "ABP Change Styles of Theme Schematics", - "factory": "./commands/change-theme", - "schema": "./commands/change-theme/schema.json" - - } - } -}