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

Add vanilla Node.js handler #788

Merged
merged 8 commits into from
Dec 30, 2024
Merged

Add vanilla Node.js handler #788

merged 8 commits into from
Dec 30, 2024

Conversation

djfarrelly
Copy link
Member

@djfarrelly djfarrelly commented Dec 20, 2024

Summary

Create a PoC vanilla Node.js handler which works with createServer. The handler is not meant to be used in prod, but will help with zero-dependency quick starts for the sake of learning and running https://github.com/inngest/agent-kit without an external server package.

Checklist

  • Added a docs PR that references this PR N/A Follow-up
  • Added unit/integration tests
  • Added changesets if applicable

Related

n/a

Copy link

changeset-bot bot commented Dec 20, 2024

🦋 Changeset detected

Latest commit: f988b44

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

This PR includes changesets to release 1 package
Name Type
inngest Minor

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

@inngest-release-bot inngest-release-bot added the 📦 inngest Affects the `inngest` package label Dec 20, 2024
@@ -0,0 +1,28 @@
# Inngest Node.js Template
Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe should just call this examples/node instead of framework-node

@djfarrelly djfarrelly added the prerelease/inngest Create snapshot releases for a PR for the "inngest" package. label Dec 20, 2024
@inngest-release-bot
Copy link
Collaborator

inngest-release-bot commented Dec 20, 2024

A user has added the prerelease/inngest label, so this PR will be published to npm with the tag pr-788. It will be updated with the latest changes as you push commits to this PR.

You can install this prerelease version with:

npm install inngest@pr-788

The last release was built and published from f988b44.

Copy link
Member

@jpwilliams jpwilliams left a comment

Choose a reason for hiding this comment

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

🙌

@jpwilliams jpwilliams self-assigned this Dec 30, 2024
@jpwilliams jpwilliams merged commit bf1c0d1 into main Dec 30, 2024
53 checks passed
@jpwilliams jpwilliams deleted the feat/vanilla-node-server branch December 30, 2024 15:42
jpwilliams pushed a commit that referenced this pull request Jan 6, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## [email protected]

### Minor Changes

- [#788](#788)
[`bf1c0d1`](bf1c0d1)
Thanks [@djfarrelly](https://github.com/djfarrelly)! - Add vanilla
Node.js serve handler

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 inngest Affects the `inngest` package prerelease/inngest Create snapshot releases for a PR for the "inngest" package.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants