@cksource-cs/ckeditor-test-bundles-module

中文文档
7.1.1发布于 2026/11/09UNLICENSEDCommonJS零依赖近 30 天下载 1.1万

The module for storing test editor bundles for CKEditor Cloud Services

原始使用文档
文档目录9 节
  1. Updating CKEditor test bundles
  2. Adding a new bundle
  3. Releasing new version of module
  4. Frozen editors
  5. no-plugins-editor — OIM compatibility check
  6. multiroot-editor — legacy multiroot support
  7. collaboration-editor-v32 — oldest supported editor version
  8. Editors with a minimum version
  9. ai-toolkit-editor — AI Toolkit editor scripts

CKEditor test bundles module

The module contains CKEditor 5 builds used for E2E and CKEditor Documents Converter tests. All the available bundles can be found in index.js. All bundles can be built locally with webpack (or other build tools) and all bundles include their own plugin configuration.

Updating CKEditor test bundles

  1. Find the bundle(s) that you want to update.
  2. Change version of packages in package.json or adjust the plugins in bundles.
  3. Build all bundles with pnpm build:bundles.
  4. Release new version of ckeditor-test-bundles module.

Adding a new bundle

  1. Duplicate a bundle in src/editors. The name of a directory will be used as a name of the bundle.
  2. Adjust packages, versions and plugins in the new bundle.
  3. Include new bundle in exported object in index.js.
  4. Build all bundles with pnpm build:bundles.
  5. Release new version of ckeditor-test-bundles module.

Releasing new version of module

Publish token is different from the one used for daily development purposes. You can generate it in your npm account dashboard.

  1. Use Publish token in ~/.npmrc file.
  2. In the package.json file, set:
  • a proper version (updated lastPublicVersion) :

version should stay at 1.0.0 in git. You should change the version temporarily to for example: 5.0.1 (or 5.1.0/6.0.0 depending on semver) and once you release this module change the lastPublicVersion to the released one and revert version change back to 1.0.0 - after merging lastPublicVersion should be the same as the latest version on npm

  • lastPublicVersion
  • set private to false
  1. Make sure that all bundles are built and available in src/bundles directory.
  2. Run npm publish.
  3. Revert version to 1.0.0 and set private to true in the package.json file.
  4. Use the Read-only token back in ~/.npmrc file.

Frozen editors

The following editors have update constraints. Do not update the specified packages beyond the listed versions.

no-plugins-editor — OIM compatibility check

  • CKEditor packages (@ckeditor/* in dependencies): frozen at 47.x (patch updates within 47.x are allowed, but not 48+) — v48 drops OIM support
  • @ckeditor/ckeditor5-dev-utils (in devDependencies): frozen at <=54.x — v54 is the last version supporting OIM builds
  • Other devDependencies (webpack, loaders): CAN be updated
  • Purpose: Verifies basic backward compatibility with OIM (Old Installation Method)

multiroot-editor — legacy multiroot support

  • CKEditor packages (@ckeditor/* in dependencies): frozen at 36.0.1
  • @ckeditor/ckeditor5-dev-utils (in devDependencies): frozen at <=54.x — v54 is the last version supporting OIM builds
  • Other devDependencies (webpack, loaders): CAN be updated
  • Purpose: Verifies legacy multiroot editor features work correctly with Cloud Services

collaboration-editor-v32 — oldest supported editor version

  • CKEditor packages (@ckeditor/* in dependencies): frozen at 32.0.0
  • @ckeditor/ckeditor5-dev-utils (in devDependencies): frozen at <=54.x — v54 is the last version supporting OIM builds
  • Other devDependencies (webpack, loaders): CAN be updated
  • Purpose: Verifies backward compatibility with the oldest CKEditor version we support

Editors with a minimum version

These editors must not go below the listed version.

ai-toolkit-editor — AI Toolkit editor scripts

  • CKEditor packages (ckeditor5, ckeditor5-premium-features): at least 48.5.0
  • Why: the AI Toolkit snapshot script calls DocumentCompare.makeSnapshot(), which first shipped in 48.5.0
  • Purpose: Runs the AI Toolkit MCP flow in the on-premises e2e tests

版本与发布记录

@cksource-cs/ckeditor-test-bundles-module 共发布 34 个版本,首次发布于 2020/08/27;过去 12 个月发布了 7 个版本。

版本发布日期距今
7.1.1latest2026/11/09今天
7.1.02026/11/073 天前
7.0.02026/07/213 个月前
6.0.12026/05/215 个月前
6.0.02026/04/156 个月前
5.1.02026/04/017 个月前

关于 @cksource-cs/ckeditor-test-bundles-module 的常见问题

@cksource-cs/ckeditor-test-bundles-module 是什么?

The module for storing test editor bundles for CKEditor Cloud Services

如何安装 @cksource-cs/ckeditor-test-bundles-module?

在项目目录运行 npm install @cksource-cs/ckeditor-test-bundles-module,或使用 pnpm add / yarn add / bun add。

@cksource-cs/ckeditor-test-bundles-module 支持 TypeScript 吗?

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

@cksource-cs/ckeditor-test-bundles-module 支持 ESM 还是 CommonJS?

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

@cksource-cs/ckeditor-test-bundles-module 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20.20.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@cksource-cs/ckeditor-test-bundles-module 可以商用吗?

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

@cksource-cs/ckeditor-test-bundles-module 的下载量有多少?

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

@cksource-cs/ckeditor-test-bundles-module 还在维护吗?

最新版本 7.1.1 发布于 2026/11/09(今天);至今共发布 34 个版本,其中过去 12 个月发布了 7 个;首次发布于 2020/08/27。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。