generator-razor 13.4.3 → 13.4.5

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.
Files changed (2) hide show
  1. package/app/index.js +11 -4
  2. package/package.json +1 -1
package/app/index.js CHANGED
@@ -328,10 +328,17 @@ module.exports = class extends Generator {
328
328
  // yarn settings
329
329
  const yarnSettings = { dev: true, 'no-lockfile': true, 'modules-folder': 'typo3conf/ext/' }
330
330
 
331
- // Install razor
332
- this.yarnInstall([
333
- 'ssh://git@github.com/rafu1987/razor.git#' + branch
334
- ], yarnSettings)
331
+ // TYPO13 bug with content_blocks 1.3.19 install from TER
332
+ if (branch === 'razor13-dev') {
333
+ this.yarnInstall([
334
+ 'ssh://git@github.com/rafu1987/razor.git#' + branch,
335
+ 'content_blocks@https://github.com/FriendsOfTYPO3/content-blocks/archive/refs/tags/1.3.19.tar.gz',
336
+ ], yarnSettings)
337
+ } else {
338
+ this.yarnInstall([
339
+ 'ssh://git@github.com/rafu1987/razor.git#' + branch
340
+ ], yarnSettings)
341
+ }
335
342
  }
336
343
 
337
344
  end () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "13.4.3",
3
+ "version": "13.4.5",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",