-
Notifications
You must be signed in to change notification settings - Fork 27
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
base: main
Are you sure you want to change the base?
Conversation
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 <[email protected]>
I almost committed the npmrc to do that. I agree, and if no one dissents I will push that change this weekend. |
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 |
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. |
There was a problem hiding this comment.
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
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 runnpm i
in the root.