From 25078b6bb8d67996bfd95199cccc3d811390d1d0 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 21 Sep 2022 09:08:52 +0100 Subject: [PATCH] Add unique srcript for generating SDK to avoid unnecessarily building it --- package.json | 1 + packages/sdk/package.json | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d9b78368ba..579e86802e 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "bootstrap": "lerna bootstrap && lerna link && ./scripts/link-dependencies.sh", "build": "lerna run build", "build:dev": "lerna run prebuild && tsc --build --watch --preserveWatchOutput", + "build:sdk": "lerna run build:sdk", "deps:circular": "madge packages/server/dist/index.js packages/worker/src/index.ts packages/backend-core/dist/src/index.js packages/cli/src/index.js --circular", "release": "lerna publish ${RELEASE_VERSION_TYPE:-patch} --yes --force-publish && yarn release:pro", "release:develop": "lerna publish prerelease --yes --force-publish --dist-tag develop --exact && yarn release:pro:develop", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 1127be4958..517ec36f5b 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "1.3.19-alpha.6", + "version": "1.4.3-alpha.0", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", @@ -8,8 +8,7 @@ "type": "module", "scripts": { "generate": "cd scripts && bash generate-sdk.sh", - "build": "yarn run generate && rollup -c", - "dev:builder": "yarn run build" + "build:sdk": "yarn run generate && rollup -c" }, "dependencies": { "superagent": "^5.3.0"