generator-razor 14.0.6 → 14.0.8
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 +18 -13
- package/package.json +1 -1
package/app/index.js
CHANGED
|
@@ -387,10 +387,7 @@ export default class extends Generator {
|
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
await this.
|
|
391
|
-
this.destinationPath('typo3conf/PackageStates.php'),
|
|
392
|
-
'developers'
|
|
393
|
-
)
|
|
390
|
+
await this._fixPackageStatesPermissions()
|
|
394
391
|
|
|
395
392
|
const orange = chalk.hex('#ff8700').bold
|
|
396
393
|
const petrol = chalk.hex('#006792')
|
|
@@ -705,7 +702,10 @@ export default class extends Generator {
|
|
|
705
702
|
)
|
|
706
703
|
|
|
707
704
|
const passwordHash = await argon2.hash(
|
|
708
|
-
this.props.Pass
|
|
705
|
+
this.props.Pass,
|
|
706
|
+
{
|
|
707
|
+
type: argon2.argon2i
|
|
708
|
+
}
|
|
709
709
|
)
|
|
710
710
|
|
|
711
711
|
content = this._substituteMarker(
|
|
@@ -881,7 +881,10 @@ export default class extends Generator {
|
|
|
881
881
|
)
|
|
882
882
|
|
|
883
883
|
const passwordHash = await argon2.hash(
|
|
884
|
-
this.props.Pass
|
|
884
|
+
this.props.Pass,
|
|
885
|
+
{
|
|
886
|
+
type: argon2.argon2i
|
|
887
|
+
}
|
|
885
888
|
)
|
|
886
889
|
|
|
887
890
|
sql = this._substituteMarker(
|
|
@@ -1010,16 +1013,18 @@ export default class extends Generator {
|
|
|
1010
1013
|
return `${packageName}@https://github.com/${owner}/${repository}/archive/refs/tags/${release.tag_name}.tar.gz`
|
|
1011
1014
|
}
|
|
1012
1015
|
|
|
1013
|
-
async
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1016
|
+
async _fixPackageStatesPermissions () {
|
|
1017
|
+
const file = this.destinationPath(
|
|
1018
|
+
'typo3conf/PackageStates.php'
|
|
1019
|
+
)
|
|
1020
|
+
|
|
1021
|
+
if (!await fs.pathExists(file)) {
|
|
1022
|
+
return
|
|
1018
1023
|
}
|
|
1019
1024
|
|
|
1020
1025
|
await this._runCommand('chgrp', [
|
|
1021
|
-
|
|
1022
|
-
|
|
1026
|
+
'developers',
|
|
1027
|
+
file
|
|
1023
1028
|
])
|
|
1024
1029
|
}
|
|
1025
1030
|
|