No description
Find a file
Lukasz Ostrowski b6d917c4f6
Merge pull request #45 from saleor/add-more-debug-messages
Add debug messages to middlewares
2022-09-05 10:15:24 +02:00
.github/workflows downgrade pnpm in cicd 2022-08-11 14:09:04 +02:00
.husky Add husky/lint-staged 2022-07-20 16:33:03 +02:00
docs Add debug messages to middlewares 2022-09-05 10:13:46 +02:00
src Add debug messages to middlewares 2022-09-05 10:13:46 +02:00
.eslintrc Remove release-it/bumper package and bump release it version 2022-09-01 12:20:52 +02:00
.gitignore Add information about alpha version 2022-08-08 14:49:26 +02:00
.npmignore initial commit 2022-05-24 22:16:49 +02:00
.prettierignore Add code formatting 2022-07-20 16:01:20 +02:00
.prettierrc Add code formatting 2022-07-20 16:01:20 +02:00
.release-it.json Remove release-it/bumper package and bump release it version 2022-09-01 12:20:52 +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.9.1 2022-09-01 15:42:59 +02:00
pnpm-lock.yaml Remove release-it/bumper package and bump release it version 2022-09-01 12:20:52 +02:00
README.md Add docs about debugging (#37) 2022-08-30 11:53:21 +02:00
tsconfig.json move app-bridge code and tests to app-sdk 2022-08-11 14:03:51 +02:00
vitest.config.ts move app-bridge code and tests to app-sdk 2022-08-11 14:03:51 +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

  • AppBridge - communication layer between Saleor App and Dashboard
  • APL - an interface that enabled App communicating between one or more Saleor instances
  • Debugging - how to debug app-sdk behaviour

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