Skip to content

Files

Latest commit

5f10370 · Jun 26, 2025

History

History
38 lines (29 loc) · 683 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 683 Bytes

platforma-sdk

Build

To build all the artefacts in the repository just:

pnpm i
pnpm build

Testing

For test running you have to launch platfrom backend first:

pl-dev svc create local s3 dev \
  --storage-library="$(pwd)/assets/" \
  --auth-enabled;
pl-dev svc up dev

And after that you should start test with envs:

 PL_ADDRESS="http://127.0.0.1:6345" \ 
 PL_TEST_USER="test-user" \
 PL_TEST_PASSWORD="test-password" \
 pnpm test

Fighting strange build errors

If after multiple pulls and pnpm install-s you encounter strange build errors, don't remove pnpm-lock.yaml file, do this instead:

git clean -dfX
pnpm i
pnpm build