winglang/wing

First-time contributor environment check script

Open

#1932 aperta il 29 mar 2023

Vedi su GitHub
 (5 commenti) (2 reazioni) (0 assegnatari)TypeScript (214 fork)github user discovery
good first issue✨ enhancement👷‍♀️ contributor-experience

Metriche repository

Star
 (5385 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Community Note

Please vote by adding a 👍 reaction to the issue to help us prioritize. If you are interested to work on this issue, please leave a comment.

Feature Spec

When someone first tries to contribute to Wing, it is possible that even after forking the repository and setting up any required tools, they may see errors when they run npm run build. Usually these errors are hard to debug because they may be due to either a missing tool, or a tool being installed with a wrong version.

To minimize this pain, we can add a short script that runs before everything else which checks if all required tools (node, rust, docker, etc.) are ready and available on the user's system with the correct versoins.

Checklist:

  • OS
  • Node version
  • Npm version
  • Rust version
  • Rustfmt version(?)
  • Docker installed and running

If any of the items in the check list fail, we can throw an error (overridable via environment variable) and provide some helpful messaging about how to fix the given issue.

Use Cases

Improve the first time contributing experience

Implementation Notes

No response

Component

Contributor Experience

Guida contributor