Skip to content

Commit

Permalink
[ACS-2680] Release 4.9.0 (#344)
Browse files Browse the repository at this point in the history
* bump versions

* update package lock

* update karma settings

* cleanup useless test init

* remove useless tests

* cleanup junk

* cleanup generator tests

* fix issues and remove useless test

* try with chrome headless

* restore 1 unit test

* try mock js-api calls

* fix code
  • Loading branch information
DenysVuika authored Mar 21, 2022
1 parent 3877cea commit ec7ebe7
Show file tree
Hide file tree
Showing 171 changed files with 30,967 additions and 17,187 deletions.
21 changes: 0 additions & 21 deletions __tests__/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ describe('Alfresco component generator', () => {
'tslint.json',
'src/index.html',
'src/app/home/home.component.ts',
'src/app/home/home.component.scss',
'src/app/home/home.component.html',
'src/app/home/home.component.spec.ts',
'src/app/documents/documents.component.spec.ts',
'src/app/documents/documents.component.html',
'src/app/documents/documents.component.scss',
'src/app/documents/documents.component.ts',
'e2e/app.e2e-spec.ts'
];
Expand Down Expand Up @@ -90,16 +86,10 @@ describe('Alfresco component generator', () => {
'tslint.json',
'src/index.html',
'src/app/home/home.component.ts',
'src/app/home/home.component.scss',
'src/app/home/home.component.html',
'src/app/home/home.component.spec.ts',
'src/app/task-details/task-details.component.spec.ts',
'src/app/task-details/task-details.component.html',
'src/app/task-details/task-details.component.scss',
'src/app/task-details/task-details.component.ts',
'src/app/tasks/tasks.component.spec.ts',
'src/app/tasks/tasks.component.html',
'src/app/tasks/tasks.component.scss',
'src/app/tasks/tasks.component.ts',
'e2e/app.e2e-spec.ts'
];
Expand Down Expand Up @@ -149,20 +139,12 @@ describe('Alfresco component generator', () => {
'tslint.json',
'src/index.html',
'src/app/home/home.component.ts',
'src/app/home/home.component.scss',
'src/app/home/home.component.html',
'src/app/home/home.component.spec.ts',
'src/app/task-details/task-details.component.spec.ts',
'src/app/task-details/task-details.component.html',
'src/app/task-details/task-details.component.scss',
'src/app/task-details/task-details.component.ts',
'src/app/tasks/tasks.component.spec.ts',
'src/app/tasks/tasks.component.html',
'src/app/tasks/tasks.component.scss',
'src/app/tasks/tasks.component.ts',
'src/app/documents/documents.component.spec.ts',
'src/app/documents/documents.component.html',
'src/app/documents/documents.component.scss',
'src/app/documents/documents.component.ts',
'e2e/app.e2e-spec.ts'
];
Expand All @@ -179,8 +161,5 @@ describe('Alfresco component generator', () => {
it('fills the README with project data', () => {
assert.fileContent('README.md', 'ADF/APS/ACS Application with Angular CLI');
});

});


});
7 changes: 6 additions & 1 deletion app/templates/adf-cli-acs-aps-template/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = function(config) {
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('karma-mocha-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
files: [
Expand All @@ -36,7 +37,11 @@ module.exports = function(config) {
fixWebpackSourcePaths: true
},

reporters: ['progress', 'kjhtml'],
reporters: ['mocha', 'kjhtml'],
mochaReporter: {
maxLogLines: 5,
output: 'minimal'
},
port: 9876,
colors: true,
logLevel: config.LOG_WARN,
Expand Down
99 changes: 99 additions & 0 deletions app/templates/adf-cli-acs-aps-template/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions app/templates/adf-cli-acs-aps-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adf-cli-acs-aps-template",
"version": "4.8.0",
"version": "4.9.0",
"blueprint": "Content and Process Services with APS 1",
"description": "ACS APS ADF Application with Angular CLI",
"license": "MIT",
Expand All @@ -17,12 +17,12 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "4.8.0",
"@alfresco/adf-core": "4.8.0",
"@alfresco/adf-extensions": "4.8.0",
"@alfresco/adf-process-services": "4.8.0",
"@alfresco/adf-process-services-cloud": "4.8.0",
"@alfresco/js-api": "4.8.0",
"@alfresco/adf-content-services": "4.9.0",
"@alfresco/adf-core": "4.9.0",
"@alfresco/adf-extensions": "4.9.0",
"@alfresco/adf-process-services": "4.9.0",
"@alfresco/adf-process-services-cloud": "4.9.0",
"@alfresco/js-api": "4.9.0",
"@angular/animations": "^10.0.3",
"@angular/cdk": "^10.0.1",
"@angular/common": "^10.0.3",
Expand Down Expand Up @@ -82,6 +82,7 @@
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-mocha-reporter": "^2.2.5",
"ng-packagr": "^10.1.2",
"protractor": "^7.0.0",
"tslint": "6.1.3",
Expand Down

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { AppDefinitionRepresentationModel } from '@alfresco/adf-process-services

@Component({
selector: 'app-apps',
templateUrl: './apps.component.html',
styleUrls: ['./apps.component.scss']
templateUrl: './apps.component.html'
})
export class AppsComponent {

Expand Down
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { PreviewService } from '../services/preview.service';

@Component({
selector: 'app-documents',
templateUrl: './documents.component.html',
styleUrls: ['./documents.component.scss']
templateUrl: './documents.component.html'
})
export class DocumentsComponent {

Expand Down
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Component } from '@angular/core';

@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss']
templateUrl: './home.component.html'
})
export class HomeComponent {}
Empty file.

This file was deleted.

Loading

0 comments on commit ec7ebe7

Please sign in to comment.