-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add wasm-pkg-lock
crate
#15
Comments
I can't imagine that use case, at the moment. Maybe start simple and lazy evaluate if we need to change. |
Discussed this a bit with @fibonacci1729. There are tradeoffs with both lock-per-tool and one-lock-to-rule-them-all:
I think this is best resolved with prototyping, so I'm proposing the following initial approach:
|
We just merged support for a basic lock file adapted from the wit tool in cargo component with the merge of #91. We can keep this open as we might need to do some more prototyping, but just wanted people to be aware |
This could probably just be adapted from https://github.com/bytecodealliance/cargo-component/blob/main/crates/core/src/lock.rs
Open question: Should there be a single e.g.
wasm-pkg.lock
file (per workspace) or should each tool pick its own name (likewit.lock
today)? Would you ever want different resolved package versions for different tools in the same workspace?The text was updated successfully, but these errors were encountered: