Skip to content
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

chore: added nvmrc #582

Merged
merged 5 commits into from
Jan 14, 2022
Merged

chore: added nvmrc #582

merged 5 commits into from
Jan 14, 2022

Conversation

ritik307
Copy link
Contributor

Description

  • Added command to implement and install .nvmrc.
  • Updated docs/development.md with the commands to setup .nvmrc

Related issue(s)
Resolves #575

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@ritik307 ritik307 changed the title feature: added nvmrc feat: added nvmrc Jan 13, 2022
@ritik307
Copy link
Contributor Author

@fmvilas @derberg @ron-debajyoti kindly review the PR

@ron-debajyoti
Copy link
Contributor

ron-debajyoti commented Jan 13, 2022

@fmvilas @derberg @ron-debajyoti kindly review the PR

I'm not a maintainer tbh, just another fellow contributor 😄 @jonaslagoni

Copy link
Member

@jonaslagoni jonaslagoni left a comment

Choose a reason for hiding this comment

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

@ritik307 Thanks for taking the time to do this 👍

One question, is there any reason you see us needing the script nvmrc rather than just committing that file? That way the steps others need to do it only nvm use 🤔

@ritik307
Copy link
Contributor Author

ritik307 commented Jan 14, 2022

@ritik307 Thanks for taking the time to do this +1

One question, is there any reason you see us needing the script nvmrc rather than just committing that file? That way the steps others need to do it only nvm use thinking

I think the implemented approach is better bcz there won't be a need for a dev to have nvm already installed in their machine and also if a dev doesn't require nvmrc file they still have to keep it in the root folder regardless. I don't have any problem switching to the way you are thinking to implement this I will update the PR accordingly.

@jonaslagoni
Copy link
Member

I think the implemented approach is better bcz there won't be a need for a dev to have nvm already installed in their machine and also if a dev doesn't require nvmrc file they still have to keep it in the root folder regardless

Regardless of this approach or the other, would they not need nvm installed anyway?

The only difference I see is that, with your script, we can "dynamically` create the appropriate nvmrc file. However, as the node requirement wont really change, having it hardcoded might be a better fit 🙂

@ritik307
Copy link
Contributor Author

I think the implemented approach is better bcz there won't be a need for a dev to have nvm already installed in their machine and also if a dev doesn't require nvmrc file they still have to keep it in the root folder regardless

Regardless of this approach or the other, would they not need nvm installed anyway?

The only difference I see is that, with your script, we can "dynamically` create the appropriate nvmrc file. However, as the node requirement wont really change, having it hardcoded might be a better fit slightly_smiling_face

Done! kindly review

@ritik307 ritik307 requested a review from jonaslagoni January 14, 2022 13:58
Copy link
Member

@jonaslagoni jonaslagoni left a comment

Choose a reason for hiding this comment

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

Got a few follow up questions 🙂

Also for the title of the PR, please use chore: as this is not a feature for the library, but a feature for the development setup 🙂

@ritik307 ritik307 changed the title feat: added nvmrc chore: added nvmrc Jan 14, 2022
@ritik307 ritik307 requested a review from jonaslagoni January 14, 2022 15:17
Copy link
Member

@jonaslagoni jonaslagoni left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉

@jonaslagoni
Copy link
Member

/rtm

@coveralls
Copy link

coveralls commented Jan 14, 2022

Pull Request Test Coverage Report for Build 1698990891

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.575%

Totals Coverage Status
Change from base Build 1697691553: 0.0%
Covered Lines: 2368
Relevant Lines: 2414

💛 - Coveralls

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jonaslagoni jonaslagoni merged commit 1c684c5 into asyncapi:master Jan 14, 2022
@jonaslagoni
Copy link
Member

@all-contributors please add @ritik307 for doc

@allcontributors
Copy link
Contributor

@jonaslagoni

I've put up a pull request to add @ritik307! 🎉

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 0.44.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0-next.23 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Including a .nvmrc file for the project
5 participants