mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACA-3914] Fix app version number and enable git commit hash to be used properly (#1650)
This commit is contained in:
parent
6612a702c0
commit
3db18f7d1d
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -3,7 +3,7 @@
|
||||
"javascript.preferences.importModuleSpecifier": "relative",
|
||||
"typescript.preferences.quoteStyle": "single",
|
||||
"typescript.preferences.importModuleSpecifier": "relative",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnSave": false,
|
||||
"[json]": {
|
||||
"editor.formatOnSave": false
|
||||
},
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "alfresco-content-app",
|
||||
"version": "2.0.1",
|
||||
"commit": "",
|
||||
"commit": "<build-generated-commit>",
|
||||
"license": "LGPL-3.0",
|
||||
"scripts": {
|
||||
"postinstall": "ngcc",
|
||||
|
@ -2,8 +2,7 @@
|
||||
<aca-page-layout-content [scrollable]="true">
|
||||
<div class="main-content">
|
||||
<article>
|
||||
<adf-about-github-link [application]="'application.name' | adfAppConfig" [url]="appRepoUrl" [version]="'application.version' | adfAppConfig">
|
||||
</adf-about-github-link>
|
||||
<adf-about-github-link [application]="'application.name' | adfAppConfig" [url]="appRepoUrl" [version]="appVersion"> </adf-about-github-link>
|
||||
</article>
|
||||
|
||||
<article>
|
||||
|
@ -29,7 +29,7 @@ import { RepositoryInfo } from '@alfresco/js-api';
|
||||
import { Observable } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
import { AppExtensionService, ContentApiService } from '@alfresco/aca-shared';
|
||||
import { dependencies, version, name, commit } from '../../../../package.json';
|
||||
import { dependencies, version, name, commit } from 'package.json';
|
||||
@Component({
|
||||
selector: 'app-about',
|
||||
templateUrl: './about.component.html',
|
||||
|
@ -25,7 +25,8 @@
|
||||
"@alfresco/aca-shared/rules": ["projects/aca-shared/rules/src/public-api.ts"],
|
||||
"@alfresco/adf-office-services-ext": ["projects/adf-office-services-ext/src/public-api.ts"],
|
||||
"@alfresco/aca-testing-shared": ["projects/aca-testing-shared"],
|
||||
"@alfresco/aca-about": ["projects/aca-about/src/public-api.ts"]
|
||||
"@alfresco/aca-about": ["projects/aca-about/src/public-api.ts"],
|
||||
"package.json": ["package.json"]
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user