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

Roadmap to V4? #66

Open
H4ad opened this issue Nov 27, 2022 · 0 comments
Open

Roadmap to V4? #66

H4ad opened this issue Nov 27, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@H4ad
Copy link
Owner

H4ad commented Nov 27, 2022

This is the milestone for being able to update this library to V4.

Goals:

  • Split each handler, adapter and framework into its own package.
  • Be more independent from NodeJS, so you can easily migrate from NodeJS to Deno or another type of environment such as Bun or Cloudflare Workers.

About dividing the library into several packages, we will have:

  • @h4ad/serverless-adapter: The core library which contains all contracts and core functionality.
  • @h4ad/serverless-adapter-aws: Contains all AWS Adapters and Handler.
  • @h4ad/serverless-adapter-azure: Which contains all Azure adapters and handler.
  • @h4ad/serverless-adapter-firebase: Contains all Firebase Adapters and Handlers.
  • @h4ad/serverless-adapter-huawei: Contains all Huawei adapters and handlers.
  • @h4ad/serverless-adapter-gcp: Contains all GCP adapters and handlers.
  • @h4ad/serverless-adapter-digital-ocean: Contains all Digital Ocean Adapters and Handlers.
  • @h4ad/serverless-adapter-express: Contains the express framework.
  • @h4ad/serverless-adapter-deepkit: Contains the deepkit framework.
  • @h4ad/serverless-adapter-fastify: Contains the fastify framework.
  • @h4ad/serverless-adapter-hapi: Contains the hapi framework.
  • @h4ad/serverless-adapter-koa: Contains the koa framework.
  • @h4ad/serverless-adapter-apollo-server: Contains the apollo-server framework.
  • @h4ad/serverless-adapter-nodejs: Contains the network code related to Request and Response for NodeJS
  • @h4ad/serverless-adapter-fetch: Contains the network code related to Request and Response for Fetch Spec, that can be used inside Cloudflare Workers and other kind of workers.

Things to consider:

  • Should I use the monorepo approach?
    • If I use this scheme I must have multiple packages with different typescript versions and different nodejs versions.
  • Should I create an organization instead of leaving it inside my nickname?
@H4ad H4ad added the enhancement New feature or request label Nov 27, 2022
@H4ad H4ad self-assigned this Nov 27, 2022
@H4ad H4ad pinned this issue Nov 27, 2022
@H4ad H4ad changed the title Roadmap to V3 Roadmap to V4? Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant