Skip to content

Commit

Permalink
2.3.0 (#133)
Browse files Browse the repository at this point in the history
* add custom event polyfill

* enable polyfills by default (#103)

* fix overlay viewer in templates (#104)

* [ADF-2125] Removed 'ng2-' from generator instructions (#105)

* [ADF-2125] Removed 'ng2-' from generator instructions

* [ADF-2125] Fixed link that was displayed badly

* [ADF-2125] Fixed small grammar and display glitches

* [ADF-2125] Fixed generator names

* fix style issues

* [ADF-2164] Add docker support to the generated app (#107)

* Add docker support to the generated app

* added the travis configuration for the DOCKER pipeline

* docker publish instructions

* fix docker target folder

* [ADF-2145] Add the app routes files in the generator 2 (#108)

* add route file

* fix module

* travis conf

* [hackathon] command line mode support (#106)

* command line mode support

* code cleanup

* update travis settings

* Update dependencies 2.1.0 (#109)

* update depenccies 2.1.0
* fix import pdfjs

* Adding schema validation (#111)

* [ADF-2293] loading spinner (#112)

* loading spinner

* fix install dependencies

* ignore file

* remove path mapping from tsconfig

* 2.2.0 update generator beta4 (#113)

2.2.0 update generator beta5

* bump version

* reduce docker image sizes (#114)

* 2.3.0-beta1 (#116)

* fix: BrowserAnimationsModule (#117)

* Update generator to use packages version 2.3.0-beta2 (#121)

* use adf- tag components name

* Update generator to use packages version 2.3.0-beta4 (#122)

* documentList fix viewchildren (#124)

* Update generator to use packages version 2.3.0-beta5 (#125)

* update cli (#123)

add dist build

* Update ADF packages version 2.3.0-beta10 (#132)

* Update ADF packages version 2.3.0-beta10

* add alfresco api mock

* fix test aps generators

* 2.3.0 update

* update cli 1.7.4 (#130)

* update cli 1.7.4

* remove old workaround for 1.6.x
  • Loading branch information
eromano authored Apr 17, 2018
1 parent 84da50f commit 1680082
Show file tree
Hide file tree
Showing 22 changed files with 81 additions and 44 deletions.
2 changes: 1 addition & 1 deletion app/templates/adf-cli-acs-aps-template/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx
FROM nginx:alpine

COPY nginx.conf /etc/nginx/nginx.conf

Expand Down
16 changes: 8 additions & 8 deletions app/templates/adf-cli-acs-aps-template/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"name": "adf-cli-acs-aps-template",
"version": "2.2.0",
"version": "2.3.0",
"blueprint": "Process and Content Services",
"description": "ACS APS ADF Application with Angular CLI",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "npm run validate-config && ng serve --open",
"build": "ng build",
"build:dist": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"validate-config": "ajv validate -s node_modules/@alfresco/adf-core/app.config.schema.json -d ./src/app.config.json --errors=text --verbose",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "2.2.0",
"@alfresco/adf-core": "2.2.0",
"@alfresco/adf-insights": "2.2.0",
"@alfresco/adf-process-services": "2.2.0",
"@alfresco/adf-content-services": "2.3.0",
"@alfresco/adf-core": "2.3.0",
"@alfresco/adf-insights": "2.3.0",
"@alfresco/adf-process-services": "2.3.0",
"@angular/animations": "5.1.1",
"@angular/cdk": "5.0.1",
"@angular/common": "5.1.1",
Expand All @@ -34,7 +35,7 @@
"@mat-datetimepicker/core": "^1.0.1",
"@mat-datetimepicker/moment": "^1.0.1",
"@ngx-translate/core": "9.1.1",
"alfresco-js-api": "2.2.0",
"alfresco-js-api": "2.3.0",
"chart.js": "2.5.0",
"classlist.js": "1.1.20150312",
"core-js": "2.4.1",
Expand All @@ -53,8 +54,7 @@
"zone.js": "0.8.14"
},
"devDependencies": {
"@angular-devkit/core": "0.0.28",
"@angular/cli": "1.6.5",
"@angular/cli": "1.7.4",
"@angular/compiler-cli": "^5.2.0",
"@angular/language-service": "^5.2.0",
"@types/jasmine": "~2.8.3",
Expand Down
2 changes: 2 additions & 0 deletions app/templates/adf-cli-acs-aps-template/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

Expand All @@ -22,6 +23,7 @@ import { appRoutes } from './app.routes';
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
RouterModule.forRoot(
appRoutes // ,
// { enableTracing: true } // <-- debugging purposes only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
[fileNodeId]="nodeId"
(goBack)="onGoBack($event)">
</adf-viewer>
<file-uploading-dialog></file-uploading-dialog>
<adf-file-uploading-dialog></adf-file-uploading-dialog>
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { Location } from '@angular/common';
import { SpyLocation } from '@angular/common/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AdfModule } from '../adf.module';
import { DocumentlistComponent } from './documentlist.component';

import { AlfrescoApiServiceMock, AlfrescoApiService } from '@alfresco/adf-core';

describe('DocumentlistComponent', () => {
let component: DocumentlistComponent;
let fixture: ComponentFixture<DocumentlistComponent>;
Expand All @@ -15,12 +18,13 @@ describe('DocumentlistComponent', () => {
AdfModule,
BrowserAnimationsModule
],
declarations: [ DocumentlistComponent ],
declarations: [DocumentlistComponent],
providers: [
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
{ provide: Location, useClass: SpyLocation }
]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class DocumentlistComponent {

nodeId: string = null;

@ViewChild(DocumentListComponent)
@ViewChild('documentList')
documentList: DocumentListComponent;

constructor(private notificationService: NotificationService) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { AdfModule } from '../adf.module';
import { StartProcessComponent } from './start-process.component';
import { AlfrescoApiServiceMock, AlfrescoApiService } from '@alfresco/adf-core';

describe('StartProcessComponent', () => {
let component: StartProcessComponent;
Expand All @@ -16,9 +17,12 @@ describe('StartProcessComponent', () => {
RouterTestingModule,
AdfModule
],
declarations: [ StartProcessComponent ]
declarations: [StartProcessComponent],
providers: [
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }
]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { AdfModule } from '../adf.module';
import { TaskDetailsComponent } from './task-details.component';
import { AlfrescoApiServiceMock, AlfrescoApiService } from '@alfresco/adf-core';

describe('TaskDetailsComponent', () => {
let component: TaskDetailsComponent;
Expand All @@ -16,9 +17,12 @@ describe('TaskDetailsComponent', () => {
RouterTestingModule,
AdfModule
],
declarations: [ TaskDetailsComponent ]
declarations: [TaskDetailsComponent],
providers: [
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }
]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { AdfModule } from '../adf.module';
import { TasksComponent } from './tasks.component';
import { AlfrescoApiServiceMock, AlfrescoApiService } from '@alfresco/adf-core';

describe('TasksComponent', () => {
let component: TasksComponent;
Expand All @@ -16,9 +17,12 @@ describe('TasksComponent', () => {
RouterTestingModule,
AdfModule
],
declarations: [ TasksComponent ]
declarations: [TasksComponent],
providers: [
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }
]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion app/templates/adf-cli-acs-template/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx
FROM nginx:alpine

COPY nginx.conf /etc/nginx/nginx.conf

Expand Down
12 changes: 6 additions & 6 deletions app/templates/adf-cli-acs-template/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{
"name": "adf-cli-acs-template",
"version": "2.2.0",
"version": "2.3.0",
"blueprint": "Content Services",
"description": "ACS ADF Application with Angular CLI",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "npm run validate-config && ng serve --open",
"build": "ng build",
"build:dist": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"validate-config": "ajv validate -s node_modules/@alfresco/adf-core/app.config.schema.json -d ./src/app.config.json --errors=text --verbose",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "2.2.0",
"@alfresco/adf-core": "2.2.0",
"@alfresco/adf-content-services": "2.3.0",
"@alfresco/adf-core": "2.3.0",
"@angular/animations": "5.1.1",
"@angular/cdk": "5.0.1",
"@angular/common": "5.1.1",
Expand All @@ -32,7 +33,7 @@
"@mat-datetimepicker/core": "^1.0.1",
"@mat-datetimepicker/moment": "^1.0.1",
"@ngx-translate/core": "9.1.1",
"alfresco-js-api": "2.2.0",
"alfresco-js-api": "2.3.0",
"chart.js": "2.5.0",
"classlist.js": "1.1.20150312",
"core-js": "2.4.1",
Expand All @@ -51,8 +52,7 @@
"zone.js": "0.8.14"
},
"devDependencies": {
"@angular-devkit/core": "0.0.28",
"@angular/cli": "1.6.5",
"@angular/cli": "1.7.4",
"@angular/compiler-cli": "^5.2.0",
"@angular/language-service": "^5.2.0",
"@types/jasmine": "~2.8.3",
Expand Down
2 changes: 2 additions & 0 deletions app/templates/adf-cli-acs-template/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { appRoutes } from './app.routes';
Expand All @@ -17,6 +18,7 @@ import { DocumentlistComponent } from './documentlist/documentlist.component';
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
RouterModule.forRoot(
appRoutes // ,
// { enableTracing: true } // <-- debugging purposes only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
[fileNodeId]="nodeId"
(goBack)="onGoBack($event)">
</adf-viewer>
<file-uploading-dialog></file-uploading-dialog>
<adf-file-uploading-dialog></adf-file-uploading-dialog>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { SpyLocation } from '@angular/common/testing';
import { AdfModule } from '../adf.module';
import { DocumentlistComponent } from './documentlist.component';

import { AlfrescoApiServiceMock, AlfrescoApiService} from '@alfresco/adf-core';

describe('DocumentlistComponent', () => {
let component: DocumentlistComponent;
let fixture: ComponentFixture<DocumentlistComponent>;
Expand All @@ -18,6 +20,7 @@ describe('DocumentlistComponent', () => {
],
declarations: [ DocumentlistComponent ],
providers: [
{provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock},
{ provide: Location, useClass: SpyLocation }
]
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class DocumentlistComponent {
showViewer: boolean = false;
nodeId: string = null;

@ViewChild(DocumentListComponent)
@ViewChild('documentList')
documentList: DocumentListComponent;

constructor(private notificationService: NotificationService) { }
Expand Down
2 changes: 1 addition & 1 deletion app/templates/adf-cli-aps-template/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx
FROM nginx:alpine

COPY nginx.conf /etc/nginx/nginx.conf

Expand Down
16 changes: 8 additions & 8 deletions app/templates/adf-cli-aps-template/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"name": "adf-cli-aps-template",
"version": "2.2.0",
"version": "2.3.0",
"blueprint": "Process Services",
"description": "APS ADF Application with Angular CLI",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "npm run validate-config && ng serve --open",
"build": "ng build",
"build:dist": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"validate-config": "ajv validate -s node_modules/@alfresco/adf-core/app.config.schema.json -d ./src/app.config.json --errors=text --verbose",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "2.2.0",
"@alfresco/adf-core": "2.2.0",
"@alfresco/adf-insights": "2.2.0",
"@alfresco/adf-process-services": "2.2.0",
"@alfresco/adf-content-services": "2.3.0",
"@alfresco/adf-core": "2.3.0",
"@alfresco/adf-insights": "2.3.0",
"@alfresco/adf-process-services": "2.3.0",
"@angular/animations": "5.1.1",
"@angular/cdk": "5.0.1",
"@angular/common": "5.1.1",
Expand All @@ -34,7 +35,7 @@
"@mat-datetimepicker/core": "^1.0.1",
"@mat-datetimepicker/moment": "^1.0.1",
"@ngx-translate/core": "9.1.1",
"alfresco-js-api": "2.2.0",
"alfresco-js-api": "2.3.0",
"chart.js": "2.5.0",
"classlist.js": "1.1.20150312",
"core-js": "2.4.1",
Expand All @@ -53,8 +54,7 @@
"zone.js": "0.8.14"
},
"devDependencies": {
"@angular-devkit/core": "0.0.28",
"@angular/cli": "1.6.5",
"@angular/cli": "1.7.4",
"@angular/compiler-cli": "^5.2.0",
"@angular/language-service": "^5.2.0",
"@types/jasmine": "~2.8.3",
Expand Down
2 changes: 2 additions & 0 deletions app/templates/adf-cli-aps-template/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

Expand All @@ -24,6 +25,7 @@ import { appRoutes } from './app.routes';
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
RouterModule.forRoot(
appRoutes // ,
// { enableTracing: true } // <-- debugging purposes only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { RouterTestingModule } from '@angular/router/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AdfModule } from '../adf.module';
import { StartProcessComponent } from './start-process.component';
import { AlfrescoApiServiceMock, AlfrescoApiService } from '@alfresco/adf-core';

describe('StartProcessComponent', () => {
let component: StartProcessComponent;
Expand All @@ -15,9 +16,12 @@ describe('StartProcessComponent', () => {
RouterTestingModule,
AdfModule
],
declarations: [ StartProcessComponent ]
declarations: [StartProcessComponent],
providers: [
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }
]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { RouterTestingModule } from '@angular/router/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AdfModule } from '../adf.module';
import { TaskDetailsComponent } from './task-details.component';
import { AlfrescoApiServiceMock, AlfrescoApiService } from '@alfresco/adf-core';

describe('TaskDetailsComponent', () => {
let component: TaskDetailsComponent;
Expand All @@ -15,9 +16,12 @@ describe('TaskDetailsComponent', () => {
RouterTestingModule,
AdfModule
],
declarations: [ TaskDetailsComponent ]
declarations: [TaskDetailsComponent],
providers: [
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }
]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Loading

0 comments on commit 1680082

Please sign in to comment.