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.
- Find the bundle(s) that you want to update.
- Change version of packages in package.json or adjust the plugins in bundles.
- Build all bundles with
pnpm build:bundles
. - Release new version of ckeditor-test-bundles module.
- Duplicate a bundle in
src/editors
. The name of a directory will be used as a name of the bundle. - Adjust packages, versions and plugins in the new bundle.
- Include new bundle in exported object in
index.js
. - Build all bundles with
pnpm build:bundles
. - Release new version of ckeditor-test-bundles module.
Publish
token is different from the one used for daily development purposes. You can generate it in your npm account dashboard.
- Use
Publish
token in~/.npmrc
file. - 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
tofalse
- Make sure that all bundles are built and available in
src/bundles
directory. - Run
npm publish
. - Revert
version
to1.0.0
and setprivate
totrue
in thepackage.json
file. - Use the
Read-only
token back in~/.npmrc
file.