---
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:25](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1d26e4f14bc46a8c61692ab405f47c9ce084d9b1/packages/b2c-tooling-sdk/src/discovery/patterns/cartridges.ts#L25)

Detection pattern for cartridge-based projects.

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