Skip to content

Comments

Add note on recommended way to manage JavaScript dependencies via NPM and link to Spago#141

Merged
hdgarrood merged 3 commits intopurescript:masterfrom
mbbx6spp:mbbx6spp/update-front-page-with-more-getting-started-love
Apr 13, 2020
Merged

Add note on recommended way to manage JavaScript dependencies via NPM and link to Spago#141
hdgarrood merged 3 commits intopurescript:masterfrom
mbbx6spp:mbbx6spp/update-front-page-with-more-getting-started-love

Conversation

@mbbx6spp
Copy link
Contributor

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 purescript compile 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.

@natefaubion
Copy link
Contributor

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?

@natefaubion
Copy link
Contributor

There is also this page, which is linked from the home page:
https://github.com/purescript/documentation/blob/master/ecosystem/Editor-and-tool-support.md

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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that recommending Yarn might prompt users to install purescript locally via yarn, which does not currently work due to PnP compatibility.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will amend, thanks.

@mbbx6spp
Copy link
Contributor Author

I will make changes based on the feedback later this evening. Thank you much.

Susan Potter and others added 2 commits February 29, 2020 05:38
@mbbx6spp
Copy link
Contributor Author

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.

@mbbx6spp mbbx6spp changed the title Add instructions on how to install purescript from Homebrew and Nix Add note on recommended way to manage JavaScript dependencies via NPM and link to Spago Feb 29, 2020
@mbbx6spp
Copy link
Contributor Author

Pushed updates to reflect the above and amended PR title to refect current changes.

@hdgarrood hdgarrood merged commit c722fc6 into purescript:master Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants