generator-razor 14.0.44 → 14.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/index.js CHANGED
@@ -399,6 +399,9 @@ export default class extends Generator {
399
399
  }
400
400
 
401
401
  async end () {
402
+ const orange = chalk.ansi256(208)
403
+ const petrol = chalk.ansi256(24)
404
+
402
405
  await fs.remove(
403
406
  this.destinationPath('package.json')
404
407
  )
@@ -482,7 +485,9 @@ export default class extends Generator {
482
485
  /*
483
486
  * Start TYPO3 with completely fresh caches.
484
487
  */
485
- this.log('→ Preparing TYPO3 caches...')
488
+ this.log(orange(
489
+ `→ Preparing TYPO3 caches...`
490
+ ))
486
491
 
487
492
  await fs.remove(
488
493
  this.destinationPath('typo3temp/var/cache')
@@ -499,7 +504,9 @@ export default class extends Generator {
499
504
  * This extension has no external dependencies and provides
500
505
  * the TER update and installation commands.
501
506
  */
502
- this.log('→ Activating razor kickstart...')
507
+ this.log(orange(
508
+ `→ Activating razor kickstart...`
509
+ ))
503
510
 
504
511
  await this._runCommand(
505
512
  typo3,
@@ -509,7 +516,9 @@ export default class extends Generator {
509
516
  /*
510
517
  * Update TER extension list.
511
518
  */
512
- this.log('→ Updating TER extension list...')
519
+ this.log(orange(
520
+ `→ Updating TER extension list...`
521
+ ))
513
522
 
514
523
  await this._runCommand(
515
524
  typo3,
@@ -521,7 +530,9 @@ export default class extends Generator {
521
530
  *
522
531
  * Nothing is activated by this command.
523
532
  */
524
- this.log('→ Preparing razor dependencies...')
533
+ this.log(orange(
534
+ `→ Preparing razor dependencies...`
535
+ ))
525
536
 
526
537
  await this._runCommand(
527
538
  typo3,
@@ -534,7 +545,9 @@ export default class extends Generator {
534
545
  * This command must only update package states. It must not
535
546
  * perform TCA loading or extension setup in this process.
536
547
  */
537
- this.log('→ Activating razor packages...')
548
+ this.log(orange(
549
+ `→ Activating razor packages...`
550
+ ))
538
551
 
539
552
  await this._runCommand(
540
553
  typo3,
@@ -547,7 +560,9 @@ export default class extends Generator {
547
560
  *
548
561
  * Remove the old DI/cache state before starting TYPO3 again.
549
562
  */
550
- this.log('→ Preparing TYPO3 for razor setup...')
563
+ this.log(orange(
564
+ `→ Preparing TYPO3 for razor setup...`
565
+ ))
551
566
 
552
567
  await fs.remove(
553
568
  this.destinationPath('typo3temp/var/cache')
@@ -560,7 +575,9 @@ export default class extends Generator {
560
575
  * so their services can participate in DI compilation before
561
576
  * extension initialization and TCA loading starts.
562
577
  */
563
- this.log('→ Setting up razor framework...')
578
+ this.log(orange(
579
+ `→ Setting up razor framework...`
580
+ ))
564
581
 
565
582
  await this._runCommand(
566
583
  typo3,
@@ -584,14 +601,18 @@ export default class extends Generator {
584
601
  /*
585
602
  * Remove temporary helper extensions.
586
603
  */
587
- this.log('→ Removing razor bootstrap...')
604
+ this.log(orange(
605
+ `→ Removing razor bootstrap...`
606
+ ))
588
607
 
589
608
  await this._runCommand(
590
609
  typo3,
591
610
  ['extension:deactivate', 'razorbootstrap']
592
611
  )
593
612
 
594
- this.log('→ Removing razor kickstart...')
613
+ this.log(orange(
614
+ `→ Removing razor kickstart...`
615
+ ))
595
616
 
596
617
  await this._runCommand(
597
618
  typo3,
@@ -606,9 +627,6 @@ export default class extends Generator {
606
627
  )
607
628
  }
608
629
 
609
- const orange = chalk.ansi256(208)
610
- const petrol = chalk.ansi256(24)
611
-
612
630
  this.log(orange(`
613
631
  ██████╗ ██████╗ ███╗ ██╗███████╗
614
632
  ██╔══██╗██╔═══██╗████╗ ██║██╔════╝
@@ -619,7 +637,7 @@ export default class extends Generator {
619
637
  `))
620
638
 
621
639
  this.log(petrol(
622
- ` ${this.props.ProjectName} was generated successfully.\n`
640
+ `${this.props.ProjectName} was generated successfully.\n`
623
641
  ))
624
642
 
625
643
  /*
@@ -47,7 +47,7 @@ final class InstallCommand extends Command
47
47
  ): int {
48
48
  $io = new SymfonyStyle($input, $output);
49
49
 
50
- $io->writeln('Preparing razor package states...');
50
+ $io->writeln('<fg=cyan>Preparing razor package states...</>');
51
51
 
52
52
  /*
53
53
  * Resolve the complete installation queue again.
@@ -105,7 +105,7 @@ final class InstallCommand extends Command
105
105
  foreach (array_keys($installQueue) as $extensionKey) {
106
106
  $io->writeln(
107
107
  sprintf(
108
- 'Activating package %s...',
108
+ '<fg=green>✓ Activating package %s...</>',
109
109
  $extensionKey
110
110
  )
111
111
  );
@@ -124,7 +124,7 @@ final class InstallCommand extends Command
124
124
  * newly activated extensions.
125
125
  */
126
126
  $io->writeln(
127
- 'Rebuilding TYPO3 class loading information...'
127
+ '<fg=cyan>Rebuilding TYPO3 class loading information...</>'
128
128
  );
129
129
 
130
130
  ClassLoadingInformation::dumpClassLoadingInformation();
@@ -42,7 +42,7 @@ final class PrepareCommand extends Command
42
42
  ): int {
43
43
  $io = new SymfonyStyle($input, $output);
44
44
 
45
- $io->writeln('Preparing razor dependencies...');
45
+ $io->writeln('<fg=cyan>Preparing razor dependencies...</>');
46
46
 
47
47
  $extension = $this->extensionManagementService->getExtension(
48
48
  'razorbootstrap'
@@ -45,7 +45,7 @@ final class UpdateTerCommand extends Command
45
45
  ): int {
46
46
  $io = new SymfonyStyle($input, $output);
47
47
 
48
- $io->text('Updating TER extension list...');
48
+ $io->writeln('<fg=cyan>Updating TER extension list...</>');
49
49
 
50
50
  try {
51
51
  foreach ($this->remoteRegistry->getListableRemotes() as $remote) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "14.0.44",
3
+ "version": "14.0.46",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",