Add note on recommended way to manage JavaScript dependencies via NPM and link to Spago#141
Conversation
|
The current listed options are maintained by the core org. I don't have a problem with listing other options, but I would probably list them under a separate heading for third-party tools. @hdgarrood What do you think? |
|
There is also this page, which is linked from the home page: |
index.html
Outdated
| <p><code>npm install -g spago</code></p> | ||
| <p>You might like to install some of these | ||
| <a href="https://github.com/purescript/documentation/blob/master/ecosystem/Editor-and-tool-support.md">additional tools and editor plugins</a>.</p> | ||
| <p>NPM or Yarn is recommended for managing Javascript dependencies in your project.</p> |
There was a problem hiding this comment.
Note that recommending Yarn might prompt users to install purescript locally via yarn, which does not currently work due to PnP compatibility.
There was a problem hiding this comment.
I will amend, thanks.
|
I will make changes based on the feedback later this evening. Thank you much. |
Co-Authored-By: Nathan Faubion <natefaubion@users.noreply.github.com>
9d59b93 to
2d49d35
Compare
|
I linked a PR to the purescript/documentation repository where I will put the Homebrew and Nix installation methods in there. I do think it might be worthwhile keeping the note about using NPM to manage Javascript dependencies here though, but I will defer. Let me amend this PR now though. |
|
Pushed updates to reflect the above and amended PR title to refect current changes. |
These suggested additions to the front page of the website are made based on discussions from work while onboarding developers new to Purescript and also via more constructive Twitter discussions.
I added instructions on installing the
purescriptcompile via Homebrew and also via Nix. I maintain the Nix package right now and plan to update it when newer versions of Purescript are released. The Homebrew formula for purescript is also fairly current.I added the final note about how to manage JS dependencies because that has come up in multiple conversations with people new to Purescript trying to get ramped up.
Happy to amend.