]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/plugins/yarn.ts
Correctly cleanup files from object storage
[github/Chocobozzz/PeerTube.git] / server / lib / plugins / yarn.ts
index 3f45681d3f90ca839d575616681a4680b164ca23..d105b95e07d3ce0ecd0bbd888f97127556b1409f 100644 (file)
@@ -31,11 +31,16 @@ async function removeNpmPlugin (name: string) {
   await execYarn('remove ' + name)
 }
 
+async function rebuildNativePlugins () {
+  await execYarn('install --pure-lockfile')
+}
+
 // ############################################################################
 
 export {
   installNpmPlugin,
   installNpmPluginFromDisk,
+  rebuildNativePlugins,
   removeNpmPlugin
 }