1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Improving extension #753

This commit is contained in:
Patrik J. Braun 2023-11-19 16:12:18 +01:00
parent ebb9886d4b
commit dfd26e9b6b
2 changed files with 3 additions and 3 deletions

View File

@ -107,8 +107,8 @@ export class ExtensionManager implements IObjectManager {
}
if (fs.existsSync(packageJsonPath)) {
Logger.silly(LOG_TAG, `Running: "npm install --omit=dev" in ${extPath}`);
await exec('npm install --omit=dev', {
Logger.silly(LOG_TAG, `Running: "npm install --prefer-offline --no-audit --progress=false --omit=dev" in ${extPath}`);
await exec('npm install --no-audit --progress=false --omit=dev', {
cwd: extPath
});
// eslint-disable-next-line @typescript-eslint/no-var-requires

View File

@ -132,7 +132,7 @@ export interface IExtensionMessengers {
}): void;
}
export interface IExtensionObject<C> {
export interface IExtensionObject<C = void> {
/**
* ID of the extension that is internally used. By default, the name and ID matches if there is no collision.
*/