question-store
Advanced tools
Comparing version 0.9.2 to 0.10.0
10
index.js
'use strict'; | ||
var os = require('os'); | ||
var util = require('util'); | ||
@@ -55,7 +56,6 @@ var path = require('path'); | ||
debug('creating globals store'); | ||
if (typeof globals === 'undefined') { | ||
debug('created globals store'); | ||
globals = options.globals || new utils.Store('globals', { | ||
cwd: utils.home() | ||
globals = options.globals || new utils.Store(path.join('question-store', 'globals'), { | ||
cwd: os.homedir() | ||
}); | ||
@@ -69,5 +69,4 @@ } | ||
debug('creating project store'); | ||
if (typeof store === 'undefined') { | ||
store = options.store || new utils.Store(app.project); | ||
store = options.store || new utils.Store(path.join('question-store', app.project || '')); | ||
debug('created project store'); | ||
@@ -81,3 +80,2 @@ } | ||
debug('creating hints store'); | ||
if (typeof hints === 'undefined') { | ||
@@ -84,0 +82,0 @@ var name = path.basename(app.options.cwd || process.cwd()); |
@@ -12,3 +12,2 @@ 'use strict'; | ||
require('data-store', 'Store'); | ||
require('os-homedir', 'home'); | ||
require('is-answer'); | ||
@@ -15,0 +14,0 @@ require('project-name', 'project'); |
{ | ||
"name": "question-store", | ||
"description": "Ask questions, persist the answers. Basic support for i18n and storing answers based on current working directory.", | ||
"version": "0.9.2", | ||
"version": "0.10.0", | ||
"homepage": "https://github.com/jonschlinkert/question-store", | ||
@@ -14,3 +14,5 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"index.js", | ||
"lib" | ||
"lib", | ||
"LICENSE", | ||
"README.md" | ||
], | ||
@@ -25,19 +27,18 @@ "main": "index.js", | ||
"dependencies": { | ||
"data-store": "^0.15.5", | ||
"data-store": "^0.16.1", | ||
"debug": "^2.2.0", | ||
"is-answer": "^0.1.0", | ||
"lazy-cache": "^1.0.3", | ||
"os-homedir": "^1.0.1", | ||
"project-name": "^0.2.4", | ||
"question-cache": "^0.4.0" | ||
"lazy-cache": "^2.0.1", | ||
"project-name": "^0.2.5", | ||
"question-cache": "^0.5.0" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"gulp-eslint": "^2.0.0", | ||
"gulp-format-md": "^0.1.7", | ||
"gulp-istanbul": "^0.10.3", | ||
"gulp-eslint": "^3.0.1", | ||
"gulp-format-md": "^0.1.9", | ||
"gulp-istanbul": "^1.0.0", | ||
"gulp-mocha": "^2.2.0", | ||
"gulp-unused": "^0.1.2", | ||
"minimist": "^1.2.0", | ||
"mocha": "^2.4.5", | ||
"mocha": "^2.5.3", | ||
"question-force": "^0.1.0", | ||
@@ -93,3 +94,4 @@ "question-match": "^0.1.2" | ||
"question-cache", | ||
"verb" | ||
"verb", | ||
"verb-generate-readme" | ||
], | ||
@@ -100,2 +102,2 @@ "lint": { | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
7001
4
1
0
+ Addedasync-each-series@1.1.0(transitive)
+ Addeddata-store@0.16.1(transitive)
+ Addedquestion-cache@0.5.1(transitive)
+ Addeduse@2.0.2(transitive)
- Removedos-homedir@^1.0.1
- Removedasync@1.5.2(transitive)
- Removeddata-store@0.15.5(transitive)
- Removedis-date-object@1.0.5(transitive)
- Removedomit-empty@0.3.6(transitive)
- Removedquestion-cache@0.4.0(transitive)
- Removeduse@1.1.2(transitive)
Updateddata-store@^0.16.1
Updatedlazy-cache@^2.0.1
Updatedproject-name@^0.2.5
Updatedquestion-cache@^0.5.0