Try some more config

This commit is contained in:
Sander Declerck 2025-10-14 15:59:43 +02:00
parent 23bce71356
commit 7ae4d3bc8d
No known key found for this signature in database

View file

@ -76,6 +76,16 @@ log: { type: file, path: ./verdaccio.log, level: trace, colors: false }
await configShell.runCommand( await configShell.runCommand(
`echo 'storage: ./storage' >> ~/.verdaccio-config.yaml` `echo 'storage: ./storage' >> ~/.verdaccio-config.yaml`
); );
await configShell.runCommand(`echo 'auth:' >> ~/.verdaccio-config.yaml`);
await configShell.runCommand(
`echo ' htpasswd:' >> ~/.verdaccio-config.yaml`
);
await configShell.runCommand(
`echo ' file: ./htpasswd' >> ~/.verdaccio-config.yaml`
);
await configShell.runCommand(
`echo ' max_users: 100' >> ~/.verdaccio-config.yaml`
);
await configShell.runCommand(`echo 'uplinks:' >> ~/.verdaccio-config.yaml`); await configShell.runCommand(`echo 'uplinks:' >> ~/.verdaccio-config.yaml`);
await configShell.runCommand(`echo ' npmjs:' >> ~/.verdaccio-config.yaml`); await configShell.runCommand(`echo ' npmjs:' >> ~/.verdaccio-config.yaml`);
await configShell.runCommand( await configShell.runCommand(