Package Exports
- @saleor/app-sdk/APL
- @saleor/app-sdk/app-bridge
- @saleor/app-sdk/app-bridge/next
- @saleor/app-sdk/const
- @saleor/app-sdk/handlers/next
- @saleor/app-sdk/infer-webhooks
- @saleor/app-sdk/middleware
- @saleor/app-sdk/package.json
- @saleor/app-sdk/saleor-app
- @saleor/app-sdk/settings-manager
- @saleor/app-sdk/urls
- @saleor/app-sdk/util
Readme
SDK for Saleor Apps
SDK for building great Saleor Apps.
🚨 Alpha phase
App SDK is on early, alpha stage at the moment. Every API below 1.x.x release is likely to change.
Feel free to play with SDK and to move its code to your app directly
Installing
npm i @saleor/app-sdkDocs
- AppBridge - communication layer between Saleor App and Dashboard
- Protected Views - protecting access to App outside of Dashboard
- APL - an interface that enabled App communicating between one or more Saleor instances
- Debugging - how to debug app-sdk behaviour
Development
How to link development version to your project
If you would like to develop the SDK and test it with existing project:
- In the Saleor App SDK directory run command
pnpm watchNow any code change will trigger build operation automatically.
- In your project directory:
pnpm add ../saleor-app-sdk/distAs path to your local copy of the App SDK may be different, adjust it accordingly.
Code style
Before committing the code, Git pre-hooks will check staged changes for following the code styles. If you would like to format the code by yourself, run the command:
pnpm lint