mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* [ACS-9427] Added library for markdown format * [ACS-9427] Display tooltip with mermaid source code and preprocess markdown format * [ACS-9427] Rendering mathematical formulas * [ACS-9427] Styling tables * [ACS-9427] Added support for programming code language in MD * [ACS-9427] Fixed existing unit tests for search ai results component * [ACS-9427] Unit tests for markdown data and rendering of markdown * [ACS-9427] Unit tests for markdown containing mermaid and latex blocks * [ACS-9427] Reverted unwanted change * [ACS-9427] Fixed Sonar issues for regex * [ACS-9427] Fixed Sonar issues for regex * [ACS-9427] Fixed Sonar issues for regex * [ACS-9427] Fixed Sonar issues for regex * [ACS-9427] Fixed unit test * [ACS-9427] Fixed unit test * [ACS-9427] Fixed unit test
245 lines
7.4 KiB
JSON
245 lines
7.4 KiB
JSON
{
|
|
"name": "content-ce",
|
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "app/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/content-ce",
|
|
"index": "app/src/index.html",
|
|
"main": "app/src/main.ts",
|
|
"tsConfig": "app/tsconfig.app.json",
|
|
"polyfills": "app/src/polyfills.ts",
|
|
"preserveSymlinks": true,
|
|
"allowedCommonJsDependencies": ["minimatch", "cropperjs"],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["projects/aca-content/src/lib/ui", "node_modules", "node_modules/@alfresco/adf-core/lib"]
|
|
},
|
|
"assets": [
|
|
{
|
|
"glob": "LICENSE",
|
|
"input": ".",
|
|
"output": "/"
|
|
},
|
|
"app/src/assets",
|
|
"app/src/favicon-96x96.png",
|
|
{
|
|
"glob": "app.config.json",
|
|
"input": "app/src",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/adf-core/bundles/assets",
|
|
"output": "/assets"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/adf-content-services/bundles/assets",
|
|
"output": "/assets"
|
|
},
|
|
{
|
|
"glob": "pdf.worker.min.js",
|
|
"input": "node_modules/pdfjs-dist/build",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"glob": "extension.schema.json",
|
|
"input": ".",
|
|
"output": "./assets"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/aca-content/ms-office/assets",
|
|
"output": "./assets/ms-office"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "projects/aca-content/ms-office/assets",
|
|
"output": "./assets/ms-office"
|
|
},
|
|
{
|
|
"glob": "aos.plugin.json",
|
|
"input": "projects/aca-content/ms-office/assets",
|
|
"output": "./assets/plugins"
|
|
},
|
|
{
|
|
"glob": "about.plugin.json",
|
|
"input": "projects/aca-content/about/assets",
|
|
"output": "./assets/plugins"
|
|
},
|
|
{
|
|
"glob": "folder-rules.plugin.json",
|
|
"input": "projects/aca-content/folder-rules/assets",
|
|
"output": "./assets/plugins"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "projects/aca-content/folder-rules/assets",
|
|
"output": "./assets/folder-rules"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "projects/aca-content/assets",
|
|
"output": "./assets"
|
|
}
|
|
],
|
|
"styles": [
|
|
"node_modules/cropperjs/dist/cropper.min.css",
|
|
"node_modules/pdfjs-dist/web/pdf_viewer.css",
|
|
"node_modules/katex/dist/katex.min.css",
|
|
"node_modules/prismjs/themes/prism-okaidia.css",
|
|
"projects/aca-content/src/lib/ui/application.scss",
|
|
"app/src/styles.scss"
|
|
],
|
|
"scripts": [
|
|
"node_modules/pdfjs-dist/build/pdf.js",
|
|
"node_modules/pdfjs-dist/web/pdf_viewer.js",
|
|
"node_modules/mermaid/dist/mermaid.min.js",
|
|
"node_modules/katex/dist/katex.min.js",
|
|
"node_modules/katex/dist/contrib/auto-render.min.js",
|
|
"node_modules/prismjs/prism.js",
|
|
"node_modules/prismjs/components/prism-csharp.min.js",
|
|
"node_modules/prismjs/components/prism-css.min.js"
|
|
],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "app/src/environments/environment.ts",
|
|
"with": "app/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"budgets": [
|
|
{
|
|
"type": "bundle",
|
|
"name": "main",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "bundle",
|
|
"name": "vendor",
|
|
"maximumWarning": "10mb",
|
|
"maximumError": "15mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "app/src/environments/environment.ts",
|
|
"with": "app/src/environments/environment.release.ts"
|
|
}
|
|
]
|
|
},
|
|
"e2e": {
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "app/src/environments/environment.ts",
|
|
"with": "app/src/environments/environment.e2e.ts"
|
|
}
|
|
]
|
|
},
|
|
"adf": {
|
|
"tsConfig": "app/tsconfig.app.adf.json",
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true,
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["projects/aca-content/src/lib/ui", "node_modules", "../alfresco-ng2-components/lib/core/src/lib"]
|
|
}
|
|
},
|
|
"adfprod": {
|
|
"tsConfig": "app/tsconfig.app.adf.json",
|
|
"outputHashing": "all",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "app/src/environments/environment.ts",
|
|
"with": "app/src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultConfiguration": "",
|
|
"outputs": ["{options.outputPath}"]
|
|
},
|
|
"serve": {
|
|
"executor": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "content-ce:build",
|
|
"port": 4200,
|
|
"disableHostCheck": true,
|
|
"open": true,
|
|
"proxyConfig": "app/proxy.conf.js"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "content-ce:build:production"
|
|
},
|
|
"e2e": {
|
|
"browserTarget": "content-ce:build:e2e"
|
|
},
|
|
"release": {
|
|
"browserTarget": "content-ce:build:release"
|
|
},
|
|
"adf": {
|
|
"browserTarget": "content-ce:build:adf"
|
|
}
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "app/src/test.ts",
|
|
"tsConfig": "app/tsconfig.spec.json",
|
|
"karmaConfig": "app/karma.conf.js"
|
|
},
|
|
"configurations": {
|
|
"adfprod": {
|
|
"tsConfig": "app/tsconfig.spec.adf.json"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@angular-eslint/builder:lint"
|
|
}
|
|
}
|
|
}
|