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

Cloudflare adapter #1155

Merged
merged 15 commits into from
Sep 15, 2023
Merged

Cloudflare adapter #1155

merged 15 commits into from
Sep 15, 2023

Conversation

AlecAivazis
Copy link
Collaborator

@AlecAivazis AlecAivazis commented Sep 15, 2023

This PR adds the ability for users to pass an adapter to their vite plugin that configures houdini to prepare the project for a particular environment. To start, Houdini just natively supports cloudflare but I hope we add more in the future

/// vite.config.js
import { defineConfig } from 'vite'
import houdini from 'houdini/vite'
import adapter from 'houdini-adapter-cloudflare'

export default defineConfig({
	plugins: [
            houdini({ adapter }), 
            ...
        ],
})

@changeset-bot
Copy link

changeset-bot bot commented Sep 15, 2023

🦋 Changeset detected

Latest commit: 3f45c1d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
houdini Patch
houdini-adapter-cloudflare Patch
houdini-react Patch
houdini-plugin-svelte-global-stores Patch
houdini-svelte Patch

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

@netlify
Copy link

netlify bot commented Sep 15, 2023

Deploy Preview for houdini-docs-next canceled.

Name Link
🔨 Latest commit 3f45c1d
🔍 Latest deploy log https://app.netlify.com/sites/houdini-docs-next/deploys/6503cb22a5970a0008632727

@netlify
Copy link

netlify bot commented Sep 15, 2023

Deploy Preview for houdinigraphql canceled.

Name Link
🔨 Latest commit 3f45c1d
🔍 Latest deploy log https://app.netlify.com/sites/houdinigraphql/deploys/6503cb22776a400008b6725a

@AlecAivazis AlecAivazis merged commit adf90d3 into main Sep 15, 2023
15 checks passed
@AlecAivazis AlecAivazis deleted the cloudflare-adapter branch September 15, 2023 03:17
@github-actions github-actions bot mentioned this pull request Sep 15, 2023
endigma pushed a commit to endigma/houdini that referenced this pull request Nov 10, 2024
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.

1 participant