No description
Find a file
dependabot[bot] e04d6c0252
Bump semver from 5.7.1 to 5.7.2 (#270)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-09-07 12:25:41 +02:00
.changeset Bump semver from 5.7.1 to 5.7.2 (#270) 2023-09-07 12:25:41 +02:00
.github Update main.yml 2023-09-06 14:39:20 +02:00
.husky Add central SaleorApp instance (#71) 2022-10-11 09:40:08 +02:00
src Mark query in manifest required (#280) 2023-09-06 09:30:56 +02:00
.eslintrc Add sync webhook (#202) 2023-03-06 15:01:22 +01: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
CHANGELOG.md Release to npm (#278) 2023-09-04 14:42:25 +02:00
CODEOWNERS Update the codeowners file (#160) 2023-01-23 14:41:15 +01:00
LICENSE Create LICENSE 2022-07-20 17:11:54 +02:00
package.json Add missing entry point for generic typings (#284) 2023-09-07 12:18:37 +02:00
pnpm-lock.yaml Bump semver from 5.7.1 to 5.7.2 (#270) 2023-09-07 12:25:41 +02:00
README.md Update README.md (#272) 2023-09-06 14:15:18 +02:00
tsconfig.json move app-bridge code and tests to app-sdk 2022-08-11 14:03:51 +02:00
tsup.config.ts Expose verify-jwks and remove legacy domain usage instead of api url (#173) 2023-02-14 16:18:46 +01:00
vitest.config.ts Add EXP field validation in JWT (#233) 2023-04-26 14:09:50 +02:00

Discord Badge

SDK for Saleor Apps

SDK for building great Saleor Apps.

npm version badge npm downloads count

🚨 Alpha phase

App SDK is in the early stage at the moment. Every API below 1.x.x release is likely to change.

Feel free to play with SDK and move its code directly to your app.

Installing

npm i @saleor/app-sdk

Docs

You can find the documentation here.

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