CKEditor 5 development tools packages.
Clone or download
oleq Merge pull request #479 from ckeditor/t/478
Internal: Added info headers to translation files downloaded from Transifex. Closes #478.
Latest commit e933749 Jan 22, 2019

README.md

CKEditor 5 development tools packages

Build Status 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
eslint-config-ckeditor5 npm version Dependency Status devDependency Status
eslint-plugin-ckeditor5-rules npm version Dependency Status devDependency Status

Testing

Tests:

npm test

Tests with the debug mode on:

DEBUG=true npm test 

Test a single package:

./node_modules/.bin/mocha packages/ckeditor5-dev-env/tests/* --recursive

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 terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file.