[ACA-3317] Show app current deployed commit in About Page (#1472)

* [ACA-3317] Show app current deployed commit in About Page

* Fix script

* Fix script param

* Remove commit

* Update proxy.conf.js
This commit is contained in:
davidcanonieto
2020-05-20 13:15:31 +01:00
committed by GitHub
parent 3b4579c19c
commit 7ffecc546c
5 changed files with 163 additions and 104 deletions
+12 -10
View File
@@ -1,17 +1,18 @@
{
"name": "alfresco-content-app",
"version": "1.11.1",
"commit": "",
"license": "LGPL-3.0",
"scripts": {
"postinstall": "./scripts/postinstall.sh",
"ng": "ng",
"start": "npm run validate-config && ng serve --open",
"start:prod": "npm run validate-config && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng serve --prod --open",
"build:aos-extension": "npx rimraf dist/@alfresco/adf-office-services-ext && ng build adf-office-services-ext && cpr projects/adf-office-services-ext/ngi.json dist/@alfresco/adf-office-services-ext/ngi.json && cpr projects/adf-office-services-ext/assets dist/@alfresco/adf-office-services-ext/assets",
"build.shared": "ng build aca-shared",
"build:aos-extension": "npm run update-commit-sha -- -gnu && npx rimraf dist/@alfresco/adf-office-services-ext && ng build adf-office-services-ext && cpr projects/adf-office-services-ext/ngi.json dist/@alfresco/adf-office-services-ext/ngi.json && cpr projects/adf-office-services-ext/assets dist/@alfresco/adf-office-services-ext/assets",
"build.shared": "npm run update-commit-sha -- -gnu && ng build aca-shared",
"build.aos": "npm run build:aos-extension",
"build.extensions": "npm run build.shared && npm run build.aos",
"build.app": "node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app",
"build.extensions": "npm run update-commit-sha -- -gnu && npm run build.shared && npm run build.aos",
"build.app": "npm run update-commit-sha -- -gnu && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app",
"build": "npm run validate-config && npm run build.app -- --prod",
"build.e2e": "npm run build.app -- --prod --configuration=e2e",
"test": "ng test app --code-coverage",
@@ -26,13 +27,14 @@
"e2e:docker": "./start.sh && npm run e2e && ./start.sh -d",
"spellcheck": "cspell '{src,e2e,projects}/**/*.ts'",
"inspect.bundle": "ng build app --prod --stats-json && npx webpack-bundle-analyzer dist/app/stats.json",
"validate-config": "ajv validate -s ./node_modules/@alfresco/adf-core/app.config.schema.json -d ./src/app.config.json --errors=text --verbose"
"validate-config": "ajv validate -s ./node_modules/@alfresco/adf-core/app.config.schema.json -d ./src/app.config.json --errors=text --verbose",
"update-commit-sha": "./scripts/update-commit-sha.sh"
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "3.9.0-78332449a5edf309638e846c05b8231dbc95baf5",
"@alfresco/adf-core": "3.9.0-78332449a5edf309638e846c05b8231dbc95baf5",
"@alfresco/adf-extensions": "3.9.0-78332449a5edf309638e846c05b8231dbc95baf5",
"@alfresco/adf-content-services": "3.9.0-1def8000f06e92a78297806a760be7fabdda3c6f",
"@alfresco/adf-core": "3.9.0-1def8000f06e92a78297806a760be7fabdda3c6f",
"@alfresco/adf-extensions": "3.9.0-1def8000f06e92a78297806a760be7fabdda3c6f",
"@alfresco/js-api": "3.9.0-e493d078d3320858e4dcb2e1c9aab2a0a3c67214",
"@angular-custom-builders/lite-serve": "0.0.2",
"@angular/animations": "7.2.15",
@@ -66,8 +68,8 @@
"zone.js": "0.8.29"
},
"devDependencies": {
"@alfresco/adf-cli": "3.9.0-78332449a5edf309638e846c05b8231dbc95baf5",
"@alfresco/adf-testing": "3.9.0-78332449a5edf309638e846c05b8231dbc95baf5",
"@alfresco/adf-cli": "^3.9.0-531d1d734572444fe222e06b1c26f4d5e159b18b",
"@alfresco/adf-testing": "3.9.0-1def8000f06e92a78297806a760be7fabdda3c6f",
"@angular-devkit/build-angular": "~0.13.9",
"@angular-devkit/build-ng-packagr": "^0.13.10",
"@angular/cli": "^7.3.9",