Changes

Jump to: navigation, search

DPS909 & OSD600 Winter 2017 - Lab 2

699 bytes added, 15:54, 18 January 2017
no edit summary
* [[DPS909 & OSD600 Winter 2017 - Git Walkthrough 2 | Git Walkthrough #2 - Working Remote]]
==1. Install Intro to node.js, npm, npmjs.com==
We will be contributing to projects that use [https://nodejs.org/en/ node.js], its package manager [https://en.wikipedia.org/wiki/Npm_(software) npm], and the [https://www.npmjs.com/ npmjs module registry]. In order to complete this lab, you will need to should install node.json your home/dev computer, which you can [https://nodejs.org/en/download/ download here]. We won't need to use node.js directly, but it's a good time to install it, since we'll be using it in subsequent labs and assignments.
==2. Understanding package.json==
Node .js uses a special file named <code>package.json</code> to specify metadata about a module. You can read a complete description of <code>package.json</code> at https://docs.npmjs.com/files/package.json.
A <code>package.json</code> file has to be valid JSON, and [https://docs.npmjs.com/getting-started/using-a-package.json#requirements must include a few fields]. However, many of the fields are optional. Let's look at some examples from popular node.js open source projects:
|-
| 39
|
|
|
|
|-
| 40
|
|
|}
 
 
...
==Submission==
You will have completed your lab when you have done the following:
* Create a Pull Request to a project fixing some problem or omission in their <code>package.json</code> file
* Write a blog post about the process you took to complete this Pull Request, and about what happened next. Was it accepted? How long did it take? What did they say?
* Write about your feelings contributing to your first open source project. What went well? What was hard? What surprised you?
* Added a row above with the name of a node.js module that needs a fix, and your name. Make sure all students have a module to work on before you begin fixing yours. We'll work as a community to help triage existing modules.* Create a Pull Request to fix some problem or omission in the <code>package.json</code> file. I've documented a complete example in my blog, see http://blog.humphd.org/howto-first-github-pr/. Add the URL to your Pull Request to the table above.* Write a blog post about the process you took to complete this lab and the Pull Request. What happened next? Was it accepted? How long did it take? What did they say? What did you learn? Also write about your feelings contributing to your first open source project. What went well? What was hard? What surprised you?* Add the URL to your blog post in the table above beside your Pull Request URL You should complete Lab 2 before the start '''end''' of week 3(it might take you a few days).

Navigation menu