Skip to content

Commit

Permalink
create sparate export for vercel kv apl
Browse files Browse the repository at this point in the history
  • Loading branch information
lkostrowski committed Dec 6, 2023
1 parent ee07e79 commit 3de111b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/mean-ligers-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@saleor/app-sdk": patch
---

Changed export path of VercelKv APL. Now its not exported from shared index file.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@
"import": "./APL/index.mjs",
"require": "./APL/index.js"
},
"./APL/vercel-kv": {
"types": "./APL/vercel-kv/index.d.ts",
"import": "./APL/vercel-kv/index.mjs",
"require": "./APL/vercel-kv/index.js"
},
"./settings-manager": {
"types": "./settings-manager/index.d.ts",
"import": "./settings-manager/index.mjs",
Expand Down
2 changes: 0 additions & 2 deletions src/APL/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ export * from "./env-apl";
export * from "./file-apl";
export * from "./saleor-cloud";
export * from "./upstash-apl";
// eslint-disable-next-line camelcase
export { VercelKvApl as _experimental_VercelKvApl } from "./vercel-kv";
3 changes: 2 additions & 1 deletion src/APL/vercel-kv/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from "./vercel-kv-apl";
// eslint-disable-next-line camelcase
export { VercelKvApl as _experimental_VercelKvApl } from "./vercel-kv-apl";
1 change: 1 addition & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default defineConfig({
"src/verify-jwt.ts",
"src/verify-signature.ts",
"src/APL/index.ts",
"src/APL/vercel-kv/index.ts",
"src/app-bridge/index.ts",
"src/app-bridge/next/index.ts",
"src/handlers/next/index.ts",
Expand Down

0 comments on commit 3de111b

Please sign in to comment.