refactor(compiler): add process title to Angular node binaries (#40648)
Set the process title for @angular/compiler-cli,@angular/localize packages Resolves #40634 PR Close #40648
This commit is contained in:
parent
65baac6055
commit
542ba1fc00
|
@ -41,6 +41,7 @@ function readXi18nCommandLineAndConfiguration(args: string[]): ParsedConfigurati
|
|||
|
||||
// Entry point
|
||||
if (require.main === module) {
|
||||
process.title = 'Angular i18n Message Extractor (ng-xi18n)';
|
||||
const args = process.argv.slice(2);
|
||||
// We are running the real compiler so run against the real file-system
|
||||
setFileSystem(new NodeJSFileSystem());
|
||||
|
|
|
@ -233,6 +233,7 @@ function printDiagnostics(
|
|||
|
||||
// CLI entry point
|
||||
if (require.main === module) {
|
||||
process.title = 'Angular Compiler (ngc)';
|
||||
const args = process.argv.slice(2);
|
||||
// We are running the real compiler so run against the real file-system
|
||||
setFileSystem(new NodeJSFileSystem());
|
||||
|
|
|
@ -25,6 +25,7 @@ import {XmbTranslationSerializer} from './translation_files/xmb_translation_seri
|
|||
import {FormatOptions, parseFormatOptions} from './translation_files/format_options';
|
||||
|
||||
if (require.main === module) {
|
||||
process.title = 'Angular Localization Message Extractor (localize-extract)';
|
||||
const args = process.argv.slice(2);
|
||||
const options =
|
||||
yargs
|
||||
|
|
|
@ -23,6 +23,7 @@ import {XtbTranslationParser} from './translation_files/translation_parsers/xtb_
|
|||
import {Translator} from './translator';
|
||||
|
||||
if (require.main === module) {
|
||||
process.title = 'Angular Localization Message Translator (localize-translate)';
|
||||
const args = process.argv.slice(2);
|
||||
const options =
|
||||
yargs
|
||||
|
|
Loading…
Reference in New Issue