diff --git a/npm/ng-packs/packages/identity-config/README.md b/npm/ng-packs/packages/identity-config/README.md deleted file mode 100644 index 800ae0093c..0000000000 --- a/npm/ng-packs/packages/identity-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @abp/ng.identity.config - -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/packages/identity-config/jest.config.js b/npm/ng-packs/packages/identity-config/jest.config.js deleted file mode 100644 index 27701730cb..0000000000 --- a/npm/ng-packs/packages/identity-config/jest.config.js +++ /dev/null @@ -1,6 +0,0 @@ -const jestConfig = require('../../jest.config'); - -module.exports = { - ...jestConfig, - name: 'identity-config', -}; diff --git a/npm/ng-packs/packages/identity-config/ng-package.json b/npm/ng-packs/packages/identity-config/ng-package.json deleted file mode 100644 index d72870cd39..0000000000 --- a/npm/ng-packs/packages/identity-config/ng-package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../dist/identity-config", - "lib": { - "entryFile": "src/public-api.ts" - } -} diff --git a/npm/ng-packs/packages/identity-config/package.json b/npm/ng-packs/packages/identity-config/package.json deleted file mode 100644 index 02f8935cb7..0000000000 --- a/npm/ng-packs/packages/identity-config/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@abp/ng.identity.config", - "version": "2.9.0", - "homepage": "https://abp.io", - "repository": { - "type": "git", - "url": "https://github.com/abpframework/abp.git" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/npm/ng-packs/packages/identity-config/src/lib/identity-config.module.ts b/npm/ng-packs/packages/identity-config/src/lib/identity-config.module.ts deleted file mode 100644 index a354cd6a46..0000000000 --- a/npm/ng-packs/packages/identity-config/src/lib/identity-config.module.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { noop } from '@abp/ng.core'; -import { APP_INITIALIZER, NgModule } from '@angular/core'; -import { IdentityConfigService } from './services/identity-config.service'; - -@NgModule({ - providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: noop, multi: true }], -}) -export class IdentityConfigModule {} diff --git a/npm/ng-packs/packages/identity-config/src/lib/services/identity-config.service.ts b/npm/ng-packs/packages/identity-config/src/lib/services/identity-config.service.ts deleted file mode 100644 index c1fdbb102d..0000000000 --- a/npm/ng-packs/packages/identity-config/src/lib/services/identity-config.service.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { addAbpRoutes, eLayoutType } from '@abp/ng.core'; -import { Injectable } from '@angular/core'; -import { eIdentityRouteNames } from '@abp/ng.identity'; - -@Injectable({ - providedIn: 'root', -}) -export class IdentityConfigService { - constructor() { - addAbpRoutes([ - { - name: eIdentityRouteNames.Administration, - path: '', - order: 1, - wrapper: true, - iconClass: 'fa fa-wrench', - }, - { - name: eIdentityRouteNames.IdentityManagement, - path: 'identity', - order: 1, - parentName: eIdentityRouteNames.Administration, - layout: eLayoutType.application, - iconClass: 'fa fa-id-card-o', - children: [ - { - path: 'roles', - name: eIdentityRouteNames.Roles, - order: 1, - requiredPolicy: 'AbpIdentity.Roles', - }, - { - path: 'users', - name: eIdentityRouteNames.Users, - order: 2, - requiredPolicy: 'AbpIdentity.Users', - }, - ], - }, - ]); - } -} diff --git a/npm/ng-packs/packages/identity-config/src/public-api.ts b/npm/ng-packs/packages/identity-config/src/public-api.ts deleted file mode 100644 index e702653211..0000000000 --- a/npm/ng-packs/packages/identity-config/src/public-api.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './lib/services/identity-config.service'; -export * from './lib/identity-config.module'; diff --git a/npm/ng-packs/packages/identity-config/tsconfig.lib.json b/npm/ng-packs/packages/identity-config/tsconfig.lib.json deleted file mode 100644 index 4f48db2e46..0000000000 --- a/npm/ng-packs/packages/identity-config/tsconfig.lib.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../tsconfig.prod.json", - "compilerOptions": { - "outDir": "../../out-tsc/lib", - "target": "es2015", - "declaration": true, - "inlineSources": true, - "types": [], - "lib": ["dom", "es2018"] - }, - "angularCompilerOptions": { - "skipTemplateCodegen": true, - "strictMetadataEmit": true, - "fullTemplateTypeCheck": true, - "strictInjectionParameters": true, - "enableResourceInlining": true - }, - "exclude": ["src/test.ts", "**/*.spec.ts"] -} diff --git a/npm/ng-packs/packages/identity-config/tsconfig.lib.prod.json b/npm/ng-packs/packages/identity-config/tsconfig.lib.prod.json deleted file mode 100644 index b1d501abbc..0000000000 --- a/npm/ng-packs/packages/identity-config/tsconfig.lib.prod.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.lib.json", - "angularCompilerOptions": { - "enableIvy": false - } -} \ No newline at end of file diff --git a/npm/ng-packs/packages/identity-config/tsconfig.spec.json b/npm/ng-packs/packages/identity-config/tsconfig.spec.json deleted file mode 100644 index 02f312c262..0000000000 --- a/npm/ng-packs/packages/identity-config/tsconfig.spec.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "../../tsconfig.prod.json", - "compilerOptions": { - "emitDecoratorMetadata": true, - "esModuleInterop": true, - "outDir": "../../dist/out-tsc", - "module": "commonjs", - "types": ["jest", "node"] - }, - "include": ["**/*.spec.ts", "**/*.d.ts"] -} diff --git a/npm/ng-packs/packages/identity-config/tslint.json b/npm/ng-packs/packages/identity-config/tslint.json deleted file mode 100644 index 8c3919ea62..0000000000 --- a/npm/ng-packs/packages/identity-config/tslint.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "../../tslint.json", - "rules": { - "directive-selector": [ - true, - "attribute", - "abp", - "camelCase" - ], - "component-selector": [ - true, - "element", - "abp", - "kebab-case" - ] - } -}