@commercialtools/cli-topic-integration-layer (中文(简体) )
A 类 商业工具 添加插件的插件
integration-layer 主题——用于作者、运行、验证、出版、,
检查 商业一体化层 扩展.
它向公众npm注册处发布,并作为运行时间oclif按需安装
插件; 它从未被捆绑到底部 @commercetools/cli。 。 。 .
安装
npm install -g @commercetools/cli
# Opt in to the integration-layer topic (public npm — no auth needed)
commercetools plugins install @commercetools/cli-topic-integration-layer
# Log in once — mints the manage_project token the authenticated commands reuse
commercetools auth login --project-key <your-project-key>
图标
commercetools integration-layer init [DIR] # scaffold an extensions monorepo [offline]
commercetools integration-layer extension build # bundle src/extension.ts → dist [offline]
commercetools integration-layer extension serve # local dev server; allowlist-gated fetch when online + logged in
commercetools integration-layer extension invoke-api-extension # fire an API-Extension callback at the local bundle [offline], or --deployed via the IL
commercetools integration-layer explore # local GraphQL explorer over your deployed edge
commercetools integration-layer schema fetch # the Project's core-subgraph SDL
commercetools integration-layer config list|get|set|unset # per-project extension configuration
commercetools integration-layer allowlist list|add|remove|set # hosts the extension's fetch may reach
commercetools integration-layer project-settings get|set # project label, language, currency, country
commercetools integration-layer idp-login get|set|delete # external OpenID Connect IdP for shopper login
commercetools integration-layer checkout-rules get|add|remove|set # which Checkout Application serves which shopper
commercetools integration-layer field-visibility list|hide|show|set # custom fields hidden from the public API
commercetools integration-layer --version # the installed plugin version [offline]
添加 --all 改为 build 编号 : serve 编号 : validate 编号 : push 合并到
./extensions/* 输入一个项目部署的组合.
认证的命令显示从 commercetools auth login 联合国
manage_project 从您的登录中获取商业集成层的主机
地区; --integration-layer-url 编号 : INTEGRATION_LAYER_URL 覆盖扩展名
边缘.
充分参考——每个命令、旗帜、主机和CI的使用 财务报告和审定财务报表 扩展授权细节 住在这里 商业一体化层扩展 存储器,它也持有可随时编辑 每个图案的模板.
开发
这个包裹住在 商业一体化层扩展 复发. 从回波 根数 :
pnpm install
pnpm --filter @commercetools/cli-topic-integration-layer build # tsc → dist/
pnpm --filter @commercetools/cli-topic-integration-layer test # vitest
pnpm typecheck
pnpm lint
pnpm setup:cli # build + `commercetools plugins link` this checkout
更改插件吗 ? 添加更改列表( R)pnpm changeset在你的公关里..
开发插件 释放流.