Abstract Typescript SDKs
This monorepo contains the Typescript-based SDKs for AbstractSDK. Please read the docs!
Development
Install the Abstract CLI:
npm i -g @abstract-money/cli
Prerequisites
Ensure you have Node.js installed.
Install
pnpmglobally:npm i -g pnpm
Setup
Clone the Repository:
git clone https://github.com/AbstractSDK/core.git abstractjs cd abstractjsInstall Dependencies:
pnpm iBuild the Repository:
We use turbo-build to build the repository. This will build all packages in parallel.
pnpm build
Types
We have tried to make this repository compatible with both ESM and CJS, following guides from https://johnnyreilly.com/dual-publishing-esm-cjs-modules-with-tsup-and-are-the-types-wrong.
To check the types are exported properly, run the commands in the packages in which you're interested:
npx --yes @arethetypeswrong/cli --pack .