@commercetools/frontend-composable-commerce

中文文档
1.3.0发布于 2023/06/22UNLICENSEDCommonJS零依赖近 30 天下载 2153

To install the extension and its dependencies in your project, run:

此软件包已被标记为弃用

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

原始使用文档
文档目录5 节
  1. commercetools Frontend SDK
  2. Installation
  3. Documentation
  4. License
  5. Support

commercetools Frontend SDK

Latest release GitHub license

The @commercetools/frontend-composable-commerce extension is a library designed to be used with the @commercetools/frontend-sdk for building custom components and integrations in your commercetools Frontend project. It provides a set of tools and utilities for working with commercetools composable commerce.

Installation

To install the extension and its dependencies in your project, run:

yarn add @commercetools/frontend-composable-commerce @commercetools/frontend-sdk @commercetools/frontend-domain-types

Documentation

For more detailed information, visit the main documentation page.

License

This project is licensed under the MIT License.

Support

For any questions or issues, please create a GitHub issue.

版本与发布记录

@commercetools/frontend-composable-commerce 共发布 31 个版本,首次发布于 2022/11/29;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.3.0latest2023/06/223 年前
1.2.62023/04/253 年前
1.2.52023/04/253 年前
1.2.42023/04/193 年前
1.2.32023/04/183 年前
1.2.22023/03/293 年前

关于 @commercetools/frontend-composable-commerce 的常见问题

@commercetools/frontend-composable-commerce 是什么?

To install the extension and its dependencies in your project, run:注意:该包已被作者标记为弃用——Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

如何安装 @commercetools/frontend-composable-commerce?

在项目目录运行 npm install @commercetools/frontend-composable-commerce,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@commercetools/frontend-sdk(^1.8.0)、@commercetools/frontend-domain-types(^1.0.7)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@commercetools/frontend-composable-commerce 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/commercetools__frontend-composable-commerce 是否存在。

@commercetools/frontend-composable-commerce 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@commercetools/frontend-composable-commerce 可以商用吗?

@commercetools/frontend-composable-commerce 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@commercetools/frontend-composable-commerce 的下载量有多少?

根据 npm 官方下载统计,@commercetools/frontend-composable-commerce 在 2026/10/11 – 2026/11/09 这 30 天内被下载 2,153 次,日均约 72 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@commercetools/frontend-composable-commerce 还在维护吗?

最新版本 1.3.0 发布于 2023/06/22(3 年前);至今共发布 31 个版本,其中过去 12 个月发布了 0 个;首次发布于 2022/11/29。作者已将其标记为弃用,新项目建议寻找替代方案。