resolveConvexProjectDir

test-convex · /index·function

Resolves the Convex project directory (the one holding convex.json and the convex/ functions) the local backend pushes. Honors CONVEX_PROJECT_DIR for overrides; otherwise resolves the sibling @nordcom/commerce-convex package next to this one.

Signature

@nordcom/commerce-test-convex
function resolveConvexProjectDir(): string;

Returns

Absolute path to the Convex project directory.

runCli DaemonOptions runDaemon SeedClerkOperatorOptions SeedCmsOptions SeedCanonicalOptions SeedClerkOperatorView SeedShopOptions

Sourcestart.ts:92Edit the JSDoc directly
Metadata@nordcom/commerce-test-convex@0.0.0Open in GitHub ↗

On this page