Skip to content

switch to component-hosted http#22

Open
ianmacartney wants to merge 29 commits into
mainfrom
ian/http-revamp
Open

switch to component-hosted http#22
ianmacartney wants to merge 29 commits into
mainfrom
ian/http-revamp

Conversation

@ianmacartney

@ianmacartney ianmacartney commented May 13, 2026

Copy link
Copy Markdown
Member

Use the component's file storage and http serving, removing ~all app config

(unless you use UpdateBanner, which now reactively tells you where to put the export)

This also simplifies the CLI, which now only needs to add an entry to convex.config.ts and a deploy package script.

It also swaps the "check in dist" strategy for a "prepare" script which runs a build when being installed - so you can still install from github (if you want - but is that necessary now that we have the pkg-pr-new thing?)

ianmacartney commented May 13, 2026

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@pkg-pr-new

pkg-pr-new Bot commented May 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/get-convex/static-hosting/@convex-dev/static-hosting@22

commit: 3b261a9

Comment thread .gitignore
exmple/dist/

# Note: dist/ is NOT ignored - it's committed for GitHub installs
# (npm install github:get-convex/static-hosting#main)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

instead using prepare: "npm run build" in package scripts

@ianmacartney ianmacartney changed the base branch from ian/use-convex-eslint to graphite-base/22 May 13, 2026 19:14
@ianmacartney ianmacartney changed the base branch from graphite-base/22 to main May 13, 2026 19:14
@ianmacartney

ianmacartney commented May 13, 2026 via email

Copy link
Copy Markdown
Member Author

@ianmacartney ianmacartney marked this pull request as ready for review June 22, 2026 22:06

Copy link
Copy Markdown
Member Author

@mikecann I just rebased over some changes you've made - can you validate that I did things correctly? between 1942599 and 3b261a9

@mikecann

Copy link
Copy Markdown
Member

@ianmacartney yep checked it here on windows and those fixees are still in and seems to work. Thanks.

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.

3 participants