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

Version hyper-nano binaries and place artifacts in the current working directory #600

Merged
merged 3 commits into from
May 30, 2023

Conversation

TillaTheHun0
Copy link
Member

BREAKING CHANGE

closes #537

This PR changes hyper-nano on Node to download the hyper-binary into the current working directory, which is to say wherever npx is ran from, typically the project directory. This is similar behavior to tools like the NextJS CLI when running next build.

With this, installing dependencies with yarn will not blow away the binary and any persisted data in the __hyper__ directory, as described in #537

This is breaking change, since users will need to add the hyper-nano binary and the __hyper__ directory to their .gitignore.


This PR also makes new versions of hyper-nano be published to our S3 bucket with a version suffix. This way, each hyper-nano version has a corresponding binary version to be downloaded from S3.

…nd __hyper__ directory #537"

BREAKING CHANGE: the __hyper__ directory and the hyper-nano binary will now be placed in
the current working directory. Both should be added to a .gitignore so that they are not committed
to source control
…ogic

BREAKING CHANGE: the binaries are no longer overwritten in s3 on every publish.
This will allow for each version of hyper-nano to use a specific unchanging binary
@TillaTheHun0 TillaTheHun0 merged commit 2d1f487 into main May 30, 2023
@TillaTheHun0 TillaTheHun0 deleted the tillathehun0/nano-cwd branch May 30, 2023 21:43
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.

bug: yarn will remove hyper-nano binary and __hyper__ directory on yarn install
1 participant