generator-razor 14.0.29 → 14.0.30

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
@@ -428,6 +428,82 @@ export default class extends Generator {
428
428
  await this._fixProjectGroup()
429
429
  await this._fixWritableDirectoryPermissions()
430
430
 
431
+ const typo3 = this.destinationPath(
432
+ 'typo3/sysext/core/bin/typo3'
433
+ )
434
+
435
+ this.log('→ Activating razor bootstrap...')
436
+
437
+ await this.spawnCommand(
438
+ typo3,
439
+ ['extension:activate', 'razorbootstrap'],
440
+ {
441
+ cwd: this.destinationRoot()
442
+ }
443
+ )
444
+
445
+ this.log('→ Updating TER extension list...')
446
+
447
+ await this.spawnCommand(
448
+ typo3,
449
+ ['razorbootstrap:ter:update'],
450
+ {
451
+ cwd: this.destinationRoot()
452
+ }
453
+ )
454
+
455
+ this.log('→ Removing razor bootstrap...')
456
+
457
+ await this.spawnCommand(
458
+ typo3,
459
+ ['extension:deactivate', 'razorbootstrap'],
460
+ {
461
+ cwd: this.destinationRoot()
462
+ }
463
+ )
464
+
465
+ await fs.remove(
466
+ this.destinationPath('typo3conf/ext/razorbootstrap')
467
+ )
468
+
469
+ this.log('→ Flushing TYPO3 caches...')
470
+
471
+ await this.spawnCommand(
472
+ typo3,
473
+ ['cache:flush'],
474
+ {
475
+ cwd: this.destinationRoot()
476
+ }
477
+ )
478
+
479
+ this.log('→ Activating razor...')
480
+
481
+ await this.spawnCommand(
482
+ typo3,
483
+ ['extension:activate', 'razor'],
484
+ {
485
+ cwd: this.destinationRoot()
486
+ }
487
+ )
488
+
489
+ const razorScript = this.destinationPath('razor.sh')
490
+
491
+ if (!await fs.pathExists(razorScript)) {
492
+ throw new Error(
493
+ 'razor.sh was not created during razor installation.'
494
+ )
495
+ }
496
+
497
+ this.log('→ Starting razor installer...')
498
+
499
+ await this.spawnCommand(
500
+ 'bash',
501
+ ['./razor.sh'],
502
+ {
503
+ cwd: this.destinationRoot()
504
+ }
505
+ )
506
+
431
507
  const orange = chalk.ansi256(208)
432
508
  const petrol = chalk.ansi256(24)
433
509
 
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 150.6 148.7" xmlns="http://www.w3.org/2000/svg"><path d="m118.7 30.4c.2-.3 0-.8-.3-.9-.2-.1-.4-.1-.7 0l-29.6 15.1 2.8 11.1c.5 1.6-.2 3.4-1.8 4.2l-2 1-82.3 41.7c8.9 23 28.5 40.2 52.4 46.1zm-36.5-2.6 32.6-16.6c-35.5-21.8-82-10.8-103.8 24.7-6.3 10.2-10.1 21.7-11 33.7zm11.9 120.7c40.3-10.5 64.5-51.7 54-92-1.6-6.1-4-12.1-7-17.6l-47 109.7z" fill="#f18519"/></svg>
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "rafu1987/razorbootstrap",
3
+ "type": "typo3-cms-extension",
4
+ "description": "razor Bootstrap - Installs the complete razor framework",
5
+ "keywords": [
6
+ "razorbootstrap"
7
+ ],
8
+ "homepage": "https://github.com/rafu1987/razor",
9
+ "support": {
10
+ "source": "https://github.com/rafu1987/razor",
11
+ "issues": "https://github.com/rafu1987/razor/issues"
12
+ },
13
+ "license": "GPL-2.0-or-later",
14
+ "authors": [
15
+ {
16
+ "name": "Raphael Zschorsch",
17
+ "role": "Developer",
18
+ "email": "rafu1987@gmail.com"
19
+ }
20
+ ],
21
+ "require": {
22
+ "typo3/cms-extbase": "^14.3",
23
+ "typo3/cms-fluid": "^14.3",
24
+ "typo3/cms-core": "^14.3",
25
+ "php": "^8.2 || ^8.5",
26
+ "rafu1987/razor": "^14.3",
27
+ "rafu1987/razorce": "^14.3",
28
+ "rafu1987/razornews": "^14.3",
29
+ "rafu1987/razormin": "^14.3",
30
+ "rafu1987/razorcookieconsent": "^14.3",
31
+ "rafu1987/razorsite": "^14.3"
32
+ },
33
+ "extra": {
34
+ "typo3/cms": {
35
+ "extension-key": "razorbootstrap",
36
+ "version": "14.3.0"
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,30 @@
1
+ <?php
2
+
3
+ $EM_CONF[$_EXTKEY] = [
4
+ 'title' => 'Razor Bootstrap',
5
+ 'description' => 'Installs the complete Razor framework',
6
+ 'category' => 'misc',
7
+ 'author' => 'Raphael Zschorsch',
8
+ 'author_email' => 'rafu1987@gmail.com',
9
+ 'state' => 'stable',
10
+ 'version' => '14.0.0',
11
+ 'constraints' => [
12
+ 'depends' => [
13
+ 'php' => '8.3.0-8.99.99',
14
+ 'typo3' => '14.3.0-14.99.99',
15
+ 'razor' => '14.0.0-14.99.99',
16
+ 'razorce' => '14.0.0-14.99.99',
17
+ 'razornews' => '14.0.0-14.99.99',
18
+ 'razormin' => '14.0.0-14.99.99',
19
+ 'razorcookieconsent' => '14.0.0-14.99.99',
20
+ 'razorsite' => '14.0.0-14.99.99',
21
+ ],
22
+ 'conflicts' => [],
23
+ 'suggests' => [],
24
+ ],
25
+ 'autoload' => [
26
+ 'psr-4' => [
27
+ 'RZ\\Razorbootstrap\\' => 'Classes',
28
+ ],
29
+ ],
30
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "14.0.29",
3
+ "version": "14.0.30",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",