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

feat: start scaffolding out packages and examples #74

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

wesleytodd
Copy link
Member

In response to #73, here is some of the example code I had been messing around with. As you can tell, there is no meat to this, it is simply meant to start working through what the layers structure would be and what the API's might look like.

As we discussed on the meeting and I proposed in #73, this is only to get something started. Merging this is not committing to any direction, and I hope strongly that we change all of this going forward. I am happy to delete much of this (I just copied in my notes) before merging and just keep the package scaffold, but figured I would do the minimum effort and just copy paste what I had into here to get started.

Note: This requires npm@7 workspaces. $ npm i -g npm@7 then run npm i in the root.

@wesleytodd wesleytodd requested a review from a team October 16, 2020 17:48
@Ethan-Arrowood
Copy link
Contributor

we may also want to set a loose rule of no package-locks as it'll only cause more problems than its worth imo for experimentation

Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com>
packages/h3xt/index.js Outdated Show resolved Hide resolved
@wesleytodd
Copy link
Member Author

we may also want to set a loose rule of no package-locks as it'll only cause more problems than its worth imo for experimentation

I almost committed the npmrc to do that. I agree, and if no one dissents I will push that change this weekend.

@Ethan-Arrowood
Copy link
Contributor

I'm +1 for npmrc. Remember this stuff isn't meant to be taken too seriously. If someone really wants to commit a lock file we can let them

@sheplu
Copy link
Member

sheplu commented Oct 20, 2020

also + 1 on both npmrc and package-lock

# Example of using `h3xt` http framework

This is just a scratch pad for what an end user application built
ontop of the new framework could look like.
Copy link

Choose a reason for hiding this comment

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

nit: Actually we can add the npm version requirement here:

This requires npm@7 workspaces. $ npm i -g npm@7 then run npm i in the root

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.

None yet

4 participants