Coder Social home page Coder Social logo

alexander-schranz / ckeditor5-dev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ckeditor/ckeditor5-dev

0.0 2.0 0.0 5.04 MB

CKEditor 5 development tools packages.

Home Page: https://ckeditor.com/ckeditor-5

License: Other

JavaScript 99.24% HTML 0.53% Handlebars 0.23%

ckeditor5-dev's Introduction

CKEditor 5 development tools packages

Build Status Coverage Status

Packages

This repository is a monorepo. It contains multiple npm 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

Cloning

  1. Clone this repository.
  2. Do yarn install inside (this package uses yarn workspaces).
  3. You're ready to go!

Testing

Tests:

yarn run test

Tests with the debug mode on:

DEBUG=true yarn run test

Test a single package:

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

Code coverage:

yarn run coverage

Releasing packages

Changelog

  1. Fetch all changes and switch to master!
  2. Execute npm run changelog:
  • This task checks what changed in each package and bumps the version accordingly. If nothing changed at all, it won't create a new changelog entry. If changes were irrelevant (e.g. only depedencies) it will create an "internal changes" entry.
  • Scan the logs which are printed by the tool in search for errors (incorrect changelog entries). Incorrect entries (e.g. ones without the type) are being ignored. You may need to create entries for them manually. This is done directly in CHANGELOG.md (in the root directory). Make sure to verify the proposed version after you modify the changelog.
    • When unsure what has really changed in this version of a specific package, use git diff <hash of previous release> packages/ckeditor5-dev-<name>/.

Publishing

After generating the changelog, you are able to release the package.

First, you need to bump the version:

npm run release:bump-version

You can also use the --dry-run option in order to see what this task does.

After bumping the version, you can publish the changes:

npm run release:publish

As in the previous task, the --dry-run option is also available.

Your job's done. You can go now to ckeditor5, remove yarn.lock, potentially update something in package.json, run yarn install and commit that as "Internal: Updated dependencies.".

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.

ckeditor5-dev's People

Contributors

agentschmitt avatar annatomanek avatar f1ames avatar fredck avatar jodator avatar m-turek avatar ma2ciek avatar maxbarnas avatar mlewand avatar oleq avatar panr avatar pomek avatar psmyrek avatar reinmar avatar scofalik avatar szymonkups avatar tomalec avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.