@cksource-cs/ckeditor-test-bundles-module
v4.0.0
Published
The module for storing test editor bundles for CKEditor Cloud Services
Downloads
3,707
Maintainers
Keywords
Readme
CKEditor test bundles module
The bundle contains CKEditor 5 builds used for E2E and CKEditor Documents Converter tests. All the available bundles can be found in index.js
.
Table of contents
- CKEditor 5 builds defined in
scripts/updateCKEditorBundles.js
in version 40.1.0, - Track Changes Data Editor - built manually. The bundle have been provided to make sure integration with
TrackChangesData
plugin works correctly, - Collaboration Editor V32 - built manually. Before CKEditor5 v33 RTC plugins contained their offline versions so to make sure CS is backward compatible this bundle is provided. The actual version is
27.0.0
- Multi-root Editor - built manually. It's a bundle with all RTC features (RTC, Comments, Track Changes, Revision History) and support for multi-root. Multi-root editors can't be built using the Online Builder.
- Collaboration Editor DLL - built manually. DLL editors cannot be built through the Online Builder. For instructions on how to build such editor see https://www.notion.so/How-to-upload-the-DLL-editor-bundle-to-CS-91856b2d7633491e8f123a2c18d6c25f
- Classic Editor DLL - built manually similarly as the one above.
How to update CKEditor test bundles
- Copy
bundles
directory from some package that currently has installed newest@cksource-cs/ckeditor-test-bundles-module
NPM package (e.g.cs/cs-e2e-tests/node_modules/@cksource-cs/ckeditor-test-bundles-module/src/bundles
) to your local machine (it is required to add missing bundles in step 3). - Run
npm run update:bundles
. - Add missing bundles -
collaboration-editor-v32.bundle
,multiroot-editor.bundle
,classic-editor-dll.bundle
,collaboration-editor-dll.bundle
andtrack-changes-data-editor.bundle
from your local copy. Eventually, you can get them from pulled tarball from npm from the latest version of the package. - Set a proper
version
,lastPublicVersion
and setprivate
tofalse
in thepackage.json
file. - update
editorVersion
inpackage.json
file. - Run
npm publish
(use temporarilyPublish
token in~/.npmrc
file).
How to add a new bundle
- Define a new bundle and its set of plugins in
scripts/updateCKEditorBundles.js
. - Run
npm run update:bundles
. - Set a proper
version
,lastPublicVersion
and setprivate
tofalse
in thepackage.json
file. - Run
npm publish
(use temporarilyPublish
token in~/.npmrc
file).
After publish do not forget to:
- update
@cksource-cs/ckeditor-test-bundles-module
in packages where the package is used, - revert
version
to1.0.0
and setprivate
totrue
in thepackage.json
file. - use the
Read-only
token back in~/.npmrc
file.