aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/plugins/yarn.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/plugins/yarn.ts')
-rw-r--r--server/lib/plugins/yarn.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/lib/plugins/yarn.ts b/server/lib/plugins/yarn.ts
index 3f45681d3..d105b95e0 100644
--- a/server/lib/plugins/yarn.ts
+++ b/server/lib/plugins/yarn.ts
@@ -31,11 +31,16 @@ async function removeNpmPlugin (name: string) {
31 await execYarn('remove ' + name) 31 await execYarn('remove ' + name)
32} 32}
33 33
34async function rebuildNativePlugins () {
35 await execYarn('install --pure-lockfile')
36}
37
34// ############################################################################ 38// ############################################################################
35 39
36export { 40export {
37 installNpmPlugin, 41 installNpmPlugin,
38 installNpmPluginFromDisk, 42 installNpmPluginFromDisk,
43 rebuildNativePlugins,
39 removeNpmPlugin 44 removeNpmPlugin
40} 45}
41 46