mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
production builds for CI runs
This commit is contained in:
@@ -10,5 +10,10 @@
|
|||||||
"@alfresco/adf-core": ["../../dist/core"],
|
"@alfresco/adf-core": ["../../dist/core"],
|
||||||
"@alfresco/adf-core/*": ["../../dist/core/*"]
|
"@alfresco/adf-core/*": ["../../dist/core/*"]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"skipTemplateCodegen": true,
|
||||||
|
"strictMetadataEmit": true,
|
||||||
|
"enableResourceInlining": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,5 +8,10 @@
|
|||||||
"@alfresco/adf-extensions": ["../dist/extensions"],
|
"@alfresco/adf-extensions": ["../dist/extensions"],
|
||||||
"@alfresco/adf-extensions/*": ["../dist/extensions/*"]
|
"@alfresco/adf-extensions/*": ["../dist/extensions/*"]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"skipTemplateCodegen": true,
|
||||||
|
"strictMetadataEmit": true,
|
||||||
|
"enableResourceInlining": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -3,5 +3,10 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../dist/extensions/",
|
"outDir": "../dist/extensions/",
|
||||||
"baseUrl": "src"
|
"baseUrl": "src"
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"skipTemplateCodegen": true,
|
||||||
|
"strictMetadataEmit": true,
|
||||||
|
"enableResourceInlining": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -10,5 +10,10 @@
|
|||||||
"@alfresco/adf-core": ["../../dist/core"],
|
"@alfresco/adf-core": ["../../dist/core"],
|
||||||
"@alfresco/adf-core/*": ["../../dist/core/*"]
|
"@alfresco/adf-core/*": ["../../dist/core/*"]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"skipTemplateCodegen": true,
|
||||||
|
"strictMetadataEmit": true,
|
||||||
|
"enableResourceInlining": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -12,5 +12,10 @@
|
|||||||
"@alfresco/adf-content-services": ["../../dist/content-services"],
|
"@alfresco/adf-content-services": ["../../dist/content-services"],
|
||||||
"@alfresco/adf-content-services/*": ["../../dist/content-services/*"]
|
"@alfresco/adf-content-services/*": ["../../dist/content-services/*"]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"skipTemplateCodegen": true,
|
||||||
|
"strictMetadataEmit": true,
|
||||||
|
"enableResourceInlining": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -28,4 +28,5 @@ export * from './lib/pipes/process-services-pipe.module';
|
|||||||
|
|
||||||
export * from './lib/pipes/process-name.pipe';
|
export * from './lib/pipes/process-name.pipe';
|
||||||
export * from './lib/pipes/process-services-pipe.module';
|
export * from './lib/pipes/process-services-pipe.module';
|
||||||
|
export * from './lib/material.module';
|
||||||
export * from './lib/process.module';
|
export * from './lib/process.module';
|
||||||
|
@@ -12,5 +12,10 @@
|
|||||||
"@alfresco/adf-content-services": ["../../dist/content-services"],
|
"@alfresco/adf-content-services": ["../../dist/content-services"],
|
||||||
"@alfresco/adf-content-services/*": ["../../dist/content-services/*"]
|
"@alfresco/adf-content-services/*": ["../../dist/content-services/*"]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"skipTemplateCodegen": true,
|
||||||
|
"strictMetadataEmit": true,
|
||||||
|
"enableResourceInlining": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -5,5 +5,10 @@
|
|||||||
"baseUrl": "src",
|
"baseUrl": "src",
|
||||||
"paths": {
|
"paths": {
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"skipTemplateCodegen": true,
|
||||||
|
"strictMetadataEmit": true,
|
||||||
|
"enableResourceInlining": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
|||||||
|
|
||||||
echo "====== Content Services ======"
|
echo "====== Content Services ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
npm run ng -- build content-services || exit 1
|
|
||||||
|
if [ "$CI" = "true" ]; then
|
||||||
|
echo "Building content-services for production"
|
||||||
|
npm run ng -- build content-services --prod || exit 1
|
||||||
|
else
|
||||||
|
echo "Building content-services for development"
|
||||||
|
npm run ng -- build content-services || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "====== Build style ======"
|
echo "====== Build style ======"
|
||||||
node ./lib/config/bundle-content-services-scss.js || exit 1
|
node ./lib/config/bundle-content-services-scss.js || exit 1
|
||||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
|||||||
|
|
||||||
echo "====== Core ======"
|
echo "====== Core ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
npm run ng -- build core|| exit 1
|
|
||||||
|
if [ "$CI" = "true" ]; then
|
||||||
|
echo "Building core for production"
|
||||||
|
npm run ng -- build core --prod || exit 1
|
||||||
|
else
|
||||||
|
echo "Building core for development"
|
||||||
|
npm run ng -- build core || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "====== Build style ======"
|
echo "====== Build style ======"
|
||||||
node ./lib/config/bundle-core-scss.js || exit 1
|
node ./lib/config/bundle-core-scss.js || exit 1
|
||||||
|
@@ -4,4 +4,10 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||||||
|
|
||||||
cd $DIR/../..
|
cd $DIR/../..
|
||||||
|
|
||||||
npm run ng -- build extensions
|
if [ "$CI" = "true" ]; then
|
||||||
|
echo "Building extensions for production"
|
||||||
|
npm run ng -- build extensions --prod || exit 1
|
||||||
|
else
|
||||||
|
echo "Building extensions for development"
|
||||||
|
npm run ng -- build extensions || exit 1
|
||||||
|
fi
|
||||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
|||||||
|
|
||||||
echo "====== Insights ======"
|
echo "====== Insights ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
npm run ng -- build insights || exit 1
|
|
||||||
|
if [ "$CI" = "true" ]; then
|
||||||
|
echo "Building insights for production"
|
||||||
|
npm run ng -- build insights --prod || exit 1
|
||||||
|
else
|
||||||
|
echo "Building insights for development"
|
||||||
|
npm run ng -- build insights || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "====== Build style ======"
|
echo "====== Build style ======"
|
||||||
node ./lib/config/bundle-insights-scss.js || exit 1
|
node ./lib/config/bundle-insights-scss.js || exit 1
|
||||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
|||||||
|
|
||||||
echo "====== Process Services Cloud ======"
|
echo "====== Process Services Cloud ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
npm run ng -- build process-services-cloud || exit 1
|
|
||||||
|
if [ "$CI" = "true" ]; then
|
||||||
|
echo "Building process-services-cloud for production"
|
||||||
|
npm run ng -- build process-services-cloud --prod || exit 1
|
||||||
|
else
|
||||||
|
echo "Building process-services-cloud for development"
|
||||||
|
npm run ng -- build process-services-cloud || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "====== Build style ======"
|
echo "====== Build style ======"
|
||||||
node ./lib/config/bundle-process-services-cloud-scss.js || exit 1
|
node ./lib/config/bundle-process-services-cloud-scss.js || exit 1
|
||||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
|||||||
|
|
||||||
echo "====== Process Services ======"
|
echo "====== Process Services ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
npm run ng -- build process-services || exit 1
|
|
||||||
|
if [ "$CI" = "true" ]; then
|
||||||
|
echo "Building process-services for production"
|
||||||
|
npm run ng -- build process-services --prod || exit 1
|
||||||
|
else
|
||||||
|
echo "Building process-services for development"
|
||||||
|
npm run ng -- build process-services || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "====== Build style ======"
|
echo "====== Build style ======"
|
||||||
node ./lib/config/bundle-process-services-scss.js || exit 1
|
node ./lib/config/bundle-process-services-scss.js || exit 1
|
||||||
|
@@ -6,4 +6,11 @@ cd $DIR/../..
|
|||||||
|
|
||||||
echo "====== Testing ======"
|
echo "====== Testing ======"
|
||||||
echo "====== Build ======"
|
echo "====== Build ======"
|
||||||
npm run ng -- build testing || exit 1
|
|
||||||
|
if [ "$CI" = "true" ]; then
|
||||||
|
echo "Building testing for production"
|
||||||
|
npm run ng -- build testing --prod || exit 1
|
||||||
|
else
|
||||||
|
echo "Building testing for development"
|
||||||
|
npm run ng -- build testing || exit 1
|
||||||
|
fi
|
||||||
|
Reference in New Issue
Block a user