Skip to content
View as Markdown
View as Markdown

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

Type Alias: ProjectType

ProjectType = "cartridges" | "sfra" | "pwa-kit-v3" | "storefront-next"

Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:23

A workspace marker: something detected about a B2C Commerce project. A single workspace can carry several — they are not mutually exclusive. In particular sfra is a refinement of cartridges (a SFRA project also has cartridges), so an SFRA workspace detects as both.

  • cartridges: any project with cartridges (detected via .project files)
  • sfra: a Storefront Reference Architecture project (has app_storefront_base)
  • pwa-kit-v3: PWA Kit v3 storefront
  • storefront-next: Storefront Next (Odyssey)

Released under the Apache-2.0 License.