generator-razor 14.0.31 → 14.0.33
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 +21 -10
- package/package.json +1 -1
package/app/index.js
CHANGED
|
@@ -432,33 +432,38 @@ export default class extends Generator {
|
|
|
432
432
|
'typo3/sysext/core/bin/typo3'
|
|
433
433
|
)
|
|
434
434
|
|
|
435
|
+
const cwd = this.destinationRoot()
|
|
436
|
+
|
|
435
437
|
this.log('→ Activating razor bootstrap...')
|
|
436
438
|
|
|
437
|
-
|
|
439
|
+
this.spawnSync(
|
|
438
440
|
typo3,
|
|
439
441
|
['extension:activate', 'razorbootstrap'],
|
|
440
442
|
{
|
|
441
|
-
cwd
|
|
443
|
+
cwd,
|
|
444
|
+
stdio: 'inherit'
|
|
442
445
|
}
|
|
443
446
|
)
|
|
444
447
|
|
|
445
448
|
this.log('→ Updating TER extension list...')
|
|
446
449
|
|
|
447
|
-
|
|
450
|
+
this.spawnSync(
|
|
448
451
|
typo3,
|
|
449
452
|
['razorbootstrap:ter:update'],
|
|
450
453
|
{
|
|
451
|
-
cwd
|
|
454
|
+
cwd,
|
|
455
|
+
stdio: 'inherit'
|
|
452
456
|
}
|
|
453
457
|
)
|
|
454
458
|
|
|
455
459
|
this.log('→ Removing razor bootstrap...')
|
|
456
460
|
|
|
457
|
-
|
|
461
|
+
this.spawnSync(
|
|
458
462
|
typo3,
|
|
459
463
|
['extension:deactivate', 'razorbootstrap'],
|
|
460
464
|
{
|
|
461
|
-
cwd
|
|
465
|
+
cwd,
|
|
466
|
+
stdio: 'inherit'
|
|
462
467
|
}
|
|
463
468
|
)
|
|
464
469
|
|
|
@@ -468,21 +473,27 @@ export default class extends Generator {
|
|
|
468
473
|
|
|
469
474
|
this.log('→ Flushing TYPO3 caches...')
|
|
470
475
|
|
|
471
|
-
await
|
|
476
|
+
await fs.remove(
|
|
477
|
+
this.destinationPath('typo3temp/var/cache')
|
|
478
|
+
)
|
|
479
|
+
|
|
480
|
+
this.spawnSync(
|
|
472
481
|
typo3,
|
|
473
482
|
['cache:flush'],
|
|
474
483
|
{
|
|
475
|
-
cwd
|
|
484
|
+
cwd,
|
|
485
|
+
stdio: 'inherit'
|
|
476
486
|
}
|
|
477
487
|
)
|
|
478
488
|
|
|
479
489
|
this.log('→ Activating razor...')
|
|
480
490
|
|
|
481
|
-
|
|
491
|
+
this.spawnSync(
|
|
482
492
|
typo3,
|
|
483
493
|
['extension:activate', 'razor'],
|
|
484
494
|
{
|
|
485
|
-
cwd
|
|
495
|
+
cwd,
|
|
496
|
+
stdio: 'inherit'
|
|
486
497
|
}
|
|
487
498
|
)
|
|
488
499
|
|