diff --git a/package-lock.json b/package-lock.json index 9963fbebe0..4a0214b558 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,33 +5,33 @@ "requires": true, "dependencies": { "@alfresco/adf-content-services": { - "version": "3.0.0-beta9", - "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-3.0.0-beta9.tgz", - "integrity": "sha512-3f1xa7v/LpM4uJtrgTFRCWybogq/q2nhX+t50SE7Fqn1kapMEPxgqcEY4e6n+OmivDnehmgqDXPlQ8qCR8AEsg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-3.0.0.tgz", + "integrity": "sha512-fslg/adVczwvrDJV4i/9zWgsrYv+zvqhmiFXubS+vORDvl48fqf3575OIfDSoeRblPrINzyoupH61DHWzAKa/w==", "requires": { "tslib": "^1.9.0" } }, "@alfresco/adf-core": { - "version": "3.0.0-beta9", - "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-3.0.0-beta9.tgz", - "integrity": "sha512-RIut0spc0VWtBZmf+WGsL7ZaaWJho6FQ0zyMtlUm9SZ3Nd7o0oRe9VYBZj13vdBzCiYDqkZqP3+jFYugH5TRSw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-3.0.0.tgz", + "integrity": "sha512-3WbOGNPDM1YIG0fSQC2NiEwoNVoBU555yiW6jcNIMI6tSMVw13zuDyA9+wOmo6KY4FZlABah3hGcD/DfqBfNLg==", "requires": { "tslib": "^1.9.0" } }, "@alfresco/adf-extensions": { - "version": "3.0.0-beta9", - "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-3.0.0-beta9.tgz", - "integrity": "sha512-UZwb/nxm9BcbGtFFUW1FHBG5MWBI8ECBffh74fo5LlH6cgBOhWlLxPmIFbIMNwWK0/vMuRGoVMsPpSciDZF6Zw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-3.0.0.tgz", + "integrity": "sha512-piQvPQbG6Zx6J+M8U4Qv6m42gUOOOy9W3Zwgq+DdVCjP60RfhXcS+HW8wUMUxFOTgjonFOIyNA26BddIOoUhEQ==", "requires": { "tslib": "^1.9.0" } }, "@alfresco/js-api": { - "version": "3.0.0-beta9", - "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-3.0.0-beta9.tgz", - "integrity": "sha512-60J3aH/YZGsJKsgieexBq273r+0moGCOtGw7gXhz1iByFga15IYvrq93NiWf6oxPRG6l6IzMM7m1PAaTM3B9ww==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-3.0.0.tgz", + "integrity": "sha512-eiJQRJH+GHw9OszNoHWyGrc/llcI5qQBult5G3TfmRDK3c1YcCLHXbQmaN7hgoOuk0i88oPziXC6ZFS/rfi+fA==", "requires": { "event-emitter": "0.3.4", "superagent": "3.8.2" diff --git a/package.json b/package.json index 093720f8b7..9eb3b5a0cb 100644 --- a/package.json +++ b/package.json @@ -35,10 +35,10 @@ }, "private": true, "dependencies": { - "@alfresco/adf-content-services": "3.0.0-beta9", - "@alfresco/adf-core": "3.0.0-beta9", - "@alfresco/adf-extensions": "3.0.0-beta9", - "@alfresco/js-api": "3.0.0-beta9", + "@alfresco/adf-content-services": "3.0.0", + "@alfresco/adf-core": "3.0.0", + "@alfresco/adf-extensions": "3.0.0", + "@alfresco/js-api": "3.0.0", "@angular/animations": "7.2.3", "@angular/cdk": "^7.3.0", "@angular/common": "7.2.3", diff --git a/src/app/components/context-menu/context-menu.service.spec.ts b/src/app/components/context-menu/context-menu.service.spec.ts index b11cd02467..e0b44f7373 100644 --- a/src/app/components/context-menu/context-menu.service.spec.ts +++ b/src/app/components/context-menu/context-menu.service.spec.ts @@ -28,7 +28,7 @@ import { Overlay } from '@angular/cdk/overlay'; import { Injector } from '@angular/core'; import { Store } from '@ngrx/store'; import { of } from 'rxjs'; -import { AppConfigService } from '@alfresco/adf-core'; +import { CoreModule } from '@alfresco/adf-core'; import { ContextMenuService } from './context-menu.service'; import { ContextMenuModule } from './context-menu.module'; @@ -42,12 +42,8 @@ describe('ContextMenuService', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [ContextMenuModule], - providers: [ - Overlay, - { provide: Store, useValue: { select: () => of() } }, - { provide: AppConfigService, useValue: {} } - ] + imports: [CoreModule.forRoot(), ContextMenuModule], + providers: [Overlay, { provide: Store, useValue: { select: () => of() } }] }); const injector = TestBed.get(Injector); diff --git a/src/app/components/dl-custom-components/name-column/name-column.component.spec.ts b/src/app/components/dl-custom-components/name-column/name-column.component.spec.ts index 31b1ef4984..9eeaf8745a 100644 --- a/src/app/components/dl-custom-components/name-column/name-column.component.spec.ts +++ b/src/app/components/dl-custom-components/name-column/name-column.component.spec.ts @@ -28,6 +28,7 @@ import { DocumentListCustomComponentsModule } from '../document-list-custom-comp import { Actions } from '@ngrx/effects'; import { StoreModule } from '@ngrx/store'; import { TestBed } from '@angular/core/testing'; +import { CoreModule } from '@alfresco/adf-core'; describe('CustomNameColumnComponent', () => { let fixture; @@ -36,6 +37,7 @@ describe('CustomNameColumnComponent', () => { beforeEach(() => { TestBed.configureTestingModule({ imports: [ + CoreModule.forRoot(), DocumentListCustomComponentsModule, StoreModule.forRoot({ app: () => {} }, { initialState: {} }) ], diff --git a/src/app/components/node-version/node-version-form.component.spec.ts b/src/app/components/node-version/node-version-form.component.spec.ts index a0525db5dc..7a69b08702 100644 --- a/src/app/components/node-version/node-version-form.component.spec.ts +++ b/src/app/components/node-version/node-version-form.component.spec.ts @@ -33,7 +33,7 @@ describe('AppNodeVersionFormComponent', () => { let component; setupTestBed({ - imports: [CoreModule, NoopAnimationsModule], + imports: [CoreModule.forRoot(), NoopAnimationsModule], declarations: [AppNodeVersionFormComponent] }); diff --git a/src/app/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.spec.ts b/src/app/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.spec.ts index 05df3af261..da3b7a9063 100644 --- a/src/app/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.spec.ts +++ b/src/app/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.spec.ts @@ -43,7 +43,7 @@ describe('ToggleEditOfflineComponent', () => { let dispatchSpy; setupTestBed({ - imports: [CoreModule], + imports: [CoreModule.forRoot()], declarations: [ToggleEditOfflineComponent, LockNodeDirective], providers: [ { diff --git a/src/app/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.spec.ts b/src/app/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.spec.ts index a6aae0c754..b7b8f4dc0d 100644 --- a/src/app/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.spec.ts +++ b/src/app/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.spec.ts @@ -49,7 +49,7 @@ describe('ToggleFavoriteLibraryComponent', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [CoreModule, AppTestingModule], + imports: [CoreModule.forRoot(), AppTestingModule], declarations: [ToggleFavoriteLibraryComponent, LibraryFavoriteDirective], providers: [ { diff --git a/src/app/directives/library-favorite.directive.spec.ts b/src/app/directives/library-favorite.directive.spec.ts index ceb6a31bd4..ff2b6c3d64 100644 --- a/src/app/directives/library-favorite.directive.spec.ts +++ b/src/app/directives/library-favorite.directive.spec.ts @@ -56,7 +56,7 @@ describe('LibraryFavoriteDirective', () => { let selection; setupTestBed({ - imports: [CoreModule], + imports: [CoreModule.forRoot()], declarations: [TestComponent, LibraryFavoriteDirective], providers: [ { diff --git a/src/app/directives/lock-node.directive.spec.ts b/src/app/directives/lock-node.directive.spec.ts index 457f422bbd..0d497588bd 100644 --- a/src/app/directives/lock-node.directive.spec.ts +++ b/src/app/directives/lock-node.directive.spec.ts @@ -52,7 +52,7 @@ describe('LockNodeDirective', () => { let component; setupTestBed({ - imports: [CoreModule], + imports: [CoreModule.forRoot()], declarations: [TestComponent, LockNodeDirective], providers: [ {