-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid dependencies in ckeditor5-theme-lark - all deps should be dev deps #9998
Comments
The question is why does our validator says that? Let's take a single example I made a
That's a manual test so it's a dev dep. Is there any other media embed usage in there? |
.ck.ck-code-block-dropdown .ck-dropdown__panel { Perhaps references in css files cause that? |
Currently, the decision if given package should belong to function isDevDependency( absolutePaths ) {
return !absolutePaths.some( absolutePath => absolutePath.match( /src|theme/ ) );
} A package is a The bug here is because the |
Updating the RegExp to check only directories would resolve the problem. Keep in mind that the RegExp should work on both environments: Unix-like ( |
Fix (tests): Prevented `isDevDependency()` function from reading "theme" word from the `ckeditor5-theme-lark` package name. See ckeditor/ckeditor5#9998.
Fix for the dep-checker was released: https://github.com/ckeditor/ckeditor5-dev/releases/tag/v25.2.6. |
Miss click. |
On Windows, these 3 dependencies still refuse to be moved into dev dependencies, but this will probably be a new ticket. |
Internal (theme-lark): Moved all packages except for `@ckeditor/ckeditor5-ui` from dependencies to dev-dependencies . Closes #9998.
Internal (theme-lark): Moved all packages except for `@ckeditor/ckeditor5-ui` from dependencies to dev-dependencies . Closes #9998.
Provide a description of the task
In theme lark:
ckeditor5/packages/ckeditor5-theme-lark/package.json
Lines 12 to 37 in d903bc5
We have all the deps marked as regular dependencies, but we use them only in manual test - so that's purely dev dep. Not sure if that's
true
for all the packages, but certainly most of them, likeckeditor5-find-and-replace
.The text was updated successfully, but these errors were encountered: