diff --git a/.travis.yml b/.travis.yml index 52c0f8cb2..a20ae1c69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,6 +68,11 @@ jobs: script: npm ci && ng test aca-about --watch=false cache: false + - stage: Quality and Unit tests + name: 'Unit tests: aca-settings' + script: npm ci && ng test aca-settings --watch=false + cache: false + - stage: Quality and Unit tests name: 'Unit tests: ACA' script: diff --git a/angular.json b/angular.json index 8f46a85df..9a184c7d2 100644 --- a/angular.json +++ b/angular.json @@ -423,6 +423,46 @@ } } } + }, + "aca-settings": { + "projectType": "library", + "root": "projects/aca-settings", + "sourceRoot": "projects/aca-settings/src", + "prefix": "lib", + "architect": { + "build": { + "builder": "@angular-devkit/build-ng-packagr:build", + "options": { + "tsConfig": "projects/aca-settings/tsconfig.lib.json", + "project": "projects/aca-settings/ng-package.json" + }, + "configurations": { + "production": { + "tsConfig": "projects/aca-settings/tsconfig.lib.prod.json" + } + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "projects/aca-settings/src/test.ts", + "tsConfig": "projects/aca-settings/tsconfig.spec.json", + "karmaConfig": "projects/aca-settings/karma.conf.js" + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": [ + "projects/aca-settings/tsconfig.lib.json", + "projects/aca-settings/tsconfig.spec.json" + ], + "exclude": [ + "**/node_modules/**" + ] + } + } + } } }, "defaultProject": "app", diff --git a/projects/aca-settings/README.md b/projects/aca-settings/README.md new file mode 100644 index 000000000..cf41b7ea3 --- /dev/null +++ b/projects/aca-settings/README.md @@ -0,0 +1,24 @@ +# AcaSettings + +This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.14. + +## Code scaffolding + +Run `ng generate component component-name --project aca-settings` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project aca-settings`. +> Note: Don't forget to add `--project aca-settings` or else it will be added to the default project in your `angular.json` file. + +## Build + +Run `ng build aca-settings` to build the project. The build artifacts will be stored in the `dist/` directory. + +## Publishing + +After building your library with `ng build aca-settings`, go to the dist folder `cd dist/aca-settings` and run `npm publish`. + +## Running unit tests + +Run `ng test aca-settings` to execute the unit tests via [Karma](https://karma-runner.github.io). + +## Further help + +To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). diff --git a/projects/aca-settings/karma.conf.js b/projects/aca-settings/karma.conf.js new file mode 100644 index 000000000..b68dcd4e8 --- /dev/null +++ b/projects/aca-settings/karma.conf.js @@ -0,0 +1,32 @@ +// Karma configuration file, see link for more information +// https://karma-runner.github.io/1.0/config/configuration-file.html + +module.exports = function (config) { + config.set({ + basePath: '', + frameworks: ['jasmine', '@angular-devkit/build-angular'], + plugins: [ + require('karma-jasmine'), + require('karma-chrome-launcher'), + require('karma-jasmine-html-reporter'), + require('karma-coverage-istanbul-reporter'), + require('@angular-devkit/build-angular/plugins/karma') + ], + client: { + clearContext: false // leave Jasmine Spec Runner output visible in browser + }, + coverageIstanbulReporter: { + dir: require('path').join(__dirname, '../../coverage/aca-settings'), + reports: ['html', 'lcovonly', 'text-summary'], + fixWebpackSourcePaths: true + }, + reporters: ['progress', 'kjhtml'], + port: 9876, + colors: true, + logLevel: config.LOG_INFO, + autoWatch: true, + browsers: ['Chrome'], + singleRun: false, + restartOnFileChange: true + }); +}; diff --git a/projects/aca-settings/ng-package.json b/projects/aca-settings/ng-package.json new file mode 100644 index 000000000..45ccc03a7 --- /dev/null +++ b/projects/aca-settings/ng-package.json @@ -0,0 +1,7 @@ +{ + "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../dist/aca-settings", + "lib": { + "entryFile": "src/public-api.ts" + } +} \ No newline at end of file diff --git a/projects/aca-settings/package.json b/projects/aca-settings/package.json new file mode 100644 index 000000000..c661bf4d8 --- /dev/null +++ b/projects/aca-settings/package.json @@ -0,0 +1,11 @@ +{ + "name": "@alfresco/aca-settings", + "version": "0.0.1", + "peerDependencies": { + "@angular/common": "^10.0.14", + "@angular/core": "^10.0.14" + }, + "dependencies": { + "tslib": "^2.0.0" + } +} diff --git a/src/app/components/settings/settings.component.html b/projects/aca-settings/src/lib/settings.component.html similarity index 81% rename from src/app/components/settings/settings.component.html rename to projects/aca-settings/src/lib/settings.component.html index 46f981a76..c7bb9d249 100644 --- a/src/app/components/settings/settings.component.html +++ b/projects/aca-settings/src/lib/settings.component.html @@ -1,10 +1,6 @@ - + {{ appName$ | async }} @@ -13,15 +9,9 @@ - {{ - 'APP.SETTINGS.REPOSITORY-SETTINGS' | translate - }} + {{ 'APP.SETTINGS.REPOSITORY-SETTINGS' | translate }} -
+
ACS Repository URL @@ -56,12 +46,7 @@ -
@@ -77,11 +62,9 @@ - {{ param.name | translate }} + {{ + param.name | translate + }} diff --git a/projects/aca-settings/src/lib/settings.component.scss b/projects/aca-settings/src/lib/settings.component.scss new file mode 100644 index 000000000..e0208728b --- /dev/null +++ b/projects/aca-settings/src/lib/settings.component.scss @@ -0,0 +1,77 @@ +$app-menu-height: 64px; + +.aca-settings-parameter-list { + display: flex; + flex-direction: column; +} + +.aca-settings { + &-extensions-list { + display: flex; + flex-direction: column; + } + + .settings-input { + width: 50%; + } + + .settings-buttons { + text-align: right; + + .mat-button { + text-transform: uppercase; + } + } + + .app-menu { + height: $app-menu-height; + + &.adf-toolbar { + .mat-toolbar { + background-color: inherit; + font-family: inherit; + min-height: $app-menu-height; + height: $app-menu-height; + + .mat-toolbar-layout { + height: $app-menu-height; + + .mat-toolbar-row { + height: $app-menu-height; + } + } + } + + .adf-toolbar-divider { + margin-left: 5px; + margin-right: 5px; + + & > div { + background-color: var(--theme-card-background-color); + } + } + + .adf-toolbar-title { + color: var(--theme-card-background-color); + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + } + } + + .app-menu__title { + width: 100px; + height: 50px; + margin-left: 40px; + display: flex; + justify-content: center; + align-items: stretch; + + & > img { + width: 100%; + object-fit: contain; + } + } + } +} diff --git a/src/app/components/settings/settings.component.spec.ts b/projects/aca-settings/src/lib/settings.component.spec.ts similarity index 88% rename from src/app/components/settings/settings.component.spec.ts rename to projects/aca-settings/src/lib/settings.component.spec.ts index d92b7fd47..3a5f8ba19 100644 --- a/src/app/components/settings/settings.component.spec.ts +++ b/projects/aca-settings/src/lib/settings.component.spec.ts @@ -25,12 +25,10 @@ import { SettingsComponent } from './settings.component'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { setupTestBed, StorageService } from '@alfresco/adf-core'; -import { AppSettingsModule } from './settings.module'; -import { AppTestingModule } from '../../testing/app-testing.module'; +import { CoreModule, setupTestBed, StorageService } from '@alfresco/adf-core'; +import { AcaSettingsModule } from './settings.module'; import { By } from '@angular/platform-browser'; -import { TranslateModule, TranslateLoader, TranslateFakeLoader } from '@ngx-translate/core'; -import { AppExtensionService, SettingsParameterRef } from '@alfresco/aca-shared'; +import { AppExtensionService, SettingsParameterRef, LibTestingModule } from '@alfresco/aca-shared'; describe('SettingsComponent', () => { let fixture: ComponentFixture; @@ -42,13 +40,7 @@ describe('SettingsComponent', () => { let boolParam: SettingsParameterRef; setupTestBed({ - imports: [ - AppSettingsModule, - AppTestingModule, - TranslateModule.forRoot({ - loader: { provide: TranslateLoader, useClass: TranslateFakeLoader } - }) - ] + imports: [CoreModule.forRoot(), AcaSettingsModule, LibTestingModule] }); beforeEach(() => { diff --git a/src/app/components/settings/settings.component.ts b/projects/aca-settings/src/lib/settings.component.ts similarity index 99% rename from src/app/components/settings/settings.component.ts rename to projects/aca-settings/src/lib/settings.component.ts index f6db19ca1..fcacc415c 100644 --- a/src/app/components/settings/settings.component.ts +++ b/projects/aca-settings/src/lib/settings.component.ts @@ -41,6 +41,7 @@ interface RepositoryConfig { @Component({ selector: 'aca-settings', templateUrl: './settings.component.html', + styleUrls: ['./settings.component.scss'], encapsulation: ViewEncapsulation.None, host: { class: 'aca-settings' } }) diff --git a/src/app/components/settings/settings.module.ts b/projects/aca-settings/src/lib/settings.module.ts similarity index 79% rename from src/app/components/settings/settings.module.ts rename to projects/aca-settings/src/lib/settings.module.ts index 410e0338b..36dc2f164 100644 --- a/src/app/components/settings/settings.module.ts +++ b/projects/aca-settings/src/lib/settings.module.ts @@ -24,23 +24,21 @@ */ import { NgModule } from '@angular/core'; -import { SettingsComponent } from './settings.component'; -import { Routes, RouterModule } from '@angular/router'; +import { ExtensionService } from '@alfresco/adf-extensions'; import { CommonModule } from '@angular/common'; import { CoreModule } from '@alfresco/adf-core'; -const routes: Routes = [ - { - path: '', - component: SettingsComponent, - data: { - title: 'Settings' - } - } -]; +import { SettingsComponent } from './settings.component'; +import { RouterModule } from '@angular/router'; @NgModule({ - imports: [CommonModule, CoreModule.forChild(), RouterModule.forChild(routes)], + imports: [CommonModule, RouterModule, CoreModule.forChild()], declarations: [SettingsComponent] }) -export class AppSettingsModule {} +export class AcaSettingsModule { + constructor(extensions: ExtensionService) { + extensions.setComponents({ + 'app.settings.component': SettingsComponent + }); + } +} diff --git a/projects/aca-settings/src/public-api.ts b/projects/aca-settings/src/public-api.ts new file mode 100644 index 000000000..5843aa880 --- /dev/null +++ b/projects/aca-settings/src/public-api.ts @@ -0,0 +1,27 @@ +/*! + * @license + * Alfresco Example Content Application + * + * Copyright (C) 2005 - 2020 Alfresco Software Limited + * + * This file is part of the Alfresco Example Content Application. + * If the software was purchased under a paid Alfresco license, the terms of + * the paid license agreement will prevail. Otherwise, the software is + * provided under the following open source license terms: + * + * The Alfresco Example Content Application is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * The Alfresco Example Content Application is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Alfresco. If not, see . + */ + +export * from './lib/settings.component'; +export * from './lib/settings.module'; diff --git a/projects/aca-settings/src/test.ts b/projects/aca-settings/src/test.ts new file mode 100644 index 000000000..f108f7a2e --- /dev/null +++ b/projects/aca-settings/src/test.ts @@ -0,0 +1,49 @@ +/*! + * @license + * Alfresco Example Content Application + * + * Copyright (C) 2005 - 2020 Alfresco Software Limited + * + * This file is part of the Alfresco Example Content Application. + * If the software was purchased under a paid Alfresco license, the terms of + * the paid license agreement will prevail. Otherwise, the software is + * provided under the following open source license terms: + * + * The Alfresco Example Content Application is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * The Alfresco Example Content Application is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Alfresco. If not, see . + */ + +// This file is required by karma.conf.js and loads recursively all the .spec and framework files + +import 'zone.js/dist/zone'; +import 'zone.js/dist/zone-testing'; +import { getTestBed } from '@angular/core/testing'; +import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; + +declare const require: { + context( + path: string, + deep?: boolean, + filter?: RegExp + ): { + keys(): string[]; + (id: string): T; + }; +}; + +// First, initialize the Angular testing environment. +getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting()); +// Then we find all the tests. +const context = require.context('./', true, /\.spec\.ts$/); +// And load the modules. +context.keys().map(context); diff --git a/projects/aca-settings/tsconfig.lib.json b/projects/aca-settings/tsconfig.lib.json new file mode 100644 index 000000000..7fc64f3d7 --- /dev/null +++ b/projects/aca-settings/tsconfig.lib.json @@ -0,0 +1,24 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../out-tsc/lib", + "target": "es2015", + "declaration": true, + "inlineSources": true, + "types": [], + "lib": [ + "dom", + "es2018" + ] + }, + "angularCompilerOptions": { + "skipTemplateCodegen": true, + "strictMetadataEmit": true, + "enableResourceInlining": true + }, + "exclude": [ + "src/test.ts", + "**/*.spec.ts" + ] +} diff --git a/projects/aca-settings/tsconfig.lib.prod.json b/projects/aca-settings/tsconfig.lib.prod.json new file mode 100644 index 000000000..8f78def6b --- /dev/null +++ b/projects/aca-settings/tsconfig.lib.prod.json @@ -0,0 +1,7 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.lib.json", + "angularCompilerOptions": { + "enableIvy": false + } +} diff --git a/projects/aca-settings/tsconfig.spec.json b/projects/aca-settings/tsconfig.spec.json new file mode 100644 index 000000000..96730b030 --- /dev/null +++ b/projects/aca-settings/tsconfig.spec.json @@ -0,0 +1,17 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../out-tsc/spec", + "types": [ + "jasmine" + ] + }, + "files": [ + "src/test.ts" + ], + "include": [ + "**/*.spec.ts", + "**/*.d.ts" + ] +} diff --git a/projects/aca-settings/tslint.json b/projects/aca-settings/tslint.json new file mode 100644 index 000000000..018f988d3 --- /dev/null +++ b/projects/aca-settings/tslint.json @@ -0,0 +1,17 @@ +{ + "extends": "../../tslint.json", + "rules": { + "directive-selector": [ + true, + "attribute", + ["lib", "aca", "app", "adf"], + "camelCase" + ], + "component-selector": [ + true, + "element", + ["lib", "aca", "app", "adf"], + "kebab-case" + ] + } +} diff --git a/projects/aca-shared/src/lib/testing/lib-testing-module.ts b/projects/aca-shared/src/lib/testing/lib-testing-module.ts index 8ad4e1667..c63a91da1 100644 --- a/projects/aca-shared/src/lib/testing/lib-testing-module.ts +++ b/projects/aca-shared/src/lib/testing/lib-testing-module.ts @@ -39,6 +39,7 @@ import { RouterTestingModule } from '@angular/router/testing'; import { EffectsModule } from '@ngrx/effects'; import { StoreModule } from '@ngrx/store'; import { provideMockStore } from '@ngrx/store/testing'; +import { CommonModule } from '@angular/common'; export const initialState = { app: { @@ -78,6 +79,7 @@ export const initialState = { @NgModule({ imports: [ NoopAnimationsModule, + CommonModule, HttpClientModule, RouterTestingModule, StoreModule, diff --git a/projects/aca-shared/src/public-api.ts b/projects/aca-shared/src/public-api.ts index 751c0c2b8..25a352deb 100644 --- a/projects/aca-shared/src/public-api.ts +++ b/projects/aca-shared/src/public-api.ts @@ -60,3 +60,4 @@ export * from './lib/services/router.extension.service'; export * from './lib/utils/node.utils'; export * from './lib/shared.module'; +export * from './lib/testing/lib-testing-module'; diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index f7d79f5f4..bce2102ee 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -45,10 +45,6 @@ export const APP_ROUTES: Routes = [ title: 'APP.SIGN_IN' } }, - { - path: 'settings', - loadChildren: () => import('./components/settings/settings.module').then((m) => m.AppSettingsModule) - }, { path: 'preview/s/:id', loadChildren: () => import('./components/shared-link-view/shared-link-view.module').then((m) => m.AppSharedLinkViewModule) diff --git a/src/app/components/settings/settings.component.theme.scss b/src/app/components/settings/settings.component.theme.scss deleted file mode 100644 index 793cf9fff..000000000 --- a/src/app/components/settings/settings.component.theme.scss +++ /dev/null @@ -1,80 +0,0 @@ -@mixin aca-settings-theme($theme) { - $background: map-get($theme, background); - $app-menu-height: 64px; - - .aca-settings-parameter-list { - display: flex; - flex-direction: column; - } - - .aca-settings { - &-extensions-list { - display: flex; - flex-direction: column; - } - - .settings-input { - width: 50%; - } - - .settings-buttons { - text-align: right; - - .mat-button { - text-transform: uppercase; - } - } - - .app-menu { - height: $app-menu-height; - - &.adf-toolbar { - .mat-toolbar { - background-color: inherit; - font-family: inherit; - min-height: $app-menu-height; - height: $app-menu-height; - - .mat-toolbar-layout { - height: $app-menu-height; - - .mat-toolbar-row { - height: $app-menu-height; - } - } - } - - .adf-toolbar-divider { - margin-left: 5px; - margin-right: 5px; - - & > div { - background-color: mat-color($background, card); - } - } - - .adf-toolbar-title { - color: mat-color($background, card); - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - } - } - - .app-menu__title { - width: 100px; - height: 50px; - margin-left: 40px; - display: flex; - justify-content: center; - align-items: stretch; - - & > img { - width: 100%; - object-fit: contain; - } - } - } - } -} diff --git a/src/app/extensions.module.ts b/src/app/extensions.module.ts index df43e997a..c60c5eed1 100644 --- a/src/app/extensions.module.ts +++ b/src/app/extensions.module.ts @@ -26,11 +26,12 @@ import { NgModule } from '@angular/core'; import { AosExtensionModule } from '@alfresco/adf-office-services-ext'; import { AcaAboutModule } from '@alfresco/aca-about'; +import { AcaSettingsModule } from '@alfresco/aca-settings'; // Main entry point for external extensions only. // For any application-specific code use CoreExtensionsModule instead. @NgModule({ - imports: [AosExtensionModule, AcaAboutModule] + imports: [AosExtensionModule, AcaAboutModule, AcaSettingsModule] }) export class AppExtensionsModule {} diff --git a/src/app/ui/custom-theme.scss b/src/app/ui/custom-theme.scss index 21c3c8710..c2aad486d 100644 --- a/src/app/ui/custom-theme.scss +++ b/src/app/ui/custom-theme.scss @@ -4,7 +4,6 @@ @import '../components/sidenav/sidenav.component.theme'; @import '../components/search/search-input/search-input.component.theme'; @import '../components/search/search-results-row/search-results-row.component.scss'; -@import '../components/settings/settings.component.theme'; @import '../components/current-user/current-user.component.theme'; @import '../components/permissions/permission-manager/permission-manager.component.theme'; @import '../components/context-menu/context-menu.component.theme'; @@ -25,12 +24,9 @@ $custom-theme-primary: mat-palette($aca-primary-blue, A100); $custom-theme-accent: mat-palette($aca-accent-green, A200); $custom-theme-warn: mat-palette($aca-warn, A100); -$custom-theme: mat-light-theme( - $custom-theme-primary, - $custom-theme-accent, - $custom-theme-warn -); +$custom-theme: mat-light-theme($custom-theme-primary, $custom-theme-accent, $custom-theme-warn); $foreground: map-get($custom-theme, foreground); +$background: map-get($custom-theme, background); $warn: map-get($custom-theme, warn); @mixin custom-theme($theme) { @@ -43,7 +39,6 @@ $warn: map-get($custom-theme, warn); @include aca-result-row-theme($theme); @include app-permission-manager-theme($theme); @include aca-node-versions-dialog-theme($theme); - @include aca-settings-theme($theme); @include snackbar-theme($theme); @include sidenav-component-theme($theme); @include aca-current-user-theme($theme); @@ -92,7 +87,8 @@ $defaults: ( --theme-title-color: mat-color($foreground, text, 0.87), --theme-text-disabled-color: mat-color($foreground, text, 0.38), --theme-border-color: mat-color($foreground, text, 0.07), - --header-background-image: url('/assets/images/mastHead-bg-shapesPattern.svg') + --header-background-image: url('/assets/images/mastHead-bg-shapesPattern.svg'), + --theme-card-background-color: mat-color($background, card) ); // propagates SCSS variables into the CSS variables scope diff --git a/src/assets/app.extensions.json b/src/assets/app.extensions.json index 248fc691a..3a4231114 100644 --- a/src/assets/app.extensions.json +++ b/src/assets/app.extensions.json @@ -7,7 +7,12 @@ "$license": "LGPL-3.0", "$runtime": "1.7.0", "$description": "Core application extensions and features", - "$references": ["aos.plugin.json", "app.header.json", "app.about.json"], + "$references": [ + "aos.plugin.json", + "app.header.json", + "app.about.json", + "app.settings.json" + ], "settings": [ { diff --git a/src/assets/plugins/app.settings.json b/src/assets/plugins/app.settings.json new file mode 100644 index 000000000..2b3f5c46b --- /dev/null +++ b/src/assets/plugins/app.settings.json @@ -0,0 +1,46 @@ +{ + "$schema": "../../../extension.schema.json", + "$id": "app.settings", + "$name": "app.settings", + "$version": "1.0.0", + "$vendor": "Alfresco Software, Ltd.", + "$license": "LGPL-3.0", + "$description": "Application Settings Screen", + + "actions": [ + { + "id": "app.actions.settings", + "type": "NAVIGATE_URL", + "payload": "/settings" + } + ], + + "routes": [ + { + "id": "app.settings", + "path": "settings", + "layout": "blank", + "component": "app.settings.component" + } + ], + + "features": { + "header": [ + { + "id": "app.header.more", + "children": [ + { + "id": "app.header.settings", + "order": 110, + "title": "APP.SETTINGS.TITLE", + "description": "APP.SETTINGS.TITLE", + "icon": "info", + "actions": { + "click": "app.actions.settings" + } + } + ] + } + ] + } +} diff --git a/tsconfig.base.json b/tsconfig.base.json index a71eb0ca8..ad8a6ff86 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -26,6 +26,7 @@ "@alfresco/adf-office-services-ext": ["projects/adf-office-services-ext/src/public-api.ts"], "@alfresco/aca-testing-shared": ["projects/aca-testing-shared"], "@alfresco/aca-about": ["projects/aca-about/src/public-api.ts"], + "@alfresco/aca-settings": ["projects/aca-settings/src/public-api.ts"], "package.json": ["package.json"] } }, diff --git a/tsconfig.json b/tsconfig.json index 35cfd185d..687f65fd3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -36,6 +36,12 @@ }, { "path": "./projects/aca-about/tsconfig.spec.json" + }, + { + "path": "./projects/aca-settings/tsconfig.lib.json" + }, + { + "path": "./projects/aca-settings/tsconfig.spec.json" } ] }