-
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 optional devDependencies
field in vessel.dhall
#61
base: main
Are you sure you want to change the base?
Conversation
…ackwards compatibility
A few points of discussion: By switching to a single
Vessel originally used strict type checking for Dhall files, which means that this PR (and any other change to
|
Bummer.
I'm supportive of that.
I'm also supportive of these other distribution methods. I think dfx (or whatever packages the compiler in each context) makes the most sense to me. It never made sense to me to separate the package manager and the compiler as much as they've been separated thus far. |
This PR introduces the ability to specify local "dev dependencies" (well-known from Cargo and npm) for a Vessel package.
Here's a concise explanation of dev dependencies from Rust by Example:
As a response to dfinity/vscode-motoko#66, this feature would provide a simpler alternative to the
./vessel.dhall
+test/vessel.dhall
pattern used in various official and community repositories (e.g. motoko-base). The goal is to improve readability for both humans and development tools (especially IDE integrations).This PR also make it possible to omit fields in a
vessel.dhall
manifest. For instance, it's no longer necessary to write verbose default values such ascompiler = None Text
, which I expect will be appreciated by the community. :)