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

fix: moved express to dependencies section #6576

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

thecoder93
Copy link
Contributor

Overview

Moved express to dependencies section

What is it?

  • Feature / enhancement
  • Bug
  • Docs / tests / types / typos

Description

Express should be under dependencies

Use cases and why

    1. One use case
    1. Another use case

Checklist:

  • My code follows the developer guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • Added new tests to cover the fix / functionality

@thecoder93 thecoder93 requested a review from a team as a code owner June 19, 2024 13:05
Copy link

netlify bot commented Jun 19, 2024

👷 Deploy request for qwik-insights pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit ceeaf68

Copy link

pkg-pr-new bot commented Jun 19, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

commit: ceeaf68

@builder.io/qwik

npm i https://pkg.pr.new/@builder.io/qwik@6576

@builder.io/qwik-city

npm i https://pkg.pr.new/@builder.io/qwik-city@6576

eslint-plugin-qwik

npm i https://pkg.pr.new/eslint-plugin-qwik@6576

create-qwik

npm i https://pkg.pr.new/create-qwik@6576

Copy link
Member

@gioboa gioboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great @thecoder93 Thanks

@gioboa gioboa merged commit cfa2c34 into QwikDev:main Jun 19, 2024
20 checks passed
@wmertens
Copy link
Member

@thecoder93 @gioboa IMHO express should be in devdependencies, but only if vite is configured to bundle it into the server bundle.

We had it configured like that, which is why it was not in dependencies.

However that caused confusion when people mixed deps and devDeps. I'm not sure what the configuration is now.

@PatrickJS ?

@nelsonprsousa
Copy link
Contributor

@thecoder93 @gioboa IMHO express should be in devdependencies, but only if vite is configured to bundle it into the server bundle.

We had it configured like that, which is why it was not in dependencies.

However that caused confusion when people mixed deps and devDeps. I'm not sure what the configuration is now.

@PatrickJS ?

Where can we learn more about dependencies vs devDependencies while working with qwik/vite? For me it looks strange to not have express as a dependency if it is the main entry for production?!

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.

None yet

4 participants