-
Notifications
You must be signed in to change notification settings - Fork 91
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
Added WAPM integration into upm #22
base: main
Are you sure you want to change the base?
Conversation
@amasad I think this PR is ready for review :) |
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.
awesome!
thanks for putting all this work into the repl.it wasm environment
@syrusakbary awesome! Excited to see this merged. FYI we have wasmer running on Repl.it here: http://repl.it/languages/wasm |
Feedback addressed! I also created this PR updating the Wasmer version on polyglott: replit/polygott#51 |
util.RunCmd([]string{"wapm", "install"}) | ||
}, | ||
Install: func() { | ||
util.RunCmd([]string{"wapm", "install", "-y"}) |
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.
I noticed Lock uses wapm install
and Install uses wapm install -y
. What's the difference? I don't see it mentioned in the docs.
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.
wapm install -y
automatically accepts certificates for signed packages when installing them (and any other input requested from the user).
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.
sounds like we want wapm install -y
in both cases then
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.
@turbio sounds good! I just updated the PR :)
Loving this! Let me know if there is more feedback that I need to address @turbio @amasad :) |
Good afternoon @syrusakbary ! You've probably noticed by now that we've been slow to merge community PRs on polygott. We've decided to focus on giving Repl.it a stable foundation instead of adding features and updating languages. Once we and our community feel comfortable with Repl.it's overall stability, we'll give this change another look. Thank you for contributing! |
Resolves #17
This PR adds WebAssembly WAPM integration into UPM in the simplest way possible.
It's built upon the new version of Wasmer/wapm (0.10.0) with new features in the WAPM CLI required for upm (specifically the commands
wapm add
andwapm remove
).Because we are using GraphQL to query the data, it should be easy to maintain and ask for more data in the future if we need it so.
Looking forward getting some feedback! :)