update to latest standards
This commit is contained in:
@@ -4,10 +4,28 @@ import * as plugins from './npmextra.plugins'
|
||||
export let cwd = process.cwd()
|
||||
export let packageDir = plugins.path.join(__dirname,'../')
|
||||
|
||||
// ----------------------
|
||||
// keyValueStore specific
|
||||
// ----------------------
|
||||
|
||||
/**
|
||||
* keyValue base path
|
||||
*/
|
||||
export let kvBase = '~/.npmextra/kv'
|
||||
export let kvCusomDir = plugins.path.join(kvBase, 'custom')
|
||||
|
||||
/**
|
||||
* the base directory for custom string based key value store
|
||||
*/
|
||||
export let kvCustomDir = plugins.path.join(kvBase, 'custom')
|
||||
|
||||
/**
|
||||
* the subdir for git based keyValue
|
||||
*/
|
||||
export let kvGitDir = plugins.path.join(kvBase, 'git')
|
||||
|
||||
/**
|
||||
* keyValue for path based Key
|
||||
*/
|
||||
export let kvPathDir = plugins.path.join(kvBase, 'path')
|
||||
|
||||
// files
|
||||
|
Reference in New Issue
Block a user