mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
add AlfrescoApiService
This commit is contained in:
parent
30f22006dd
commit
788f66cb12
@ -64,11 +64,8 @@ script: npm run test
|
|||||||
# Send coverage data to Coveralls
|
# Send coverage data to Coveralls
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
after_script:
|
|
||||||
- travis cache --delete
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
timeout: 1000
|
|
||||||
directories:
|
directories:
|
||||||
- demo-shell-ng2/node_modules
|
- demo-shell-ng2/node_modules
|
||||||
- ng2-components/ng2-activiti-form/node_modules
|
- ng2-components/ng2-activiti-form/node_modules
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { it, inject, describe, expect, beforeEach, beforeEachProviders, afterEach } from '@angular/core/testing';
|
import { it, inject, describe, expect, beforeEach, beforeEachProviders, afterEach } from '@angular/core/testing';
|
||||||
import { AlfrescoAuthenticationService, AlfrescoSettingsService } from 'ng2-alfresco-core';
|
import { AlfrescoAuthenticationService, AlfrescoSettingsService, AlfrescoApiService } from 'ng2-alfresco-core';
|
||||||
import { NodeService } from './node.service';
|
import { NodeService } from './node.service';
|
||||||
import { EcmModelService } from './ecm-model.service';
|
import { EcmModelService } from './ecm-model.service';
|
||||||
import { HTTP_PROVIDERS } from '@angular/http';
|
import { HTTP_PROVIDERS } from '@angular/http';
|
||||||
@ -35,7 +35,8 @@ describe('EcmModelService', () => {
|
|||||||
AlfrescoSettingsService,
|
AlfrescoSettingsService,
|
||||||
NodeService,
|
NodeService,
|
||||||
EcmModelService,
|
EcmModelService,
|
||||||
HTTP_PROVIDERS
|
HTTP_PROVIDERS,
|
||||||
|
AlfrescoApiService
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { it, inject, describe, expect, beforeEach, beforeEachProviders, afterEach } from '@angular/core/testing';
|
import { it, inject, describe, expect, beforeEach, beforeEachProviders, afterEach } from '@angular/core/testing';
|
||||||
import { AlfrescoAuthenticationService, AlfrescoSettingsService } from 'ng2-alfresco-core';
|
import { AlfrescoAuthenticationService, AlfrescoSettingsService, AlfrescoApiService } from 'ng2-alfresco-core';
|
||||||
import { NodeService } from './node.service';
|
import { NodeService } from './node.service';
|
||||||
import { NodeMetadata } from '../models/node-metadata.model';
|
import { NodeMetadata } from '../models/node-metadata.model';
|
||||||
import { EcmModelService } from './ecm-model.service';
|
import { EcmModelService } from './ecm-model.service';
|
||||||
@ -31,7 +31,8 @@ describe('NodeService', () => {
|
|||||||
return [
|
return [
|
||||||
AlfrescoAuthenticationService,
|
AlfrescoAuthenticationService,
|
||||||
AlfrescoSettingsService,
|
AlfrescoSettingsService,
|
||||||
NodeService
|
NodeService,
|
||||||
|
AlfrescoApiService
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
for PACKAGE in \
|
for PACKAGE in \
|
||||||
|
ng2-alfresco-core \
|
||||||
ng2-activiti-form \
|
ng2-activiti-form \
|
||||||
ng2-activiti-tasklist \
|
ng2-activiti-tasklist \
|
||||||
ng2-activiti-processlist \
|
ng2-activiti-processlist \
|
||||||
ng2-alfresco-core \
|
|
||||||
ng2-alfresco-datatable \
|
ng2-alfresco-datatable \
|
||||||
ng2-alfresco-documentlist \
|
ng2-alfresco-documentlist \
|
||||||
ng2-alfresco-login \
|
ng2-alfresco-login \
|
||||||
@ -18,6 +18,7 @@ do
|
|||||||
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||||
echo "====== build components : ${PACKAGE} ====="
|
echo "====== build components : ${PACKAGE} ====="
|
||||||
cd "$DESTDIR"
|
cd "$DESTDIR"
|
||||||
|
npm update
|
||||||
npm install --cache-min 9999999
|
npm install --cache-min 9999999
|
||||||
npm run build
|
npm run build
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user