Skip to content

update to v0.4.2 #6

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
merged 1 commit into from
Aug 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update to v0.4.2
  • Loading branch information
ShMcK committed Aug 17, 2020
commit 9466078a519afa517d97eb173a0c1373618fd44b
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.tmp
node_modules
coderoad
# ALL
!coderoad.yaml
!tutorial.json
!TUTORIAL.md
!README.md
!.gitignore
4 changes: 2 additions & 2 deletions coderoad.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.4.1"
version: "0.4.2"
config:
testRunner:
command: ./node_modules/.bin/mocha
Expand All @@ -11,7 +11,7 @@ config:
- cd coderoad && npm install
repo:
uri: https://github.com/coderoad/fcc-learn-npm
branch: v0.4.1
branch: v0.4.2
dependencies:
- name: node
version: '>=10'
Expand Down
47 changes: 23 additions & 24 deletions tutorial.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.1",
"version": "0.4.2",
"summary": {
"title": "Learn NPM package json",
"description": "The Node Package Manager (NPM) is a command-line tool used by developers to share and control modules (or packages) of JavaScript code written for use with Node.js."
Expand All @@ -18,13 +18,12 @@
"cd coderoad && npm install"
],
"commits": [
"a99811c863d561190f92b8aac455117407674880",
"1efa2e74255816a138ea9be998d49a6bdfbd082f"
"6bfa2e3f1d8e9e3dcb07ab7c6b8bc863f56e11b0"
]
},
"repo": {
"uri": "https://github.com/coderoad/fcc-learn-npm",
"branch": "v0.4.1"
"branch": "v0.4.2"
},
"dependencies": [
{
Expand Down Expand Up @@ -62,15 +61,15 @@
"package.json"
],
"commits": [
"af2a97be3e4e0fda484913aa14df0d1a34c457a3"
"ae28b98a44066947fa2a3ecab26e62e0743ff016"
]
},
"solution": {
"files": [
"package.json"
],
"commits": [
"46794cae9d036c50b673b47363e9429ae331eaf6"
"e2778eaea801474be3569e31941651b11da08601"
]
},
"content": "Add your name as the `author` of the project in the package.json file.\n**Note:** Remember that you’re writing JSON, so all field names must use double-quotes (\") and be separated with a comma (,).",
Expand All @@ -94,15 +93,15 @@
"package.json"
],
"commits": [
"1d2f58330ee9773ac7f80df5a628675fbead1e60"
"c2f35a0e0c1d88435e7cb87d61d2a23b011d231b"
]
},
"solution": {
"files": [
"package.json"
],
"commits": [
"ee7a7af1c92693d239528832f2a69859371a147a"
"dbbdf52595dcfe9d39343f0b8a2ebb6cc7254c1e"
]
},
"content": "Add a `description` to the package.json file of your project.\n\n**Note:** Remember to use double-quotes for field-names (\") and commas (,) to separate fields.",
Expand All @@ -126,15 +125,15 @@
"package.json"
],
"commits": [
"6b8e6ef82ad0cd0dbb0193787c14ed39fe039132"
"9cfe1fec533df98eb9c6ed927eac8e0103ecdd50"
]
},
"solution": {
"files": [
"package.json"
],
"commits": [
"b0d6dc4a4dd6b510fcd0b9d803e301049ee574d3"
"7212e9079d67470e0ea6f21906b308ee82ba483d"
]
},
"content": "Add an array of suitable strings to the `keywords` field in the package.json file of your project.\n\nOne of the keywords should be \"freecodecamp\".",
Expand All @@ -158,13 +157,13 @@
"package.json"
],
"commits": [
"67346726fb199a390aa9f402ec3a0516fcfeff74"
"9652bd6438d1f403fdef12580616ed99771b3a3b"
]
},
"content": "Fill the `license` field in the package.json file of your project as you find suitable.",
"solution": {
"commits": [
"060c0756282e4efc83435008dff06a5e4ef6943c"
"effa4b7d6e65428affaff4423832b39a4314b161"
]
}
}
Expand All @@ -183,13 +182,13 @@
"package.json"
],
"commits": [
"dc7f47dbbefb5f18cc5980418912d76096ee4907"
"dfbce6652999bf559aed44434cec24c80e494452"
]
},
"content": "Add a `version` to the package.json file of your project.",
"solution": {
"commits": [
"ad2cb8466d937eb7c03f99fc876b7ab08dd13067"
"784e624939e8e47283ae9e687d2fc4fb5fcfcd61"
]
}
}
Expand All @@ -212,7 +211,7 @@
"node_modules/moment"
],
"commits": [
"c3a72a33bb7b207b22b2dff04c0e01c269990754"
"327be97be42414034279727046ced58130ebbeee"
]
},
"solution": {
Expand All @@ -223,7 +222,7 @@
"npm install"
],
"commits": [
"506f466305b95777a1be518bf91c35831806f21c"
"0eefcdbb090e62515c19b41d51998fe18bfcb7ac"
]
},
"content": "Install the \"moment\" package to the `dependencies` field of your package.json file by running the command line npm install.\n\n**Note:** Moment is a handy library for working with time and dates."
Expand All @@ -247,7 +246,7 @@
"node_modules/moment"
],
"commits": [
"d75d588947efe26c5a2fe5bfd809da9211f8f2d3"
"e25b5f37da2f052080f29bc0f1e6fb6b3ba43d93"
]
},
"solution": {
Expand All @@ -258,7 +257,7 @@
"npm install"
],
"commits": [
"c38b20b9c8c5f9d68efa433fc33b715a70060d74"
"ec1e905af4139e524369974dadcbec6a08343fcd"
]
},
"content": "In the dependencies section of your package.json file, change the `version` of moment to match MAJOR version 2, MINOR version 10 and PATCH version 2"
Expand All @@ -278,15 +277,15 @@
"package.json"
],
"commits": [
"b4f94faaf7ee23103dbdb935083bae86ccf03799"
"c7fecf0bce6abe2885b6d968486ad22417a6eded"
]
},
"solution": {
"files": [
"package.json"
],
"commits": [
"35f54899b037b00fdd85f45b0d5d94089cf599f4"
"70b29effbc6a65e1cab618edd92879949160a1a0"
]
},
"content": "In the package.json file, your current rule for how npm may upgrade moment is to use a specific version (2.10.2). But now, you want to allow the latest 2.10.x version.\nUse the tilde (`~`) character to prefix the version of moment in your dependencies, and allow npm to update it to any new PATCH release.\n\n**Note:** The version numbers themselves should not be changed."
Expand All @@ -306,15 +305,15 @@
"package.json"
],
"commits": [
"36951e66e83966359d20ece1a362b2bc91e4d722"
"dc2689e47dcb0db5933ce8d599bbd292b08b9bda"
]
},
"solution": {
"files": [
"package.json"
],
"commits": [
"9578b3e8ef7f6c0f03d3e3b9b2b6bdc151e4e186"
"72b8fa6680bf55da451b92ccdda89974b6742617"
]
},
"content": "Use the caret (`^`) to prefix the version of moment in your dependencies and allow npm to update it to any new MINOR release.\n\n**Note:** The version numbers themselves should not be changed."
Expand All @@ -334,15 +333,15 @@
"package.json"
],
"commits": [
"364e2417076bf8d6604084409404ab9ff7b6533f"
"6b0d618d312d7db46a5c30062a7ea1730ee2992c"
]
},
"solution": {
"files": [
"package.json"
],
"commits": [
"d3ee6474be0c501136dde32efed480c9f3d8fdbf"
"41e46747dfb3977c21321d473b5f230e91240d4f"
]
},
"content": "Remove the moment package from your dependencies.\n\n**Note:** Make sure you have the right amount of commas after removing it."
Expand Down