Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps and docs links, add logging to register handler #207

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ Commands `build` and `dev` would generate schema and typed functions using Saleo
### Storing registration data - APL

During the registration process, Saleor API passes the auth token to the app. With this token App can query Saleor API with privileged access (depending on requested permissions during the installation).
To store this data, app-template use a different [APL interfaces](https://github.com/saleor/saleor-app-sdk/blob/main/docs/apl.md).
To store this data, app-template use a different [APL interfaces](https://docs.saleor.io/docs/3.x/developer/extending/apps/developing-apps/app-sdk/apl).

The choice of the APL is made using the `APL` environment variable. If the value is not set, FileAPL is used. Available choices:

- `file`: no additional setup is required. Good choice for local development. It can't be used for multi tenant-apps or be deployed (not intended for production)
- `upstash`: use [Upstash](https://upstash.com/) Redis as storage method. Free account required. It can be used for development and production and supports multi-tenancy. Requires `UPSTASH_URL` and `UPSTASH_TOKEN` environment variables to be set

If you want to use your own database, you can implement your own APL. [Check the documentation to read more.](https://github.com/saleor/saleor-app-sdk/blob/main/docs/apl.md)
If you want to use your own database, you can implement your own APL. [Check the documentation to read more.](https://docs.saleor.io/docs/3.x/developer/extending/apps/developing-apps/app-sdk/apl)
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,38 @@
"schemaVersion": "3.10"
},
"dependencies": {
"@saleor/app-sdk": "0.41.0",
"@saleor/macaw-ui": "1.0.0-pre.4",
"@urql/exchange-auth": "^1.0.0",
"@vitejs/plugin-react": "^3.0.1",
"graphql": "^16.8.1",
"@saleor/app-sdk": "0.47.2",
"@saleor/macaw-ui": "1.0.0-pre.7",
"@urql/exchange-auth": "^2.1.6",
"@vitejs/plugin-react": "4.2.1",
"graphql": "16.7.1",
"graphql-tag": "^2.12.6",
"jsdom": "^20.0.3",
"next": "13.3.0",
"jsdom": "23.2.0",
"next": "13.4.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"urql": "^4.0.2",
"vite": "^4.0.5",
"vitest": "^0.27.1"
"urql": "4.0.6",
"vite": "5.0.11",
"vitest": "1.1.3"
},
"devDependencies": {
"@graphql-codegen/cli": "3.3.1",
"@graphql-codegen/introspection": "3.0.1",
"@graphql-codegen/schema-ast": "^3.0.1",
"@graphql-codegen/typed-document-node": "4.0.1",
"@graphql-codegen/typescript": "3.0.4",
"@graphql-codegen/typescript-operations": "3.0.4",
"@graphql-codegen/typescript-urql": "^3.7.3",
"@graphql-codegen/urql-introspection": "2.2.1",
"@graphql-typed-document-node/core": "^3.2.0",
"@types/node": "^18.11.18",
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/introspection": "4.0.0",
"@graphql-codegen/schema-ast": "4.0.0",
"@graphql-codegen/typed-document-node": "5.0.1",
"@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-operations": "4.0.1",
"@graphql-codegen/typescript-urql": "4.0.0",
"@graphql-codegen/urql-introspection": "3.0.0",
"@graphql-typed-document-node/core": "3.2.0",
"@types/node": "18.15.3",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"eslint": "8.31.0",
"eslint-config-next": "13.1.2",
"eslint-config-prettier": "^8.6.0",
"prettier": "^2.8.2",
"typescript": "5.0.4"
"eslint": "8.56.0",
"eslint-config-next": "^14.0.4",
"eslint-config-prettier": "^9.1.0",
"prettier": "3.1.1",
"typescript": "5.3.3"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix",
Expand Down
Loading
Loading