Skip to content

@salesforce/b2c-tooling-sdk / discovery / storefrontNextPattern

Variable: storefrontNextPattern ​

const storefrontNextPattern: DetectionPattern

Defined in: packages/b2c-tooling-sdk/src/discovery/patterns/storefront-next.ts:40

Detection pattern for Storefront Next (Odyssey) projects.

Detects (1) storefront-next-template and similar: root package.json has @salesforce/storefront-next* dependency or name starting with "storefront-next". (2) storefront-next monorepo: root has no signal but a workspace package has the dependency or name (e.g. https://github.com/SalesforceCommerceCloud/storefront-next).

Released under the Apache-2.0 License.