Permalink
Browse files

Use pkginfo to expose module version.

  • Loading branch information...
1 parent 70d1e5e commit 23dfad940fc71bc08c11bcc7d7299cdfc2ed4988 @jaredhanson committed Jan 11, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 lib/passport/index.js
  2. +1 −0 package.json
View
@@ -270,7 +270,7 @@ exports = module.exports = new Passport();
/**
* Framework version.
*/
-exports.version = '0.1.5';
+require('pkginfo')(module, 'version');
/**
* Expose constructors.
View
@@ -9,6 +9,7 @@
},
"main": "./lib/passport",
"dependencies": {
+ "pkginfo": "0.2.x"
},
"devDependencies": {
"vows": "0.6.x"

0 comments on commit 23dfad9

Please sign in to comment.