generator-razor 14.1.4 → 14.1.6

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
@@ -1344,6 +1344,14 @@ export default class extends Generator {
1344
1344
  this.props.DbHostname
1345
1345
  )
1346
1346
 
1347
+ // The port is used to create the database, TYPO3 needs it as well
1348
+ if (this.props.DbPort) {
1349
+ content = content.replace(
1350
+ /^(\s*)'host' => '([^']*)',$/m,
1351
+ `$1'host' => '$2',\n$1'port' => ${Number(this.props.DbPort)},`
1352
+ )
1353
+ }
1354
+
1347
1355
  content = this._substituteMarker(
1348
1356
  content,
1349
1357
  '###PROJECTNAME###',
@@ -1476,9 +1484,11 @@ export default class extends Generator {
1476
1484
  }
1477
1485
 
1478
1486
  async _setrazorConfig () {
1487
+ // nginx: DEV_NGINX_(COMPOSER_)DOMAIN, otherwise the Apache domains
1488
+ const nginx = this.props.Webserver === 'nginx'
1479
1489
  const devDomain = this.props.ComposerMode
1480
- ? process.env.DEV_COMPOSER_DOMAIN ?? ''
1481
- : process.env.DEV_DOMAIN ?? ''
1490
+ ? (nginx && process.env.DEV_NGINX_COMPOSER_DOMAIN) || process.env.DEV_COMPOSER_DOMAIN || ''
1491
+ : (nginx && process.env.DEV_NGINX_DOMAIN) || process.env.DEV_DOMAIN || ''
1482
1492
 
1483
1493
  const projectName = path.basename(this.destinationRoot())
1484
1494
 
@@ -3,7 +3,7 @@
3
3
  # ------------------------------------------------------------------------------
4
4
 
5
5
  <FilesMatch \.php$>
6
- SetHandler proxy:fcgi://php84:9000
6
+ SetHandler proxy:fcgi://php85:9000
7
7
  </FilesMatch>
8
8
 
9
9
  # ------------------------------------------------------------------------------
@@ -3,7 +3,7 @@
3
3
  # ------------------------------------------------------------------------------
4
4
 
5
5
  <FilesMatch \.php$>
6
- SetHandler proxy:fcgi://php84:9000
6
+ SetHandler proxy:fcgi://php85:9000
7
7
  </FilesMatch>
8
8
 
9
9
  # ------------------------------------------------------------------------------
@@ -3,7 +3,7 @@
3
3
  # ------------------------------------------------------------------------------
4
4
 
5
5
  <FilesMatch \.php$>
6
- SetHandler proxy:fcgi://php84:9000
6
+ SetHandler proxy:fcgi://php85:9000
7
7
  </FilesMatch>
8
8
 
9
9
  # ------------------------------------------------------------------------------
@@ -3,7 +3,7 @@
3
3
  # ------------------------------------------------------------------------------
4
4
 
5
5
  <FilesMatch \.php$>
6
- SetHandler proxy:fcgi://php84:9000
6
+ SetHandler proxy:fcgi://php85:9000
7
7
  </FilesMatch>
8
8
 
9
9
  # ------------------------------------------------------------------------------
@@ -20,7 +20,7 @@
20
20
  }
21
21
  ],
22
22
  "require": {
23
- "php": "^8.4.1",
23
+ "php": "^8.4",
24
24
 
25
25
  "typo3/cms-backend": "###TYPO3_VERSION###",
26
26
  "typo3/cms-belog": "###TYPO3_VERSION###",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "14.1.4",
3
+ "version": "14.1.6",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "engines": {
18
- "node": ">=22.0.0"
18
+ "node": "^22.18.0 || >=24.11.0"
19
19
  },
20
20
  "scripts": {
21
21
  "test:syntax": "node --check app/index.js"
@@ -34,6 +34,6 @@
34
34
  "fs-extra": "^11.4.0",
35
35
  "mysql2": "^3.23.1",
36
36
  "tar": "^7.5.22",
37
- "yeoman-generator": "^8.2.2"
37
+ "yeoman-generator": "^10.2.1"
38
38
  }
39
39
  }