@commerce-klaus/b2c-plugin
v1.0.5
Published
Commerce Klaus commands for the Salesforce B2C CLI
Downloads
3,300
Maintainers
Readme
@commerce-klaus/b2c-plugin
Commerce Klaus commands for the Salesforce B2C CLI.
@commerce-klaus/typescript-sfcc is a peer dependency so the editor plugin and
B2C CLI commands use the same project-level version.
All project and type commands discover commerce-klaus.config.ts or
commerce-klaus.config.js. Explicit command flags override the shared values
for one invocation.
Install
pnpm add -D @commerce-klaus/b2c-plugin @commerce-klaus/typescript-sfcc @salesforce/b2c-cli typescriptyarn add -D @commerce-klaus/b2c-plugin @commerce-klaus/typescript-sfcc @salesforce/b2c-cli typescriptnpm install -D @commerce-klaus/b2c-plugin @commerce-klaus/typescript-sfcc @salesforce/b2c-cli typescriptvp install -D @commerce-klaus/b2c-plugin @commerce-klaus/typescript-sfcc @salesforce/b2c-cli typescriptRegister the project-local plugin after dependency installation:
{
"scripts": {
"prepare": "b2c plugins link node_modules/@commerce-klaus/b2c-plugin --no-install"
}
}Run the prepare script to refresh the link after changing the plugin locally:
pnpm run prepareyarn run preparenpm run preparevp run prepareQuick start
b2c klaus types sync
b2c klaus types check
b2c klaus inspect
b2c klaus validateCommerce Klaus also provides commands for generated type status and cleanup,
project graphs and impact analysis, module resolution explanations, and project
diagnostics. Run b2c klaus --help or a subcommand with --help for the local
command reference.
Documentation
See the complete command and configuration reference.
License
MIT
