diff options
author | 2021-09-10 10:23:36 +0200 | |
---|---|---|
committer | 2021-09-10 10:23:36 +0200 | |
commit | c215007174e7ab5fd0a0470e879eba1295123833 (patch) | |
tree | 7a76e3431eea69a6ccae7d723afabc2706bbbc29 /scripts/postinstall.js | |
parent | chore: removed unused 'misty' config file (diff) | |
download | ferdium-app-c215007174e7ab5fd0a0470e879eba1295123833.tar.gz ferdium-app-c215007174e7ab5fd0a0470e879eba1295123833.tar.zst ferdium-app-c215007174e7ab5fd0a0470e879eba1295123833.zip |
chore: preconditions for pnpm migration (#1903)
Diffstat (limited to 'scripts/postinstall.js')
-rw-r--r-- | scripts/postinstall.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/postinstall.js b/scripts/postinstall.js new file mode 100644 index 000000000..84e7492ef --- /dev/null +++ b/scripts/postinstall.js | |||
@@ -0,0 +1,8 @@ | |||
1 | const { exec } = require('child_process'); | ||
2 | |||
3 | // eslint-disable-next-line no-console | ||
4 | const log = (err, stdout, stderr) => console.log(err || stdout || stderr); | ||
5 | |||
6 | if (!process.env.BUNDLING) { | ||
7 | exec('npx lerna run build', log); | ||
8 | } | ||