No description
Find a file
2023-01-12 16:13:27 +01:00
.github/workflows Implement APL 2.0 (#143) 2023-01-11 16:55:10 +01:00
.husky Add central SaleorApp instance (#71) 2022-10-11 09:40:08 +02:00
docs Rename apiUrl to saleorApiUrl for consistency (#144) 2023-01-12 13:39:49 +01:00
src Rename api url field in the Cloud APL (#146) 2023-01-12 16:13:27 +01:00
.DS_Store Change AppBridge interval to timeout (#128) 2022-12-02 16:08:39 +01:00
.eslintrc Add Upstash APL (#78) 2022-10-12 15:13:57 +02:00
.gitignore Ignore vscode workspace settings 2022-09-05 13:05:36 +02:00
.npmignore initial commit 2022-05-24 22:16:49 +02:00
.prettierignore Add Upstash APL (#78) 2022-10-12 15:13:57 +02:00
.prettierrc Add code formatting 2022-07-20 16:01:20 +02:00
.release-it.json Add clean script 2022-09-05 16:38:57 +02:00
CODEOWNERS Add docs about debugging (#37) 2022-08-30 11:53:21 +02:00
LICENSE Create LICENSE 2022-07-20 17:11:54 +02:00
package.json Release 0.26.0-2 2023-01-12 13:50:39 +01:00
pnpm-lock.yaml Implement APL 2.0 (#143) 2023-01-11 16:55:10 +01:00
README.md Add links to docs from main readme (#123) 2022-11-23 14:58:38 +01:00
tsconfig.json move app-bridge code and tests to app-sdk 2022-08-11 14:03:51 +02:00
tsup.config.ts Export verify jwt (#145) 2023-01-12 13:49:59 +01:00
vitest.config.ts Setup code coverage report to github action (#62) 2022-09-16 11:01:02 +02:00

SDK for Saleor Apps

SDK for building great Saleor Apps.

npm version badge npm downloads count

🚨 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-sdk

Docs

Development

If you would like to develop the SDK and test it with existing project:

  1. In the Saleor App SDK directory run command
pnpm watch

Now any code change will trigger build operation automatically.

  1. In your project directory:
pnpm add ../saleor-app-sdk/dist

As 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