@calcom/platform-libraries

中文文档
0.0.360发布于 2025/09/16TypeScriptESM + CJS近 30 天下载 5028

We version this package using NPM: https://www.npmjs.com/package/@calcom/platform-libraries?activeTab=code

此软件包已被标记为弃用

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

原始使用文档

How to work with platform libraries in Dev

We version this package using NPM: https://www.npmjs.com/package/@calcom/platform-libraries?activeTab=code

Here is the workflow:

  1. If you change platform libraries for the first time, then run yarn local to build them locally for the first time. This will also make v2 api point to the local libraries.
  2. If you change them for the second time, then run yarn build:dev to re-build them.
  3. Once you are happy with platform libraries:
  • run yarn publish-npm - it will check "@calcom/platform-libraries" version in npm and update it's package.json to the next version and then it will publish the package to npm, update the version of "@calcom/platform-libraries" in the api v2 package.json, reset "@calcom/platform-libraries" to 0.0.0 and run yarn install.

Before Merging to main

  • Publish Your Version of Libraries on NPM:
    • To publish, ensure you are a contributor to the platform libraries' NPM package.
    • Authenticate yourself via the CLI using npm auth.
    • Increment the version number accordingly.
    • Run yarn publish to publish your version.
  • Once it's published, change back the version in packages/platform/libraries/package.json back to 0.0.0
  • Run yarn
  • You should now be using the npm package instead of the locally built version

When to publish new version of platform libraries

  • New exports in the index.js of platform libraries
  • Code change in the functions already exported
  • Prisma schema change breaking implementation of functions in the currently used releases of platform libraries

版本与发布记录

@calcom/platform-libraries 共发布 368 个版本,首次发布于 2024/05/29;过去 12 个月发布了 0 个版本。

版本发布日期距今
0.0.360latest2025/09/161.1 年前
0.0.3592025/09/131.2 年前
0.0.3582025/09/131.2 年前
0.0.3572025/09/131.2 年前
0.0.3562025/09/121.2 年前
0.0.3552025/09/121.2 年前

其他发布通道:patched → 0.0.2-patched,beta → 0.0.2-prisma,prisma → 0.0.2-patched-prisma-lru-debian。

关于 @calcom/platform-libraries 的常见问题

@calcom/platform-libraries 是什么?

We version this package using NPM: https://www.npmjs.com/package/@calcom/platform-libraries?activeTab=code注意:该包已被作者标记为弃用——Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

如何安装 @calcom/platform-libraries?

在项目目录运行 npm install @calcom/platform-libraries,或使用 pnpm add / yarn add / bun add。

@calcom/platform-libraries 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@calcom/platform-libraries 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@calcom/platform-libraries 可以商用吗?

@calcom/platform-libraries 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@calcom/platform-libraries 的下载量有多少?

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

@calcom/platform-libraries 还在维护吗?

最新版本 0.0.360 发布于 2025/09/16(1.1 年前);至今共发布 368 个版本,其中过去 12 个月发布了 0 个;首次发布于 2024/05/29。作者已将其标记为弃用,新项目建议寻找替代方案。