From 6432d83405f115718c4c52740b5ff9535d787e7c Mon Sep 17 00:00:00 2001 From: shmck Date: Thu, 16 Apr 2020 22:32:48 -0700 Subject: [PATCH 1/2] update to v0.3.0 --- CODEROAD.md | 50 ++++++++++++++++++++++++------------------- coderoad-config.json | 51 ++++++++++++++++++++++++-------------------- 2 files changed, 56 insertions(+), 45 deletions(-) diff --git a/CODEROAD.md b/CODEROAD.md index cdd3950..f0061b9 100644 --- a/CODEROAD.md +++ b/CODEROAD.md @@ -6,9 +6,16 @@ config: testRunner: command: npm run programmatic-test + path: coderoad + actions: + commits: + - '55a9b6d' + - '89bdaa5' + commands: + - npm install repo: uri: https://github.com/coderoad/fcc-learn-npm - branch: v0.1.0 + branch: v0.3.0 dependencies: - name: node version: >=10 @@ -47,15 +54,14 @@ setup: files: - package.json commits: - - '6b7cf6f' - - '8df92a5' + - '886d5b6' commands: - npm install solution: files: - package.json commits: - - '49577c7' + - 'bb42c6f' ``` Add your name as the `author` of the project in the package.json file. @@ -83,12 +89,12 @@ setup: files: - package.json commits: - - 'c9718b2' + - 'fe0ebbe' solution: files: - package.json commits: - - 'a15aa99' + - '713bc2b' ``` Add a `description` to the package.json file of your project. @@ -116,12 +122,12 @@ setup: files: - package.json commits: - - '2b907ae' + - '33dfae3' solution: files: - package.json commits: - - '6342f64' + - 'e09726e' ``` Add an array of suitable strings to the `keywords` field in the package.json file of your project. @@ -147,12 +153,12 @@ setup: files: - package.json commits: - - '96e3915' + - '391fa87' solution: files: - package.json commits: - - 'ec61d78' + - '67de325' ``` Fill the `license` field in the package.json file of your project as you find suitable. @@ -174,12 +180,12 @@ setup: files: - package.json commits: - - '8ed877a' + - 'cf615ba' solution: files: - package.json commits: - - '5be16a2' + - 'b3cd2f7' ``` Add a `version` to the package.json file of your project. @@ -216,7 +222,7 @@ setup: files: - package.json commits: - - 'f89980a' + - 'bd92935' watchers: - package.json - node_modules/moment @@ -224,7 +230,7 @@ solution: files: - package.json commits: - - '6bcac25' + - '3bd10c2' ``` Install the "moment" package to the `dependencies` field of your package.json file by running the command line npm install. @@ -263,7 +269,7 @@ setup: files: - package.json commits: - - 'c7b5458' + - '98a8637' watchers: - package.json - node_modules/moment @@ -271,7 +277,7 @@ solution: files: - package.json commits: - - '7854c2f' + - '5222dda' ``` 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 @@ -295,12 +301,12 @@ setup: files: - package.json commits: - - 'ff88ec9' + - '01db156' solution: files: - package.json commits: - - 'a4b2700' + - '57e4d75' ``` 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. @@ -329,12 +335,12 @@ setup: files: - package.json commits: - - 'dd56157' + - 'c6f9525' solution: files: - package.json commits: - - 'a9ec3c0' + - 'f9447cd' ``` Use the caret (`^`) to prefix the version of moment in your dependencies and allow npm to update it to any new MINOR release. @@ -358,12 +364,12 @@ setup: files: - package.json commits: - - '9e35b51' + - 'e090655' solution: files: - package.json commits: - - '9536de2' + - '2e81321' ``` Remove the moment package from your dependencies. diff --git a/coderoad-config.json b/coderoad-config.json index f64a603..b42e7e8 100644 --- a/coderoad-config.json +++ b/coderoad-config.json @@ -1,16 +1,21 @@ { - "version": "0.2.0", + "version": "0.3.0", "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." }, "config": { "testRunner": { - "command": "npm run programmatic-test" + "command": "npm run programmatic-test", + "path": "coderoad", + "actions": { + "commits": ["55a9b6d", "89bdaa5"], + "commands": ["npm install"] + } }, "repo": { "uri": "https://github.com/coderoad/fcc-learn-npm", - "branch": "v0.2.0" + "branch": "v0.3.0" }, "dependencies": [{ "name": "node", @@ -37,12 +42,12 @@ "id": "bCzlTigHAL", "setup": { "files": ["package.json"], - "commits": ["6b7cf6f", "8df92a5"], + "commits": ["886d5b6"], "commands": ["npm install"] }, "solution": { "files": ["package.json"], - "commits": ["49577c7"] + "commits": ["bb42c6f"] }, "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 (,).\n\n" } @@ -59,11 +64,11 @@ "id": "qtyop7mIYu", "setup": { "files": ["package.json"], - "commits": ["c9718b2"] + "commits": ["fe0ebbe"] }, "solution": { "files": ["package.json"], - "commits": ["a15aa99"] + "commits": ["713bc2b"] }, "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.\n\n" } @@ -80,11 +85,11 @@ "id": "-dUCTOVbdo", "setup": { "files": ["package.json"], - "commits": ["2b907ae"] + "commits": ["33dfae3"] }, "solution": { "files": ["package.json"], - "commits": ["6342f64"] + "commits": ["e09726e"] }, "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\".\n" } @@ -101,11 +106,11 @@ "id": "3DsFYGvBuc", "setup": { "files": ["package.json"], - "commits": ["96e3915"] + "commits": ["391fa87"] }, "solution": { "files": ["package.json"], - "commits": ["ec61d78"] + "commits": ["67de325"] }, "content": "Fill the `license` field in the package.json file of your project as you find suitable.\n\n" } @@ -122,11 +127,11 @@ "id": "B07NvoYTwI", "setup": { "files": ["package.json"], - "commits": ["8ed877a"] + "commits": ["cf615ba"] }, "solution": { "files": ["package.json"], - "commits": ["5be16a2"] + "commits": ["b3cd2f7"] }, "content": "Add a `version` to the package.json file of your project.\n\n" } @@ -143,12 +148,12 @@ "id": "9VFvL2uElS", "setup": { "files": ["package.json"], - "commits": ["f89980a"], + "commits": ["bd92935"], "watchers": ["package.json", "node_modules/moment"] }, "solution": { "files": ["package.json"], - "commits": ["6bcac25"] + "commits": ["3bd10c2"] }, "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.\n\n" } @@ -165,12 +170,12 @@ "id": "p_BHY4SsgA", "setup": { "files": ["package.json"], - "commits": ["c7b5458"], + "commits": ["98a8637"], "watchers": ["package.json", "node_modules/moment"] }, "solution": { "files": ["package.json"], - "commits": ["7854c2f"] + "commits": ["5222dda"] }, "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\n\n" } @@ -187,11 +192,11 @@ "id": "BISIX4-iz4d", "setup": { "files": ["package.json"], - "commits": ["ff88ec9"] + "commits": ["01db156"] }, "solution": { "files": ["package.json"], - "commits": ["a4b2700"] + "commits": ["57e4d75"] }, "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.\n\n" } @@ -208,11 +213,11 @@ "id": "X7yBkeKqF6_", "setup": { "files": ["package.json"], - "commits": ["dd56157"] + "commits": ["c6f9525"] }, "solution": { "files": ["package.json"], - "commits": ["a9ec3c0"] + "commits": ["f9447cd"] }, "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.\n\n" } @@ -229,11 +234,11 @@ "id": "_BvPBHOIDjP", "setup": { "files": ["package.json"], - "commits": ["9e35b51"] + "commits": ["e090655"] }, "solution": { "files": ["package.json"], - "commits": ["9536de2"] + "commits": ["2e81321"] }, "content": "Remove the moment package from your dependencies.\n\n**Note:** Make sure you have the right amount of commas after removing it.\n\n" } From bfa18a3aa48d1b73783c4a79e1ea3affce5cf440 Mon Sep 17 00:00:00 2001 From: shmck Date: Fri, 17 Apr 2020 17:08:04 -0700 Subject: [PATCH 2/2] update v0.3.0 commits --- CODEROAD.md | 42 +++++++++++++++++++++--------------------- coderoad-config.json | 42 +++++++++++++++++++++--------------------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/CODEROAD.md b/CODEROAD.md index f0061b9..2d403d8 100644 --- a/CODEROAD.md +++ b/CODEROAD.md @@ -10,7 +10,7 @@ config: actions: commits: - '55a9b6d' - - '89bdaa5' + - '34f028e' commands: - npm install repo: @@ -54,14 +54,14 @@ setup: files: - package.json commits: - - '886d5b6' + - 'c3b4350' commands: - npm install solution: files: - package.json commits: - - 'bb42c6f' + - '02cd4f2' ``` Add your name as the `author` of the project in the package.json file. @@ -89,12 +89,12 @@ setup: files: - package.json commits: - - 'fe0ebbe' + - '1917199' solution: files: - package.json commits: - - '713bc2b' + - 'e8b3d85' ``` Add a `description` to the package.json file of your project. @@ -122,12 +122,12 @@ setup: files: - package.json commits: - - '33dfae3' + - '2ba75f8' solution: files: - package.json commits: - - 'e09726e' + - '63cd193' ``` Add an array of suitable strings to the `keywords` field in the package.json file of your project. @@ -153,12 +153,12 @@ setup: files: - package.json commits: - - '391fa87' + - 'acd63ba' solution: files: - package.json commits: - - '67de325' + - 'a64411c' ``` Fill the `license` field in the package.json file of your project as you find suitable. @@ -180,12 +180,12 @@ setup: files: - package.json commits: - - 'cf615ba' + - '580d786' solution: files: - package.json commits: - - 'b3cd2f7' + - 'a92903d' ``` Add a `version` to the package.json file of your project. @@ -222,7 +222,7 @@ setup: files: - package.json commits: - - 'bd92935' + - 'eafc39a' watchers: - package.json - node_modules/moment @@ -230,7 +230,7 @@ solution: files: - package.json commits: - - '3bd10c2' + - '50da157' ``` Install the "moment" package to the `dependencies` field of your package.json file by running the command line npm install. @@ -269,7 +269,7 @@ setup: files: - package.json commits: - - '98a8637' + - 'e658c66' watchers: - package.json - node_modules/moment @@ -277,7 +277,7 @@ solution: files: - package.json commits: - - '5222dda' + - 'f10433e' ``` 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 @@ -301,12 +301,12 @@ setup: files: - package.json commits: - - '01db156' + - 'b4edb0c' solution: files: - package.json commits: - - '57e4d75' + - '8e169e1' ``` 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. @@ -335,12 +335,12 @@ setup: files: - package.json commits: - - 'c6f9525' + - '67c5f7b' solution: files: - package.json commits: - - 'f9447cd' + - '601c5fe' ``` Use the caret (`^`) to prefix the version of moment in your dependencies and allow npm to update it to any new MINOR release. @@ -364,12 +364,12 @@ setup: files: - package.json commits: - - 'e090655' + - '4359bde' solution: files: - package.json commits: - - '2e81321' + - 'f8cfb51' ``` Remove the moment package from your dependencies. diff --git a/coderoad-config.json b/coderoad-config.json index b42e7e8..050d7ea 100644 --- a/coderoad-config.json +++ b/coderoad-config.json @@ -9,7 +9,7 @@ "command": "npm run programmatic-test", "path": "coderoad", "actions": { - "commits": ["55a9b6d", "89bdaa5"], + "commits": ["55a9b6d", "34f028e"], "commands": ["npm install"] } }, @@ -42,12 +42,12 @@ "id": "bCzlTigHAL", "setup": { "files": ["package.json"], - "commits": ["886d5b6"], + "commits": ["c3b4350"], "commands": ["npm install"] }, "solution": { "files": ["package.json"], - "commits": ["bb42c6f"] + "commits": ["02cd4f2"] }, "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 (,).\n\n" } @@ -64,11 +64,11 @@ "id": "qtyop7mIYu", "setup": { "files": ["package.json"], - "commits": ["fe0ebbe"] + "commits": ["1917199"] }, "solution": { "files": ["package.json"], - "commits": ["713bc2b"] + "commits": ["e8b3d85"] }, "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.\n\n" } @@ -85,11 +85,11 @@ "id": "-dUCTOVbdo", "setup": { "files": ["package.json"], - "commits": ["33dfae3"] + "commits": ["2ba75f8"] }, "solution": { "files": ["package.json"], - "commits": ["e09726e"] + "commits": ["63cd193"] }, "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\".\n" } @@ -106,11 +106,11 @@ "id": "3DsFYGvBuc", "setup": { "files": ["package.json"], - "commits": ["391fa87"] + "commits": ["acd63ba"] }, "solution": { "files": ["package.json"], - "commits": ["67de325"] + "commits": ["a64411c"] }, "content": "Fill the `license` field in the package.json file of your project as you find suitable.\n\n" } @@ -127,11 +127,11 @@ "id": "B07NvoYTwI", "setup": { "files": ["package.json"], - "commits": ["cf615ba"] + "commits": ["580d786"] }, "solution": { "files": ["package.json"], - "commits": ["b3cd2f7"] + "commits": ["a92903d"] }, "content": "Add a `version` to the package.json file of your project.\n\n" } @@ -148,12 +148,12 @@ "id": "9VFvL2uElS", "setup": { "files": ["package.json"], - "commits": ["bd92935"], + "commits": ["eafc39a"], "watchers": ["package.json", "node_modules/moment"] }, "solution": { "files": ["package.json"], - "commits": ["3bd10c2"] + "commits": ["50da157"] }, "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.\n\n" } @@ -170,12 +170,12 @@ "id": "p_BHY4SsgA", "setup": { "files": ["package.json"], - "commits": ["98a8637"], + "commits": ["e658c66"], "watchers": ["package.json", "node_modules/moment"] }, "solution": { "files": ["package.json"], - "commits": ["5222dda"] + "commits": ["f10433e"] }, "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\n\n" } @@ -192,11 +192,11 @@ "id": "BISIX4-iz4d", "setup": { "files": ["package.json"], - "commits": ["01db156"] + "commits": ["b4edb0c"] }, "solution": { "files": ["package.json"], - "commits": ["57e4d75"] + "commits": ["8e169e1"] }, "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.\n\n" } @@ -213,11 +213,11 @@ "id": "X7yBkeKqF6_", "setup": { "files": ["package.json"], - "commits": ["c6f9525"] + "commits": ["67c5f7b"] }, "solution": { "files": ["package.json"], - "commits": ["f9447cd"] + "commits": ["601c5fe"] }, "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.\n\n" } @@ -234,11 +234,11 @@ "id": "_BvPBHOIDjP", "setup": { "files": ["package.json"], - "commits": ["e090655"] + "commits": ["4359bde"] }, "solution": { "files": ["package.json"], - "commits": ["2e81321"] + "commits": ["f8cfb51"] }, "content": "Remove the moment package from your dependencies.\n\n**Note:** Make sure you have the right amount of commas after removing it.\n\n" }