Add unique srcript for generating SDK to avoid unnecessarily building it

This commit is contained in:
Andrew Kingston 2022-09-21 09:08:52 +01:00
parent 3fd54967d9
commit 25078b6bb8
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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"