generator-razor 14.0.35 → 14.0.36

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
@@ -477,10 +477,25 @@ export default class extends Generator {
477
477
  )
478
478
 
479
479
  /*
480
- * Razor Kickstart
480
+ * Start TYPO3 with completely fresh caches.
481
481
  *
482
- * This extension has no external dependencies and only exists
483
- * to make the TER update command available.
482
+ * Important before activating the first temporary extension,
483
+ * otherwise stale configuration may still reference caches
484
+ * removed in newer TYPO3 versions.
485
+ */
486
+ this.log('→ Preparing TYPO3 caches...')
487
+
488
+ await fs.remove(
489
+ this.destinationPath('typo3temp/var/cache')
490
+ )
491
+
492
+ await this._runCommand(
493
+ typo3,
494
+ ['cache:flush']
495
+ )
496
+
497
+ /*
498
+ * Razor Kickstart
484
499
  */
485
500
  this.log('→ Activating Razor kickstart...')
486
501
 
@@ -84,12 +84,6 @@ return [
84
84
  'compression' => true,
85
85
  ],
86
86
  ],
87
- 'pagesection' => [
88
- 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
89
- 'options' => [
90
- 'compression' => true,
91
- ],
92
- ],
93
87
  'rootline' => [
94
88
  'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
95
89
  'options' => [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "14.0.35",
3
+ "version": "14.0.36",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",