/ckeditor5-dev

CKEditor 5 development tools packages.

Primary LanguageJavaScriptOtherNOASSERTION

CKEditor 5 development tools packages

Build Status Test Coverage Coverage Status

Packages

Package Version Dependencies
@ckeditor/ckeditor5-dev-docs npm version Dependency Status devDependency Status
@ckeditor/ckeditor5-dev-env npm version Dependency Status devDependency Status
@ckeditor/ckeditor5-dev-tests npm version Dependency Status devDependency Status
@ckeditor/ckeditor5-dev-utils npm version Dependency Status devDependency Status
@ckeditor/ckeditor5-dev-webpack-plugin npm version Dependency Status devDependency Status
@ckeditor/jsdoc-plugins npm version Dependency Status devDependency Status

Testing

Tests:

npm test

Code coverage:

npm run coverage

Releasing

  1. Fetch all changes and switch to master!

  2. Execute npm run changelog.

    • At the current stage, a single change will be added to all packages which it touched. Sometimes, this means that in one of these packages the entry will not have much sense. Browse the changes, check if they are relevant.
      • If not and the package should not be released, just type "skip". However, this is not the best option because Lerna will also recognised this package as changed and will try to release it.
      • If the changes are a bit irrelevant, but the package still should be released, pick the "patch" bump, remove all the irrelevant entries from the changelog and if it became empty after that, add the "Internal changes only (updated dependencies, documentation, etc.)" text.
      • Remove the irrelevant changes from the changelog.
    • When unsure what has really changed in this version, use git diff <hash of previous release> packages/ckeditor5-dev-<name>/.
  3. After reviewing the changelog, push the commit to GitHub.

  4. Now, release the changed packages using lerna publish.

    Lerna may propose to release more packages than you'd want – e.g. one of the packages might have some totally irrelevant change which you don't want to release now. You can do that by calling e.g.: lerna publish --scope="@ckeditor/ckeditor5-dev-?(env|utils|webpack-plugin)". However, this means that if one of ignored packages depends on one of the release ones it won't have a version bump... so usually it's better to just release everything (so also – to generate changelog for every, even slightest change).

License

Licensed under the GPL, LGPL and MPL licenses, at your choice. For full details about the license, please check the LICENSE.md file.