alfresco-content-app/app/project.json
dominikiwanekhyland 3fbdc93c51
Ng16 migration (#4104)
* Updated ACA to Angular 16

* Updated Subject types to void in cases where no values was being emitted

* [ACS-8375] [ACA] [General] Selecting a checkbox gives a light green color on focus (#3937)

* [ACS-8376] [ACA] [[Manage Rules] Multiple UI issues in create rule dialog (#3943)

* [ACS-8378] Fixed inputs having fill styling throughout ACA (#3944)

* [ACS-8378] Mat form fields now have white background instead of grey

* [ACS-8378] Fixed issue where the background of the boolean mode control dropdown was appearing as white when in condition groups. Labels in create rules window are now black

* [ACS-8415] Sidenav labels are now grey (#3946)

* [ACS-8379] Fixed issue where icons in menus were coming as black after ng16 upgrade (#3935)

* refactor DI into inject() methods (#3954)

* Cleanup and remove unneeded commits and changes

* Fix eslint (#4032)

* [REVERTABLE] - this is a quick temp fix to be able to release ACA with NG16

* [MIGRATION] - added some fix after rebase

* Refactor AppEffects (#4079)

* Refactor effects to use inject() (#4080)

* Refactor effects to use inject() (#4081)

* Rebase fixes

* [ACS-8739] Fix e2e tests (#4106)

* Updated ADF deps

* Fixed unit passing mandatory value

* Updated ADF version

* Updated ADF version

* [ACS-8743] [ADW] click on search button open a blank page (#4125)

* Updating ADF dep

* Updating ADF

* Refactor injections in effects (#4137)

* Upstream dependencies

* Refactor SearchAiEffects

* Updating ADF and rebased

* Rebased and updated

* Rebased and updated

* Updating deps

* Updating deps

* Updating deps

* Rebased and updated deps

* Pushing package-lock.json

* Moved the JWT storage injection token at app level

* Updated dependencies

* Fixed unit test

* Improved solutio for token with no need to set it explicitly

* Updating dependencies

* Updated package version

* Updated ADF deps

* Use latest ADF

---------

Co-authored-by: swapnil.verma <swapnil.verma@globallogic.com>
Co-authored-by: swapnil-verma-gl <92505353+swapnil-verma-gl@users.noreply.github.com>
Co-authored-by: VitoAlbano <vito.albano.123@gmail.com>
Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2024-10-23 17:19:36 +02:00

234 lines
6.9 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",
"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"],
"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"
}
}
}