From c4de255fa66e4c5b3fb8f463a362bda5da7380e9 Mon Sep 17 00:00:00 2001 From: meorphis Date: Thu, 16 May 2024 18:33:31 -0400 Subject: [PATCH] chore(internal): run build script over sub-packages --- package.json | 2 +- scripts/build-all | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 306482d8..ba727a42 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "private": false, "scripts": { "test": "./scripts/test", - "build": "./scripts/build", + "build": "./scripts/build-all", "prepack": "echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1", "prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", "format": "prettier --write --cache --cache-strategy metadata . !dist", diff --git a/scripts/build-all b/scripts/build-all index b634d304..26fcc0ca 100755 --- a/scripts/build-all +++ b/scripts/build-all @@ -3,7 +3,7 @@ set -exuo pipefail # build the core SDK package an all sub-packages -yarn build +bash ./scripts/build for dir in packages/*; do if [ -d "$dir" ]; then