---
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/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/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.
