From d4101a48b3eee8b1fb177831aa02a4b4fbec2588 Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Sat, 18 Sep 2021 11:15:25 +0200 Subject: chore: convert various files from JS to TS (#1959) --- scripts/postinstall.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/postinstall.ts (limited to 'scripts/postinstall.ts') diff --git a/scripts/postinstall.ts b/scripts/postinstall.ts new file mode 100644 index 000000000..4fa71c35f --- /dev/null +++ b/scripts/postinstall.ts @@ -0,0 +1,8 @@ +import { exec } from 'child_process'; + +// eslint-disable-next-line no-console +const log = (err, stdout, stderr) => console.log(err || stdout || stderr); + +if (!process.env.BUNDLING) { + exec('npx lerna run build', log); +} -- cgit v1.2.3-54-g00ecf