Open main menu

CDOT Wiki β

Changes

DPS909 & OSD600 Winter 2017 - Lab 2

846 bytes added, 13:46, 18 January 2017
3. Contributing fixes to package.json files
For our first contribution to an open source project, we're going to go looking for ways we can help existing node.js based projects do a better job with their <code>package.json</code> files. This could involve a number of things:
* correcting errors generated by http://package-json-validator.com/ for a <code>package.json</code> file
* adding missing optional fields to a <code>package.json</code> file, for example: <code>keywords</code>
Before we can fix any issues with existing <code>package.json</code> files, we have to find some! Our first task is to locate 1 module with an issue per student. '''Please do not fix a bug until we have found a bug for everyone'''. Here are some queries to get you started. Also look at the '''Dependencies''' and '''Dependents''' lists for any module you examine on npmjs. When you find a module that is missing <code>keywords</code> or has some other issue, add it below, making sure to copy the style I have begun on row 1. Also, be careful not to add duplicates* [https://www.npmjs.com/browse/star most starred packages on npmjs]* [https://www.npmjs.com/browse/depended most depended-upon packages on npmjs]* [https://www.google.ca/search?hl=en&as_q=&as_epq=inurl%3Apackage+json&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=github.com&as_occt=any&safe=images&as_filetype=pdf&as_rights=#hl=en&as_qdr=all&q=%22inurl:package.json%22+site:github.com+filetype:json Google query of package.json files on github.com] To get you started, I've already found and fixed one, and also listed a couple of others I noticed in 5 minutes of searching on npmjs and Github.
{| class="wikitable"
! Assigned Student
! Pull Request URL
! Blog Post URL
|-
| 1
| [https://github.com/humphd humphd]
| https://github.com/request/request/pull/2514
|
|-
| 2
|
|
|
|-
| 3
| [https://www.npmjs.com/package/dat-next dat-next]
|
|
|
|-
|
|
|
|-
| 5
|
|
|
|-
| 6
|
|
|
|
|-
| 7
|
|
|
|
| 8
|
|
|
|
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
| 24
|
|
|
|
|-
| 25
|
|
|
|-
| 26
|
|
|
| 27
|
|
|
|
| 28
|
|
|
|
| 29
|
|
|
|
| 30
|
|
|
|
| 31
|
|
|
|
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|-
| 36
|
|
|
|
| 37
|
|
|
|
| 38
|
|
|
|
| 39
|
|
|
|
|}
[https://www.google.ca/search?hl=en&as_q=&as_epq=inurl%3Apackage+json&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=github.com&as_occt=any&safe=images&as_filetype=pdf&as_rights=#hl=en&as_qdr=all&q=%22inurl:package.json%22+site:github.com+filetype:json list of package.json files on github.com]