Uptime Robot ratio (30 days)      
v2020.10.126
 2

🍶 Verdaccio CLI

It is that first p3x-verdaccio-cli version that is working with the Verdaccio .

Based on https://github.com/verdaccio/verdaccio/issues/343

Of course, with an option eg. --storage=azure it could be enabled.

⚠️ MAKE SURE TO STOP VERDACCIO BEFORE YOU CONTINUE AND MAKE SURE TO BACKUP BEFORE YOU CHANGE ANYTHING, SO THAT YOU COULD REVERT IF SOMETHING IS NOT STATISFYING!!!

⚠️ This is only working with the original Sinopia file system storage driver!!!

For own packages only works without namespaces!

Show the help 

p3x-verdaccio-cli

Routines 

Cache 

Info 

p3x-verdaccio-cli --config /var/npm/config.yaml cache info 

Output 

root@server:~# p3x-verdaccio-cli --config /var/npm/config.yaml cache info
Please add a flag --confirm and only add this flag after you stopped Verdaccio!

Own packages: corifeus-utils, corifeus-builder, corifeus-builder-angular, corifeus-web, corifeus-web-material, p3x-aes-folder, p3x-angular-compile, p3x-html-pdf, p3x-onenote, p3x-ramdisk, p3x-systemd-manager, p3x-tools, p3x-freenom, grunt-p3x-express, corifeus-server, p3x-redis-ui-server, p3x-redis-ui-material, p3x-redis-ui, p3x-verdaccio-cli, p3x-xml2json
Own packages count: 20

Total of package count without own packages: 1668


Please add a flag --confirm and only add this flag after you stopped Verdaccio!

Clean 

# first you can try a dry run and give some output info
p3x-verdaccio-cli --config /var/npm/config.yaml --dry cache clean 

# actually clean the cache
p3x-verdaccio-cli --config /var/npm/config.yaml cache clean 

Package remove 

# first you can try a dry run and give some output info
p3x-verdaccio-cli --config /var/npm/config.yaml --dry pkg-rm my-own-pkg 

# actually it removes a package
p3x-verdaccio-cli --config /var/npm/config.yaml pkg-rm my-own-pkg 

Package 

Keep 

This function removes old versions from Verdaccio and keep the set minimum versions (eg. keep minimum 3 versions and delete the rest).

# first you can try a dry run and give some output info
p3x-verdaccio-cli --config /var/npm/config.yaml --dry pkg keep 

# actually keeps 3 last versions of your all own packages
p3x-verdaccio-cli --config /var/npm/config.yaml pkg keep 

# if you want more versions, use the --min flag, and keep 10 versions for each packages
p3x-verdaccio-cli --config /var/npm/config.yaml pkg keep --min 10

⚠️ MAKE SURE TO START VERDACCIO AFTER YOU HAVE DONE!!!

p3x Sake
onenoteGithub onenoteredis-uiGithub redis-uiangular-compileGithub angular-compilegitlistGithub gitlistramdiskGithub ramdiskfreenomGithub freenomopenwrt-insomniaGithub openwrt-insomniadocker-debian-testing-mongodb-stableGithub docker-debian-testing-mongodb-stablecorifeusGithub corifeusredis-ui-serverGithub redis-ui-serversystemd-managerGithub systemd-managercorifeus-app-web-pagesGithub corifeus-app-web-pageshtml-pdfGithub html-pdfredis-ui-materialGithub redis-ui-materialverdaccio-cliGithub verdaccio-clixml2jsonGithub xml2jsonangular-http-cache-interceptorGithub angular-http-cache-interceptorgrunt-p3x-expressGithub grunt-p3x-expressbinary-search-closestGithub binary-search-closestcorifeus-app-server-patrikx3Github corifeus-app-server-patrikx3corifeus-builderGithub corifeus-buildercorifeus-utilsGithub corifeus-utilsjson2xls-worker-threadGithub json2xls-worker-threadtoolsGithub tools