# ckeditor5-package-generator **Repository Path**: mirrors_ckeditor/ckeditor5-package-generator ## Basic Information - **Project Name**: ckeditor5-package-generator - **Description**: A tool for creating a new package for CKEditor 5. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README CKEditor 5 Package Generator ======================== [![CircleCI](https://circleci.com/gh/ckeditor/ckeditor5-package-generator.svg?style=shield)](https://app.circleci.com/pipelines/github/ckeditor/ckeditor5-package-generator?branch=master) [![Coverage Status](https://codecov.io/github/ckeditor/ckeditor5-package-generator/graph/badge.svg)](https://codecov.io/github/ckeditor/ckeditor5-package-generator) This repository follows the mono-repository structure. It contains multiple npm packages. ## Table of contents * [Packages](#packages) * [Develop the `ckeditor5-package-generator` repository](#develop-the-ckeditor5-package-generator-repository) * [Creating a package](#creating-a-package) * [Options](#options) * [Developing the package](#developing-the-package) * [Developing tools in the repository](#developing-tools-in-the-repository) * [Releasing packages](#releasing-packages) * [License](#license) ## Packages
Name Version Description
ckeditor5-package-generator npm version The tool for creating CKEditor 5 packages.
## Developing the `ckeditor5-package-generator` repository * Clone the repository: `git clone git@github.com:ckeditor/ckeditor5-package-generator.git` * Install required dependencies: `pnpm install` ### Creating a package To create a new package, call the `ckeditor5-package-generator` executable file. It requires a single argument which is the package name. It must follow the schema: `@scope/ckeditor5-package`, where [@scope](https://docs.npmjs.com/about-scopes) is an owner of the package, and `ckeditor5-package` is the package name. It must start with the `ckeditor5-` prefix. The tool will create a new directory called `ckeditor5-package` with an example plugin called `Package` and tools for its development. ```bash node /path/to/repository/packages/ckeditor5-package-generator [packageName] [--package-manager ] [--global-name <...>] [--plugin-name <...>] [--lang ] [--verbose] ``` #### Options * `--package-manager` – (values: `npm` | `yarn` | `pnpm`) choose the package manager used to install dependencies in a newly created package. If omitted, the script will ask the user to choose one manually. * `--global-name` – define a global name of the package to be used in UMD build. * `--plugin-name` – define a class name to be different from the package name. * `--lang` – (values: `js` | `ts`) choose whether the created package should use JavaScript or TypeScript. If omitted, the script will ask the user to choose manually. * `--verbose` – (alias: `-v`) print additional logs about the current executed task. #### Developing the package Available scripts and their modifiers are described in the [`README.md` file of the `ckeditor5-package-generator` package](/packages/ckeditor5-package-generator). #### Package metadata The `ckeditor5-metadata.json` file contains data of the package that allows for an automated detection of plugins and processing them by external scripts. Information about how this file should be maintained is available in the [official guide](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/package-metadata.html). Keep in mind that this file has no effect on how the plugin work. ## License The `ckeditor5-package-generator` tool is available under [MIT license](https://opensource.org/licenses/MIT). All packages created with the tool are also available under the MIT license.