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

5.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

947

Version

5.0.2

License

UNLICENSED

Unpacked Size

23.4 MB

Total Files

19

Last publish

Collaborators

  • igor-kuznetsov
  • bartoszputek
  • ilia-sidorov-tiny
  • bartekczerwonka
  • sdomas
  • d.pawlowski.cksource
  • s.greczyn
  • sdudzik-cksource
  • kacper.betanski
  • yacodes
  • lkaleta
  • mpytel-cksource
  • smarkowicz-cksource
  • dszczepaniak-cksource
  • rpotyka-cksource
  • korobochkin
  • mhartwich-cksource
  • rinat.khusyainov
  • noxuhax.tiny
  • lekarev.tiny
  • jflakus-cksource
  • lukaszgudel
  • pmazurek-cksource
  • p.wiaderny
  • jankanty
  • finn-but-like-really-tiny-one
  • dimakovalevsky
  • brtlmiej
  • gebsh
  • jacekbogdanski
  • lukas_kujawski
  • k.dawidziuk
  • rkawecki-cksource
  • tuzwoj
  • comandeer-cks
  • acrophost
  • mmbmalik
  • martyna.bltc
  • lzajac-cks