[AAE-11496] Build and publish adf-office-services-ext (#2935)

This commit is contained in:
Bartosz Sekula 2023-01-27 17:49:17 +01:00 committed by GitHub
parent 4df548acb1
commit 010821d309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 25 additions and 4 deletions

View File

@ -385,7 +385,8 @@
"production": {
"tsConfig": "projects/adf-office-services-ext/tsconfig.lib.prod.json"
}
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",

View File

@ -14,7 +14,7 @@
"prebuild": "mkdir -p ./app/.tmp && cp ./app/src/app.config.json.tpl ./app/.tmp/app.config.json",
"build": "ng build content-ce",
"build.release": "npm run build -- --configuration=production,release",
"build-libs": "ng build aca-shared",
"build-libs": "ng build aca-shared && ng build adf-office-services-ext",
"test": "ng test",
"test:ci": "ng test adf-office-services-ext && ng test content-ce --code-coverage",
"lint": "NODE_OPTIONS=--max_old_space_size=4096 ng lint && npm run spellcheck && npm run e2e.typecheck",

View File

@ -10,7 +10,6 @@
"@alfresco/adf-extensions": "6.0.0-A.1-37376",
"@alfresco/js-api": "5.2.0",
"@angular/animations": "14.1.2",
"@angular/cdk": "14.1.2",
"@angular/common": "14.1.2",
"@angular/compiler": "14.1.2",
"@angular/core": "14.1.2",

View File

@ -0,0 +1,7 @@
{
"dest": "../../dist/@alfresco/adf-office-services-ext",
"lib": {
"entryFile": "src/public-api.ts"
},
"assets": ["assets"]
}

View File

@ -0,0 +1,8 @@
{
"name": "@alfresco/adf-office-services-ext",
"version": "2.0.1",
"main": "src/index.ts",
"dependencies": {
"tslib": "^2.0.0"
}
}

View File

@ -1,7 +1,12 @@
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
"declarationMap": false,
"paths": {
"@alfresco/aca-shared": ["dist/@alfresco/aca-shared"],
"@alfresco/aca-shared/store": ["dist/@alfresco/aca-shared/store"],
"@alfresco/aca-shared/rules": ["dist/@alfresco/aca-shared/rules"]
}
},
"angularCompilerOptions": {
"compilationMode": "partial"

View File

@ -40,6 +40,7 @@ echo -e "Branch is '$TRAVIS_BRANCH', therefore publish with '$TAG_NPM' tag\n"
PROJECTS=(
'aca-shared'
'adf-office-services-ext'
);
for PROJECT in "${PROJECTS[@]}"