@saleor/app-sdk

0.50.0 • Public • Published

Discord Badge

SDK for Saleor Apps

SDK for building 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

How to link development version to your project

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

Dependents (0)

Package Sidebar

Install

npm i @saleor/app-sdk

Weekly Downloads

2,821

Version

0.50.0

License

ISC

Unpacked Size

258 kB

Total Files

70

Last publish

Collaborators

  • wcislo-saleor
  • poulch
  • krzysztofzuraw
  • droniu
  • andrzejewsky2
  • magul
  • 2can
  • mmiszy
  • lkostrowski
  • taniotanio7
  • maarcingebala
  • krzyh
  • patrys