fix(build): update tooling configuration and align nginx certificate generation with current dependencies

This commit is contained in:
2026-04-30 17:47:40 +00:00
parent 8b9420d9b6
commit 6499ba9ceb
13 changed files with 2297 additions and 1958 deletions
+4 -5
View File
@@ -27,7 +27,7 @@ export class SmartNginx {
this.options.logger
? (this.logger = this.options.logger)
: (this.logger = new plugins.smartlog.Smartlog({
logContext: null
logContext: {}
}));
}
@@ -122,10 +122,9 @@ export class SmartNginx {
);
// write standard self signed certificate
const selfsignedCert = plugins.selfsigned.generate(
[{ name: 'commonName', value: 'selfsigned.git.zone' }],
{ days: 365 }
);
const selfsignedCert = await plugins.selfsigned.generate([
{ name: 'commonName', value: 'selfsigned.git.zone' },
]);
// deploy hosts
await plugins.fs.directory(paths.nginxHostDirPath).recursive().create();