-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(qwik-city): add vercel serverless adapter #6355
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Okiki <[email protected]>
👷 Deploy request for qwik-insights pending review.Visit the deploys page to approve it
|
we need to also run |
Signed-off-by: Okiki <[email protected]>
commit: |
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.
LGTM, but please change the import naming scheme. Also merge main or rebase, and add the typescript re-exports under packages/qwik-city/adapters
(see the examples in there)
Signed-off-by: Okiki <[email protected]>
🦋 Changeset detectedLatest commit: bbebd75 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…t-add-vercel-serverless-adapter Signed-off-by: Okiki <[email protected]>
Signed-off-by: Okiki <[email protected]>
Signed-off-by: Okiki <[email protected]>
Signed-off-by: Okiki <[email protected]>
The pr has now become too big imo, but I don't know if splitting it into smaller prs is a good idea, as that might leave things in a semi-broken state. |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
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.
LGTM, I don't think this PR is too big, it's a single change but it touches a lot of files. So just some more TS changes required to make sure there's no breakage between versions
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.
please undo this
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.
please run pnpm api.update
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 think we should keep this so TS doesn't suddenly complain
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.
same here, let's keep this one around
"types": "./lib/adapters/vercel-edge/vite/index.d.ts", | ||
"import": "./lib/adapters/vercel-edge/vite/index.mjs", | ||
"require": "./lib/adapters/vercel-edge/vite/index.cjs" | ||
"types": "./lib/adapters/vercel/edge/vite/index.d.ts", |
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.
actually, let's give this different types that re-export /edge/vite/index but add /** @deprecated Please import from adapters/vercel/edge instead */
to all of them
@@ -140,8 +150,17 @@ | |||
"require": "./lib/middleware/request-handler/index.cjs" | |||
}, | |||
"./middleware/vercel-edge": { | |||
"types": "./lib/middleware/vercel-edge/index.d.ts", | |||
"import": "./lib/middleware/vercel-edge/index.mjs" | |||
"types": "./lib/middleware/vercel/edge/index.d.ts", |
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.
same
Overview
What is it?
Description
This PR introduces a new Vercel Serverless Adapter for the Qwik framework. The adapter allows developers to deploy Qwik applications as serverless functions on Vercel, leveraging the serverless architecture for scalable and efficient performance. This addition provides a seamless way to deploy Qwik applications to Vercel's platform, expanding the deployment options available to developers.
Use cases and why
Checklist: