generator-razor 13.4.11 → 13.4.12
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 +19 -0
- package/package.json +5 -2
package/app/index.js
CHANGED
|
@@ -300,6 +300,25 @@ module.exports = class extends Generator {
|
|
|
300
300
|
t._localconf(t)
|
|
301
301
|
t._localSettings(t)
|
|
302
302
|
|
|
303
|
+
const writableDirectories = [
|
|
304
|
+
'fileadmin',
|
|
305
|
+
'fileadmin/user_upload',
|
|
306
|
+
'fileadmin/_processed_',
|
|
307
|
+
'fileadmin/_recycler_',
|
|
308
|
+
'fileadmin/_temp_',
|
|
309
|
+
'typo3temp',
|
|
310
|
+
'typo3conf',
|
|
311
|
+
'typo3conf/ext'
|
|
312
|
+
]
|
|
313
|
+
|
|
314
|
+
writableDirectories.forEach((directory) => {
|
|
315
|
+
const directoryPath = path.join(destination, directory)
|
|
316
|
+
|
|
317
|
+
if (fs.existsSync(directoryPath)) {
|
|
318
|
+
fs.chmodSync(directoryPath, 0o2775)
|
|
319
|
+
}
|
|
320
|
+
})
|
|
321
|
+
|
|
303
322
|
t._createDb((response) => {
|
|
304
323
|
t._processSqlFile(t, response, () => {
|
|
305
324
|
t._setRazorConfig()
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-razor",
|
|
3
|
-
"version": "13.4.
|
|
3
|
+
"version": "13.4.12",
|
|
4
4
|
"description": "Yeoman generator for razor TYPO3 distribution",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "app/index.js",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/rafu1987/generator-razor.git"
|
|
10
|
+
},
|
|
8
11
|
"author": {
|
|
9
12
|
"name": "Raphael Zschorsch",
|
|
10
13
|
"email": "rafu1987@gmail.com",
|