diff --git a/.changeset/mean-ligers-care.md b/.changeset/mean-ligers-care.md new file mode 100644 index 00000000..e21f146d --- /dev/null +++ b/.changeset/mean-ligers-care.md @@ -0,0 +1,5 @@ +--- +"@saleor/app-sdk": patch +--- + +Changed export path of VercelKv APL. Now its not exported from shared index file. diff --git a/package.json b/package.json index 906ef933..4bd54b0a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/APL/index.ts b/src/APL/index.ts index e1153913..1924e22d 100644 --- a/src/APL/index.ts +++ b/src/APL/index.ts @@ -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"; diff --git a/src/APL/vercel-kv/index.ts b/src/APL/vercel-kv/index.ts index c04f1d07..ed452e29 100644 --- a/src/APL/vercel-kv/index.ts +++ b/src/APL/vercel-kv/index.ts @@ -1 +1,2 @@ -export * from "./vercel-kv-apl"; +// eslint-disable-next-line camelcase +export { VercelKvApl as _experimental_VercelKvApl } from "./vercel-kv-apl"; diff --git a/tsup.config.ts b/tsup.config.ts index f0104dfc..720a028e 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -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",