Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Usability fixes in readme and package.json #436

Merged
merged 1 commit into from

2 participants

@1602
  • shorter npm install for git
  • git url in package.json: it useful when user come from npmjs.org/packages/node-mysql. Currently it says "Repository (undefined)" but it should link to github.
@1602 1602 Usability of readme in package.json
- shorter npm install for git
- git url in package.json
28f08b5
@felixge felixge commented on the diff
Readme.md
@@ -15,7 +15,7 @@ Sometimes I may also ask you to install the latest version from Github to check
if a bugfix is working. In this case, please do:
```
-npm install git://github.com/felixge/node-mysql.git
+npm install felixge/node-mysql
@felixge Owner
felixge added a note

So npm assumes git/github for this? :sparkles: ...

@1602
1602 added a note

Yep, and it makes life a little bit easier :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@felixge felixge merged commit 0aac74a into from
@felixge
Owner

Thx for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 31, 2013
  1. @1602

    Usability of readme in package.json

    1602 authored
    - shorter npm install for git
    - git url in package.json
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +1 −1  Readme.md
  2. +2 −1  package.json
View
2  Readme.md
@@ -15,7 +15,7 @@ Sometimes I may also ask you to install the latest version from Github to check
if a bugfix is working. In this case, please do:
```
-npm install git://github.com/felixge/node-mysql.git
+npm install felixge/node-mysql
@felixge Owner
felixge added a note

So npm assumes git/github for this? :sparkles: ...

@1602
1602 added a note

Yep, and it makes life a little bit easier :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
```
[v0.9 branch]: https://github.com/felixge/node-mysql/tree/v0.9
View
3  package.json
@@ -4,7 +4,8 @@
"description": "A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.",
"version": "2.0.0-alpha7",
"repository": {
- "url": ""
+ "type": "git",
+ "url": "https://github.com/felixge/node-mysql"
},
"main": "./index",
"scripts": {
Something went wrong with that request. Please try again.