-
-
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
Treat type dependencies as production dependencies #17724
base: master
Are you sure you want to change the base?
Conversation
@@ -13,6 +13,7 @@ | |||
"main": "src/index.ts", | |||
"dependencies": { | |||
"@ckeditor/ckeditor5-core": "44.1.0", | |||
"@ckeditor/ckeditor5-editor-multi-root": "44.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would get rid of this dependency in this PR.
@@ -16,6 +16,7 @@ | |||
"@ckeditor/ckeditor5-core": "44.1.0", | |||
"@ckeditor/ckeditor5-typing": "44.1.0", | |||
"@ckeditor/ckeditor5-ui": "44.1.0", | |||
"@ckeditor/ckeditor5-utils": "44.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is used only in tests. I'm not sure if those should not be dev dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the new lint rule is to greedy and marks imports in test files as production one but that code is not published to npm.
Suggested merge commit message (convention)
Fix: Treat type dependencies as production dependencies. Fixes #17213.