Skip to content
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

Closed
wants to merge 13 commits into from

Conversation

filipsobol
Copy link
Member

@filipsobol filipsobol commented Jan 8, 2025

Suggested merge commit message (convention)

Fix: Treat type dependencies as production dependencies. Fixes #17213.

@@ -13,6 +13,7 @@
"main": "src/index.ts",
"dependencies": {
"@ckeditor/ckeditor5-core": "44.1.0",
"@ckeditor/ckeditor5-editor-multi-root": "44.1.0",
Copy link
Contributor

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.

Copy link
Contributor

@niegowski niegowski left a 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.

@filipsobol
Copy link
Member Author

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.

Have you noticed any other examples than this one — #17724 (comment)? This one is expected.

niegowski
niegowski previously approved these changes Jan 16, 2025
niegowski
niegowski previously approved these changes Jan 17, 2025
niegowski
niegowski previously approved these changes Jan 20, 2025
@filipsobol filipsobol closed this Jan 21, 2025
@filipsobol filipsobol deleted the types-as-dependencies branch January 21, 2025 09:05
@filipsobol
Copy link
Member Author

Continued in #17790.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type of Editor.ui not resolvable with Yarn (strict) PnP mode
5 participants