From d6e065bd7bc2e34de50294a25525bee6d058361f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Hassan?= Date: Thu, 25 Jul 2024 16:40:35 +0200 Subject: [PATCH] remo postinstall --- postinstall.mjs | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 postinstall.mjs diff --git a/postinstall.mjs b/postinstall.mjs deleted file mode 100644 index 4cd398844..000000000 --- a/postinstall.mjs +++ /dev/null @@ -1,16 +0,0 @@ -import path from 'path' -import * as url from 'url' -import fs from 'fs-extra' -// const topDir = import.meta.dirname - -try { - const __dirname = url.fileURLToPath(new URL('.', import.meta.url)) - fs.emptyDirSync(path.join(__dirname, 'apps', 'sensenet', 'tinymce')) - fs.copySync(path.join(__dirname, 'node_modules', 'tinymce'), path.join(__dirname, 'apps', 'sensenet', 'tinymce'), { - overwrite: true, - }) - - console.log('tinymcye has been installed') -} catch (error) { - console.error(error) -}