Skip to content

docs: add node.js and npm to README.md - #584

Merged
asyncapi-bot merged 4 commits into
asyncapi:masterfrom
tinatinz:tinatinz-develop-node-and-nps
Sep 15, 2022
Merged

asyncapi-bot merged 4 commits into
asyncapi:masterfrom
tinatinz:tinatinz-develop-node-and-nps

Conversation

@tinatinz

Copy link
Copy Markdown
Contributor

Description

  • Wrote in 'Develop' section that the latest version of Node.js and npm are required

Related issue(s)
Fixes #427

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.

@tinatinz tinatinz changed the title Update README.md: Node.js and npm required docs: add node.js and npm to README.md Aug 30, 2022

@magicmatatjahu magicmatatjahu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@tinatinz Thanks for PR! I leave one comment :)

Comment thread README.md Outdated
1. Write code and tests.
1. Make sure all tests pass `npm test`
1. Make sure code is well formatted and secure `npm run lint`
1. Make sure you are using the latest version of both Node.js and npm.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@tinatinz please specify versions like in #427, so not the latest Node but node>=14 and npm>=7

and I think better to make it step one, of the instruction, so contributors know it upfront

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Why latest? We run workflows with v14 https://github.com/asyncapi/parser-js/blob/master/.github/workflows/if-nodejs-pr-testing.yml#L40 Could you elaborate why you need that?

Sorry, I misunderstood #427 and thought the latest version was needed. I've changed the wording and placement like @derberg mentioned.

Comment thread README.md Outdated

## Develop

1. Make sure you are using Node.js 14.0 or higher and npm 7.0 or higher

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
1. Make sure you are using Node.js 14.0 or higher and npm 7.0 or higher
1. Make sure you are using Node.js 14 or higher and npm 7 or higher

for devs it is normal that when you refer to any possible major version, you do not need to specify .0 but just write 14. Actually 14.0 is a bit confusing 😉

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

gotcha, fixed it.

@derberg derberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great, congrats on your first GitHub PR to an open source project 👏🏼

@smoya as you created the initial issue, is there anything you'd like to add? are you happy with the solution?

@smoya smoya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! 🚀🌖

Thanks @tinatinz for your contribution!

@sonarqubecloud

Copy link
Copy Markdown

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
0.0% 0.0% Duplication

@magicmatatjahu

Copy link
Copy Markdown
Member

/rtm

@asyncapi-bot
asyncapi-bot merged commit 2a924e5 into asyncapi:master Sep 15, 2022
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.17.0-next-spec.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.17.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@smoya

smoya commented Oct 18, 2022 •

Copy link
Copy Markdown
Member

I noticed the right combo should be Node >=15, NPM >= 7., according to https://nodejs.org/en/download/releases/

I'm gonna open a PR fixing this.

@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.0.0-next-major.18 🎉

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.

[New Doc 📑]: specify which version of npm is required to run npm install.

5 participants