From 10fd25607d085c6120a04550a4271b7efc498d3b Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Thu, 29 Mar 2018 20:04:01 +0100 Subject: [PATCH] Remove installer from release build script --- client/src/modules/pluginapi.js | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/modules/pluginapi.js b/client/src/modules/pluginapi.js index dbdc74ce..eb0499e8 100644 --- a/client/src/modules/pluginapi.js +++ b/client/src/modules/pluginapi.js @@ -416,12 +416,13 @@ export default class PluginApi { instead: this.patchInstead.bind(this), pushChildPatch: this.pushChildPatch.bind(this), unpatchAll: this.unpatchAll.bind(this), + monkeyPatch: this.monkeyPatch.bind(this) }, 'patches', { get: () => this.patches }); } - get monkeyPatch() { - return module => MonkeyPatch(this.plugin.id, module); + monkeyPatch(module) { + return MonkeyPatch(this.plugin.id, module); } } diff --git a/package.json b/package.json index 7d86c9fd..62a2312d 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "lint": "eslint -f unix client/src core/src csseditor/src", "test": "npm run build && npm run lint", "build_node-sass": "node scripts/build-node-sass.js", - "build_release": "npm run release --prefix client && npm run build --prefix core && npm run release --prefix csseditor && npm run build --prefix installer", + "build_release": "npm run release --prefix client && npm run build --prefix core && npm run release --prefix csseditor", "release": "npm run lint && npm run build_release && gulp release" } }