ckeditor / ckeditor5-package-generator

A tool for creating a new package for CKEditor 5.
Other
6 stars 9 forks source link

Replace DLL build script with Webpack build script (help us test plugin localization) #186

Open jjroelofs opened 2 months ago

jjroelofs commented 2 months ago

πŸ“ Provide a description of the improvement

Currently, @ckeditor/ckeditor5-package-tools includes a legacy DLL build script intended for testing custom CKEditor 5 packages. However, this script relies on an outdated build system. The goal is to replace the legacy DLL build script with a modern Webpack build script, which will improve maintainability and compatibility with current development practices.

For us this is important because the DLL build process does not support multilingual builds, and we are developing a package with multilingual support and want need to create proper test scenarios for it. Being able to build the whole build with an RTL language is currently not possible with the DLL system as far as I can tell.

If there are any workarounds for this, would be great if you can share! I imagine you are testing your plugin localization in some way when developing your own plugins, as core team.

πŸ“ƒ Other details


If you'd like to see this improvement implemented, add a πŸ‘ reaction to this post.

filipsobol commented 2 months ago

When we released the new installation methods in ckeditor5 v42.0.0, we also released an updated version of the package generator. Now, when you run npx ckeditor5-package-generator @<SCOPE>/ckeditor5-<PLUGIN_NAME>, you will be asked which installation methods of CKEditor 5 you want to support. You'll have two options:

If you migrated your main project to v42.0.0 and new installation methods, you can also migrate your plugin to use the new installation methods and drop support for DLLs and other legacy methods.

You can find more information in the Migrating to new installation methods and Migrating custom plugins guides.