@commerce-klaus/config
v1.0.0
Published
Shared project configuration for Commerce Klaus tools
Maintainers
Readme
@commerce-klaus/config
Shared project configuration for Commerce Klaus tools.
Install
pnpm add -D @commerce-klaus/configyarn add -D @commerce-klaus/confignpm install -D @commerce-klaus/configvp install -D @commerce-klaus/configUsage
Create commerce-klaus.config.ts or commerce-klaus.config.js in the project
root:
import { defineConfig } from "@commerce-klaus/config"
export default defineConfig({
cartridgesDir: "cartridges",
solutionConfigPath: "cartridges/jsconfig.json",
siteTemplatePath: "sites/site_template",
site: "RefArch",
})Paths are resolved relative to the configuration file. Explicit package options and CLI flags override matching central values.
Documentation
See the project configuration guide.
License
MIT
