---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [discovery](../index.md) / cartridgesPattern

# Variable: cartridgesPattern

> `const` **cartridgesPattern**: [`DetectionPattern`](../interfaces/DetectionPattern.md)

Defined in: [packages/b2c-tooling-sdk/src/discovery/patterns/cartridges.ts:23](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d9cf11cf4a11828e783aed6313f5ea49990488ff/packages/b2c-tooling-sdk/src/discovery/patterns/cartridges.ts#L23)

Detection pattern for cartridge-based projects.

Uses the SDK's findCartridges function to detect any cartridges in the workspace.
This covers SFRA, custom APIs, and any other cartridge-based development.
