From 357e058e65582cabfe8cf053101b58a8f53cfe80 Mon Sep 17 00:00:00 2001 From: Mohamed Marrouchi Date: Tue, 22 Oct 2024 14:20:22 +0100 Subject: [PATCH] fix: package.json --- api/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/package.json b/api/package.json index 55bf173..0ef0749 100644 --- a/api/package.json +++ b/api/package.json @@ -9,9 +9,9 @@ "preinstall": "node merge-extensions-deps.js", "postinstall": "patch-package", "build:clean": "rm -rf src/.hexabot", - "build:channels": "mkdir -p src/.hexabot/channels && cp -R node_modules/hexabot-channel-* src/.hexabot/channels/", - "build:helpers": "mkdir -p src/.hexabot/helpers && cp -R node_modules/hexabot-helper-* src/.hexabot/helpers/", - "build:plugins": "mkdir -p src/.hexabot/plugins && cp -R node_modules/hexabot-plugin-* src/.hexabot/plugins/", + "build:channels": "mkdir -p src/.hexabot/channels && find node_modules/ -name 'hexabot-channel-*' -exec cp -R {} src/.hexabot/channels/ \\;", + "build:helpers": "mkdir -p src/.hexabot/helpers && find node_modules/ -name 'hexabot-helper-*' -exec cp -R {} src/.hexabot/helpers/ \\;", + "build:plugins": "mkdir -p src/.hexabot/plugins && find node_modules/ -name 'hexabot-plugin-*' -exec cp -R {} src/.hexabot/plugins/ \\;", "build:extensions": "npm run build:channels && npm run build:helpers && npm run build:plugins", "build:prepare": "npm run build:clean && npm run build:extensions", "build": "npm run build:prepare && nest build",