No description
Find a file
2022-08-08 14:57:00 +02:00
.github/workflows Remove unused check 2022-07-20 16:21:47 +02:00
.husky Add husky/lint-staged 2022-07-20 16:33:03 +02:00
src Unify error message for the middleware 2022-08-08 11:01:02 +02:00
.eslintrc Configure eslint ts parser 2022-07-22 18:16:08 +02:00
.gitignore initial commit 2022-05-24 22:16:49 +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
LICENSE Create LICENSE 2022-07-20 17:11:54 +02:00
package.json Install vitest, remove uvu 2022-08-08 14:57:00 +02:00
pnpm-lock.yaml Install vitest, remove uvu 2022-08-08 14:57:00 +02:00
README.md Merge pull request #11 from saleor/local-development-link 2022-08-01 12:04:34 +02:00
tsconfig.json Apply code formatting 2022-07-20 16:19:49 +02:00

SDK for Saleor Apps

SDK for building great Saleor Apps.

npm version badge npm downloads count

Installing

npm i @saleor/app-sdk

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