mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
removing node_modules after every publish will reduce the load on the host disk space. already tested on my travis project (#2232)
This commit is contained in:
committed by
Mario Romano
parent
738074ef7c
commit
1deaa22570
@@ -137,6 +137,7 @@ do
|
||||
|
||||
echo "====== PUBLISHING: ${DESTDIR} ===== npm publish ${OPTIONS}"
|
||||
npm publish ${OPTIONS} || exit 1
|
||||
rm -rf node_modules
|
||||
|
||||
if $EXEC_CHANGE_REGISTRY == true; then
|
||||
npm run rimraf .npmrc
|
||||
|
Reference in New Issue
Block a user