-
Notifications
You must be signed in to change notification settings - Fork 52
Specify driver version in quick start #281
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
Merged
ccho-mongodb
merged 3 commits into
mongodb:master
from
ccho-mongodb:012722-quickstart-specify-driver-version
Jan 31, 2022
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,20 +37,25 @@ to check your version of Node and npm, as well as installation | |
instructions, see `downloading and installing Node.js and npm | ||
<https://docs.npmjs.com/downloading-and-installing-node-js-and-npm>`_. | ||
|
||
Select the :guilabel:`Clone the Project` tab if you want to build your | ||
project from a premade dependency file or the :guilabel:`Create the Project` | ||
tab if you want to create the project dependency file yourself. | ||
|
||
.. tabs:: | ||
|
||
.. tab:: Clone the Project | ||
:tabid: clone the project | ||
|
||
First, install Git using `Git's Getting Started Guide | ||
First, ensure you have Git installed in your development | ||
environment or otherwise install it using `Git's Getting Started Guide | ||
<https://git-scm.com/book/en/v2/Getting-Started-Installing-Git>`__. | ||
|
||
Then, in your shell, clone the `js-starter repository | ||
Then, from your shell, clone the `js-starter repository | ||
<https://github.com/mongodb-university/js-starter>`__: | ||
|
||
.. code-block:: bash | ||
|
||
git clone https://github.com/mongodb-university/js-starter.git | ||
git clone --branch v{+version+} https://github.com/mongodb-university/js-starter.git | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Praise: Awesome job versioning the starter project, really like how version-sensitive the docs are becoming. |
||
|
||
Next, navigate into the repository: | ||
|
||
|
@@ -103,7 +108,7 @@ instructions, see `downloading and installing Node.js and npm | |
|
||
.. code-block:: bash | ||
|
||
npm install mongodb | ||
npm install mongodb@{+version+} | ||
|
||
This command performs the following actions: | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment: I've never heard a
package.json
referred to as a dependency file (not wrong, but just doesn't seem quite right to me). I googled around a bit this site refers to it as a "manifest" which sounds like a better descriptor to me (captures more than listing dependencies). Non-blocking either way.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manifest files are a more general category, more often used to describe metadata (a description of a package).
A "dependency file" is a term used for any file that contains dependencies and is used across languages. I haven't found any other term used to classify package.json. If you know of one that is not jargon, let me know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, from the link you posted:
This is not the same as calling it a manifest file.