---
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/e7c16f1ae423da0aa47b3e10be88f9770b53619b/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.
