Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
95de67fe17 | |||
2ec33a118a | |||
bb1293c764 | |||
344f144c2c | |||
07cdcb074d | |||
09d9fd45cf | |||
9883067d8b | |||
854dac5732 | |||
73c37d8bf8 | |||
f0664d4c7d | |||
3dff5dbbc6 | |||
15e3497c55 | |||
4184e8f20f | |||
5ebee20a7a |
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ node_modules/
|
|||||||
coverage/
|
coverage/
|
||||||
pages/
|
pages/
|
||||||
public/
|
public/
|
||||||
|
kvstore/
|
||||||
|
24
README.md
24
README.md
@ -21,30 +21,6 @@ do more with npm
|
|||||||
## Usage
|
## Usage
|
||||||
Use TypeScript for best in class instellisense.
|
Use TypeScript for best in class instellisense.
|
||||||
|
|
||||||
The main purpose of npmextra is to configure different tools using one npmextra.json. This way complex setups avoid additional complexity caused by too many configuration files.
|
|
||||||
|
|
||||||
npmextra.json
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"sometool": {
|
|
||||||
"defaultKey1": "awesomeValueFromConfig"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
import { Npmextra } from 'npmextra'
|
|
||||||
|
|
||||||
let myNpmExtra = new Npmextra('my/path/to/cwd') // cwd argument is optional
|
|
||||||
mergedData = myNpmExtra.dataFor(
|
|
||||||
'sometool',
|
|
||||||
{ // gets merged with whatever is in the configfile
|
|
||||||
defaultKey1: 'defaultValue1', // so this will get overwritten with "awesomeValueFromConfig"
|
|
||||||
defaultKey2: 'defaultValue2' // this one will pass through unaltered
|
|
||||||
}
|
|
||||||
)
|
|
||||||
```
|
|
||||||
|
|
||||||
For further information read the linked docs at the top of this README.
|
For further information read the linked docs at the top of this README.
|
||||||
|
|
||||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||||
|
37
dist/npmextra.classes.keyvaluestore.d.ts
vendored
37
dist/npmextra.classes.keyvaluestore.d.ts
vendored
@ -1,31 +1,48 @@
|
|||||||
|
import { Task, TaskOnce } from 'taskbuffer';
|
||||||
export declare type TKeyValueStore = 'path' | 'gitProject' | 'custom';
|
export declare type TKeyValueStore = 'path' | 'gitProject' | 'custom';
|
||||||
|
/**
|
||||||
|
* kvStore is a simple key vlaue store to store data about projects between runs
|
||||||
|
*/
|
||||||
export declare class KeyValueStore {
|
export declare class KeyValueStore {
|
||||||
|
dataObject: any;
|
||||||
|
deletedObject: any;
|
||||||
|
initialReadTask: TaskOnce;
|
||||||
|
syncTask: Task;
|
||||||
type: TKeyValueStore;
|
type: TKeyValueStore;
|
||||||
identity: string;
|
identity: string;
|
||||||
filePath: string;
|
filePath: string;
|
||||||
constructor(typeArg: TKeyValueStore, customStringArg?: string);
|
/**
|
||||||
|
* the constructor of keyvalue store
|
||||||
|
* @param typeArg
|
||||||
|
* @param customStringArg
|
||||||
|
*/
|
||||||
|
constructor(typeArg: TKeyValueStore, customStringArg: string);
|
||||||
|
/**
|
||||||
|
* reads all keyValue pairs at once and returns them
|
||||||
|
*/
|
||||||
|
readAll(): Promise<any>;
|
||||||
/**
|
/**
|
||||||
* reads a keyValueFile from disk
|
* reads a keyValueFile from disk
|
||||||
*/
|
*/
|
||||||
read(): void;
|
readKey(keyArg: string): Promise<any>;
|
||||||
/**
|
/**
|
||||||
* writes a key value file to disk
|
* writes a specific key to the keyValueStore
|
||||||
*/
|
*/
|
||||||
write(): void;
|
writeKey(keyArg: string, valueArg: any): Promise<void>;
|
||||||
|
/**
|
||||||
|
* writes all keyValue pairs in the object argument
|
||||||
|
*/
|
||||||
|
writeAll(keyValueObject: any): Promise<void>;
|
||||||
/**
|
/**
|
||||||
* wipes a key value store from disk
|
* wipes a key value store from disk
|
||||||
*/
|
*/
|
||||||
wipe(): void;
|
wipe(): Promise<void>;
|
||||||
/**
|
/**
|
||||||
* updates a value
|
* updates a value
|
||||||
*/
|
*/
|
||||||
update(): void;
|
update(keyObject: any): Promise<void>;
|
||||||
/**
|
/**
|
||||||
* computes the identity
|
* computes the identity
|
||||||
*/
|
*/
|
||||||
private initIdentity(customStringArg);
|
|
||||||
/**
|
|
||||||
* computes the filePath
|
|
||||||
*/
|
|
||||||
private initFilePath();
|
private initFilePath();
|
||||||
}
|
}
|
||||||
|
96
dist/npmextra.classes.keyvaluestore.js
vendored
96
dist/npmextra.classes.keyvaluestore.js
vendored
@ -1,41 +1,113 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||||
|
return new (P || (P = Promise))(function (resolve, reject) {
|
||||||
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||||
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||||
|
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
||||||
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||||
|
});
|
||||||
|
};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const plugins = require("./npmextra.plugins");
|
const plugins = require("./npmextra.plugins");
|
||||||
const paths = require("./npmextra.paths");
|
const paths = require("./npmextra.paths");
|
||||||
|
const taskbuffer_1 = require("taskbuffer");
|
||||||
|
/**
|
||||||
|
* kvStore is a simple key vlaue store to store data about projects between runs
|
||||||
|
*/
|
||||||
class KeyValueStore {
|
class KeyValueStore {
|
||||||
|
/**
|
||||||
|
* the constructor of keyvalue store
|
||||||
|
* @param typeArg
|
||||||
|
* @param customStringArg
|
||||||
|
*/
|
||||||
constructor(typeArg, customStringArg) {
|
constructor(typeArg, customStringArg) {
|
||||||
|
this.deletedObject = {};
|
||||||
|
this.initialReadTask = new taskbuffer_1.TaskOnce({
|
||||||
|
taskFunction: () => __awaiter(this, void 0, void 0, function* () {
|
||||||
|
this.dataObject = plugins.smartfile.fs.toObjectSync(this.filePath);
|
||||||
|
})
|
||||||
|
});
|
||||||
|
this.syncTask = new taskbuffer_1.Task({
|
||||||
|
buffered: true,
|
||||||
|
bufferMax: 2,
|
||||||
|
execDelay: 500,
|
||||||
|
taskFunction: () => __awaiter(this, void 0, void 0, function* () {
|
||||||
|
this.dataObject = plugins.smartlodash.merge({}, plugins.smartfile.fs.toObjectSync(this.filePath), this.dataObject);
|
||||||
|
for (let key in this.deletedObject) {
|
||||||
|
delete this.dataObject[key];
|
||||||
|
}
|
||||||
|
this.deletedObject = {};
|
||||||
|
yield plugins.smartfile.memory.toFs(JSON.stringify(this.dataObject), this.filePath);
|
||||||
|
}),
|
||||||
|
name: 'syncTask'
|
||||||
|
});
|
||||||
// set kvStoreType
|
// set kvStoreType
|
||||||
this.type = typeArg;
|
this.type = typeArg;
|
||||||
this.identity = customStringArg;
|
this.identity = customStringArg;
|
||||||
this.initIdentity(customStringArg);
|
this.initFilePath();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* reads all keyValue pairs at once and returns them
|
||||||
|
*/
|
||||||
|
readAll() {
|
||||||
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
yield this.initialReadTask.trigger();
|
||||||
|
this.syncTask.trigger();
|
||||||
|
return this.dataObject;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* reads a keyValueFile from disk
|
* reads a keyValueFile from disk
|
||||||
*/
|
*/
|
||||||
read() {
|
readKey(keyArg) {
|
||||||
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
let data = yield this.readAll();
|
||||||
|
return data[keyArg];
|
||||||
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* writes a key value file to disk
|
* writes a specific key to the keyValueStore
|
||||||
*/
|
*/
|
||||||
write() {
|
writeKey(keyArg, valueArg) {
|
||||||
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
let writeObject = {};
|
||||||
|
writeObject[keyArg] = valueArg;
|
||||||
|
this.writeAll(writeObject);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* writes all keyValue pairs in the object argument
|
||||||
|
*/
|
||||||
|
writeAll(keyValueObject) {
|
||||||
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
plugins.smartlodash.merge(this.dataObject, keyValueObject);
|
||||||
|
this.syncTask.trigger();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* wipes a key value store from disk
|
* wipes a key value store from disk
|
||||||
*/
|
*/
|
||||||
wipe() {
|
wipe() {
|
||||||
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
for (let key in this.dataObject) {
|
||||||
|
this.deletedObject[key] = this.dataObject[key];
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* updates a value
|
* updates a value
|
||||||
*/
|
*/
|
||||||
update() {
|
update(keyObject) {
|
||||||
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* computes the identity
|
* computes the identity
|
||||||
*/
|
*/
|
||||||
initIdentity(customStringArg) {
|
initFilePath() {
|
||||||
|
// determine the right base directory
|
||||||
let baseDir;
|
let baseDir;
|
||||||
if (this.type === 'custom') {
|
if (this.type === 'custom') {
|
||||||
this.identity = customStringArg;
|
|
||||||
baseDir = paths.kvCustomDir;
|
baseDir = paths.kvCustomDir;
|
||||||
}
|
}
|
||||||
else if (this.type === 'gitProject') {
|
else if (this.type === 'gitProject') {
|
||||||
@ -45,13 +117,11 @@ class KeyValueStore {
|
|||||||
baseDir = paths.kvPathDir;
|
baseDir = paths.kvPathDir;
|
||||||
}
|
}
|
||||||
this.filePath = plugins.path.join(baseDir, this.identity + '.json');
|
this.filePath = plugins.path.join(baseDir, this.identity + '.json');
|
||||||
|
plugins.smartfile.fs.ensureDirSync(paths.kvCustomDir);
|
||||||
|
plugins.smartfile.fs.ensureDirSync(paths.kvGitDir);
|
||||||
|
plugins.smartfile.fs.ensureDirSync(paths.kvPathDir);
|
||||||
plugins.smartfile.fs.ensureFileSync(this.filePath, '{}');
|
plugins.smartfile.fs.ensureFileSync(this.filePath, '{}');
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* computes the filePath
|
|
||||||
*/
|
|
||||||
initFilePath() {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
exports.KeyValueStore = KeyValueStore;
|
exports.KeyValueStore = KeyValueStore;
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtZXh0cmEuY2xhc3Nlcy5rZXl2YWx1ZXN0b3JlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtZXh0cmEuY2xhc3Nlcy5rZXl2YWx1ZXN0b3JlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsOENBQTZDO0FBQzdDLDBDQUF5QztBQUl6QztJQUlFLFlBQVksT0FBdUIsRUFBRSxlQUF3QjtRQUMzRCxrQkFBa0I7UUFDbEIsSUFBSSxDQUFDLElBQUksR0FBRyxPQUFPLENBQUE7UUFDbkIsSUFBSSxDQUFDLFFBQVEsR0FBRyxlQUFlLENBQUE7UUFDL0IsSUFBSSxDQUFDLFlBQVksQ0FBQyxlQUFlLENBQUMsQ0FBQTtJQUNwQyxDQUFDO0lBRUQ7O09BRUc7SUFDSCxJQUFJO0lBRUosQ0FBQztJQUVEOztPQUVHO0lBQ0gsS0FBSztJQUVMLENBQUM7SUFFRDs7T0FFRztJQUNILElBQUk7SUFFSixDQUFDO0lBRUQ7O09BRUc7SUFDSCxNQUFNO0lBRU4sQ0FBQztJQUVEOztPQUVHO0lBQ0ssWUFBWSxDQUFDLGVBQXVCO1FBQzFDLElBQUksT0FBZSxDQUFBO1FBQ25CLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLEtBQUssUUFB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U8sQ0FBQyxDQUFBO1FBQ25FLE9BQU8sQ0FBQyxTQUFTLENBQUMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsV0FBVyxDQUFDLENBQUE7UUFDckQsT0FBTyxDQUFDLFNBQVMsQ0FBQyxFQUFFLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxRQUFRLENBQUMsQ0FBQTtRQUNsRCxPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLFNBQVMsQ0FBQyxDQUFBO1FBQ25ELE9BQU8sQ0FBQyxTQUFTLENBQUMsRUFBRSxDQUFDLGNBQWMsQ0FBQyxJQUFJLENBQUMsUUFBUSxFQUFFLElBQUksQ0FBQyxDQUFBO0lBQzFELENBQUM7Q0FDRjtBQW5IRCxzQ0FtSEMifQ==
|
4
dist/npmextra.classes.npmextra.js
vendored
4
dist/npmextra.classes.npmextra.js
vendored
@ -31,7 +31,7 @@ class Npmextra {
|
|||||||
else {
|
else {
|
||||||
npmextraToolOptions = {};
|
npmextraToolOptions = {};
|
||||||
}
|
}
|
||||||
let mergedOptions = plugins.lodash.merge({}, defaultOptionsArg, npmextraToolOptions);
|
let mergedOptions = plugins.smartlodash.merge({}, defaultOptionsArg, npmextraToolOptions);
|
||||||
return mergedOptions;
|
return mergedOptions;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -65,4 +65,4 @@ class Npmextra {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.Npmextra = Npmextra;
|
exports.Npmextra = Npmextra;
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtZXh0cmEuY2xhc3Nlcy5ucG1leHRyYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWV4dHJhLmNsYXNzZXMubnBtZXh0cmEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5nc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FFLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsQ0FBQTtJQUNoRixDQUFDO0lBRUQ7O09BRUc7SUFDSyxlQUFlO1FBQ3JCLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDO1lBQ2IsSUFBSSxDQUFDLFVBQVUsR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxFQUFFLGVBQWUsQ0FBQyxDQUFBO1FBQ2hFLENBQUM7UUFBQyxJQUFJLENBQUMsQ0FBQztZQUNOLElBQUksQ0FBQyxVQUFVLEdBQUcsS0FBSyxDQUFDLFVBQVUsQ0FBQTtRQUNwQyxDQUFDO1FBQUEsQ0FBQztJQUNKLENBQUM7SUFFRDs7T0FFRztJQUNLLHFCQUFxQjtRQUMzQixFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsa0JBQWtCLENBQUMsQ0FBQyxDQUFDO1lBQzVCLElBQUksQ0FBQyxnQkFBZ0IsR0FBRyxPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxZQUFZLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFBO1FBQzVFLENBQUM7UUFBQyxJQUFJLENBQUMsQ0FBQztZQUNOLElBQUksQ0FBQyxnQkFBZ0IsR0FBRyxFQUFFLENBQUE7UUFDNUIsQ0FBQztJQUNILENBQUM7Q0FFRjtBQS9ERCw0QkErREMifQ==
|
3
dist/npmextra.paths.d.ts
vendored
3
dist/npmextra.paths.d.ts
vendored
@ -1,5 +1,6 @@
|
|||||||
export declare let cwd: string;
|
export declare let cwd: string;
|
||||||
export declare let packageDir: string;
|
export declare let packageDir: string;
|
||||||
|
export declare let home: any;
|
||||||
/**
|
/**
|
||||||
* keyValue base path
|
* keyValue base path
|
||||||
*/
|
*/
|
||||||
@ -13,7 +14,7 @@ export declare let kvCustomDir: string;
|
|||||||
*/
|
*/
|
||||||
export declare let kvGitDir: string;
|
export declare let kvGitDir: string;
|
||||||
/**
|
/**
|
||||||
* keyValue for path based Key
|
* keyValue for path based keyValue store
|
||||||
*/
|
*/
|
||||||
export declare let kvPathDir: string;
|
export declare let kvPathDir: string;
|
||||||
export declare let configFile: string;
|
export declare let configFile: string;
|
||||||
|
7
dist/npmextra.paths.js
vendored
7
dist/npmextra.paths.js
vendored
@ -7,10 +7,11 @@ exports.packageDir = plugins.path.join(__dirname, '../');
|
|||||||
// ----------------------
|
// ----------------------
|
||||||
// keyValueStore specific
|
// keyValueStore specific
|
||||||
// ----------------------
|
// ----------------------
|
||||||
|
exports.home = plugins.smartpath.get.home();
|
||||||
/**
|
/**
|
||||||
* keyValue base path
|
* keyValue base path
|
||||||
*/
|
*/
|
||||||
exports.kvBase = '~/.npmextra/kv';
|
exports.kvBase = plugins.path.join(exports.home, '.npmextra/kv');
|
||||||
/**
|
/**
|
||||||
* the base directory for custom string based key value store
|
* the base directory for custom string based key value store
|
||||||
*/
|
*/
|
||||||
@ -20,9 +21,9 @@ exports.kvCustomDir = plugins.path.join(exports.kvBase, 'custom');
|
|||||||
*/
|
*/
|
||||||
exports.kvGitDir = plugins.path.join(exports.kvBase, 'git');
|
exports.kvGitDir = plugins.path.join(exports.kvBase, 'git');
|
||||||
/**
|
/**
|
||||||
* keyValue for path based Key
|
* keyValue for path based keyValue store
|
||||||
*/
|
*/
|
||||||
exports.kvPathDir = plugins.path.join(exports.kvBase, 'path');
|
exports.kvPathDir = plugins.path.join(exports.kvBase, 'path');
|
||||||
// files
|
// files
|
||||||
exports.configFile = plugins.path.join(exports.cwd, 'npmextra.json');
|
exports.configFile = plugins.path.join(exports.cwd, 'npmextra.json');
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtZXh0cmEucGF0aHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1leHRyYS5wYXRocy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BTyxDQUFDLEdBQUcsRUFBRSxDQUFBO0FBQ25CLFFBQUEsVUFBVSxHQUFHLE9BQU8sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVMsRUFBQyxLQUFLLENBQUMsQ0FBQTtBQUUxRCx5QkFBeUI7QUFDekIseUJBQXlCO0FBQ3pCLHlCQUF5QjtBQUVkLFFBQUEsSUFBSSxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLElBQUksRUFBRSxDQUFBO0FBRTlDOztHQUVHO0FBQ1EsUUFBQSxNQUFNLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsWUFBSSxFQUFDLGNBQWMsQ0FBQyxDQUFBO0FBRzFEOztHQUVHO0FBQ1EsUUFBQSxXQUFXLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsY0FBTSxFQUFFLFFBQVEsQ0FBQyxDQUFBO0FBRTVEOztHQUVHO0FBQ1EsUUFBQSxRQUFRLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsY0FBTSxFQUFFLEtBQUssQ0FBQyxDQUFBO0FBRXREOztHQUVHO0FBQ1EsUUFBQSxTQUFTLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsY0FBTSxFQUFFLE1BQU0sQ0FBQyxDQUFBO0FBRXhELFFBQVE7QUFDRyxRQUFBLFVBQVUsR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFHLEVBQUMsZUFBZSxDQUFDLENBQUEifQ==
|
13
dist/npmextra.plugins.d.ts
vendored
13
dist/npmextra.plugins.d.ts
vendored
@ -1,6 +1,9 @@
|
|||||||
import 'typings-global';
|
import 'typings-global';
|
||||||
export import beautylog = require('beautylog');
|
import * as beautylog from 'beautylog';
|
||||||
export import lodash = require('lodash');
|
import * as path from 'path';
|
||||||
export import path = require('path');
|
import * as smartfile from 'smartfile';
|
||||||
export import smartfile = require('smartfile');
|
import smartlodash from 'smartlodash';
|
||||||
export import q = require('smartq');
|
import * as smartpath from 'smartpath';
|
||||||
|
import * as smartq from 'smartq';
|
||||||
|
import * as taskbuffer from 'taskbuffer';
|
||||||
|
export { beautylog, path, smartfile, smartpath, smartq, smartlodash, taskbuffer };
|
||||||
|
21
dist/npmextra.plugins.js
vendored
21
dist/npmextra.plugins.js
vendored
@ -1,9 +1,18 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
require("typings-global");
|
require("typings-global");
|
||||||
exports.beautylog = require("beautylog");
|
const beautylog = require("beautylog");
|
||||||
exports.lodash = require("lodash");
|
exports.beautylog = beautylog;
|
||||||
exports.path = require("path");
|
const path = require("path");
|
||||||
exports.smartfile = require("smartfile");
|
exports.path = path;
|
||||||
exports.q = require("smartq");
|
const smartfile = require("smartfile");
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtZXh0cmEucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWV4dHJhLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwQkFBdUI7QUFDdkIseUNBQThDO0FBQzlDLG1DQUF3QztBQUN4QywrQkFBb0M7QUFDcEMseUNBQThDO0FBQzlDLDhCQUFtQyJ9
|
exports.smartfile = smartfile;
|
||||||
|
const smartlodash_1 = require("smartlodash");
|
||||||
|
exports.smartlodash = smartlodash_1.default;
|
||||||
|
const smartpath = require("smartpath");
|
||||||
|
exports.smartpath = smartpath;
|
||||||
|
const smartq = require("smartq");
|
||||||
|
exports.smartq = smartq;
|
||||||
|
const taskbuffer = require("taskbuffer");
|
||||||
|
exports.taskbuffer = taskbuffer;
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtZXh0cmEucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWV4dHJhLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwQkFBdUI7QUFDdkIsdUNBQXNDO0FBU3BDLDhCQUFTO0FBUlgsNkJBQTRCO0FBUzFCLG9CQUFJO0FBUk4sdUNBQXNDO0FBU3BDLDhCQUFTO0FBUlgsNkNBQXFDO0FBV25DLHNCQVhLLHFCQUFXLENBV0w7QUFWYix1Q0FBc0M7QUFRcEMsOEJBQVM7QUFQWCxpQ0FBZ0M7QUFROUIsd0JBQU07QUFQUix5Q0FBd0M7QUFTdEMsZ0NBQVUifQ==
|
63
docs/index.md
Normal file
63
docs/index.md
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
# npmextra
|
||||||
|
do more with npm
|
||||||
|
|
||||||
|
## Availabililty
|
||||||
|
[](https://www.npmjs.com/package/npmextra)
|
||||||
|
[](https://GitLab.com/pushrocks/npmextra)
|
||||||
|
[](https://github.com/pushrocks/npmextra)
|
||||||
|
[](https://pushrocks.gitlab.io/npmextra/)
|
||||||
|
|
||||||
|
## Status for master
|
||||||
|
[](https://GitLab.com/pushrocks/npmextra/commits/master)
|
||||||
|
[](https://GitLab.com/pushrocks/npmextra/commits/master)
|
||||||
|
[](https://www.npmjs.com/package/npmextra)
|
||||||
|
[](https://david-dm.org/pushrocks/npmextra)
|
||||||
|
[](https://www.bithound.io/github/pushrocks/npmextra/master/dependencies/npm)
|
||||||
|
[](https://www.bithound.io/github/pushrocks/npmextra)
|
||||||
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||||
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||||
|
[](http://standardjs.com/)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
Use TypeScript for best in class instellisense.
|
||||||
|
|
||||||
|
## Using npmextra for managing toolconfigs
|
||||||
|
The main purpose of npmextra is to configure different tools using one npmextra.json. This way complex setups avoid additional complexity caused by too many configuration files.
|
||||||
|
|
||||||
|
npmextra.json
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"sometool": {
|
||||||
|
"defaultKey1": "awesomeValueFromConfig"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
import { Npmextra } from 'npmextra'
|
||||||
|
|
||||||
|
let myNpmExtra = new Npmextra('my/path/to/cwd') // cwd argument is optional
|
||||||
|
mergedData = myNpmExtra.dataFor(
|
||||||
|
'sometool',
|
||||||
|
{ // gets merged with whatever is in the configfile
|
||||||
|
defaultKey1: 'defaultValue1', // so this will get overwritten with "awesomeValueFromConfig"
|
||||||
|
defaultKey2: 'defaultValue2' // this one will pass through unaltered
|
||||||
|
}
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Tools that already use the config feature of npmextra
|
||||||
|
|
||||||
|
* [npmts](https://www.npmjs.com/package/npmts)
|
||||||
|
* [npmci](https://www.npmjs.com/package/npmci)
|
||||||
|
* [npmdocker](https://www.npmjs.com/package/npmdocker)
|
||||||
|
|
||||||
|
## Using the KeyValueStore
|
||||||
|
|
||||||
|
|
||||||
|
For further information read the linked docs at the top of this README.
|
||||||
|
|
||||||
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||||
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
||||||
|
|
||||||
|
[](https://push.rocks)
|
@ -1 +1,12 @@
|
|||||||
{}
|
{
|
||||||
|
"npmci": {
|
||||||
|
"globalNpmTools": [
|
||||||
|
"npmts"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"npmts": {
|
||||||
|
"testConfig": {
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
20
package.json
20
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmextra",
|
"name": "npmextra",
|
||||||
"version": "2.0.4",
|
"version": "2.0.9",
|
||||||
"description": "do more with npm",
|
"description": "do more with npm",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
@ -18,17 +18,15 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/pushrocks/npmextra#README",
|
"homepage": "https://gitlab.com/pushrocks/npmextra#README",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/q": "^1.x.x",
|
"beautylog": "^6.1.10",
|
||||||
"beautylog": "^6.1.5",
|
"smartfile": "^4.2.20",
|
||||||
"lodash": "^4.17.4",
|
"smartlodash": "^1.0.1",
|
||||||
"q": "^1.4.1",
|
"smartpath": "^3.2.8",
|
||||||
"smartfile": "^4.1.9",
|
"smartq": "^1.1.6",
|
||||||
"smartq": "^1.1.1",
|
"taskbuffer": "^1.0.22",
|
||||||
"typings-global": "^1.0.14"
|
"typings-global": "^1.0.20"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/should": "^8.1.30",
|
"tapbundle": "^1.1.1"
|
||||||
"should": "^11.2.1",
|
|
||||||
"typings-test": "^1.0.3"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
test/test.d.ts
vendored
1
test/test.d.ts
vendored
@ -1 +0,0 @@
|
|||||||
import 'typings-test';
|
|
28
test/test.js
28
test/test.js
@ -1,28 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
require("typings-test");
|
|
||||||
const should = require("should");
|
|
||||||
const npmExtra = require("../dist/index");
|
|
||||||
let testNpmextra;
|
|
||||||
describe('npmextra', function () {
|
|
||||||
it('should create a new Npmtextra instance', function () {
|
|
||||||
testNpmextra = new npmExtra.Npmextra('./test/');
|
|
||||||
should(testNpmextra).be.instanceof(npmExtra.Npmextra);
|
|
||||||
});
|
|
||||||
it('should state wether a npmextra.json exists', function () {
|
|
||||||
should(testNpmextra.npmextraJsonExists).be.true();
|
|
||||||
});
|
|
||||||
it('should pass through default value, if not overriden by config from file', function () {
|
|
||||||
let testData = testNpmextra.dataFor('testTool', { someKey2: 'someValue2' });
|
|
||||||
console.log(testData);
|
|
||||||
should(testData).have.ownProperty('someKey2');
|
|
||||||
});
|
|
||||||
it('should read a config file', function () {
|
|
||||||
let testData = testNpmextra.dataFor('testTool', {
|
|
||||||
someKey2: 'someValue2'
|
|
||||||
});
|
|
||||||
should(testData).have.ownProperty('someKey2');
|
|
||||||
should(testData.testValue).equal(2);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3QkFBcUI7QUFFckIsaUNBQWdDO0FBRWhDLDBDQUEwQztBQUUxQyxJQUFJLFlBQStCLENBQUE7QUFFbkMsUUFBUSxDQUFDLFVBQVUsRUFBRTtJQUNuQixFQUFFLENBQUMsd0NBQXdDLEVBQUU7UUFDM0MsWUFBWSxHQUFHLElBQUksUUFBUSxDQUFDLFFBQVEsQ0FBQyxTQUFTLENBQUMsQ0FBQTtRQUMvQyxNQUFNLENBQUMsWUFBWSxDQUFDLENBQUMsRUFBRSxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQUMsUUFBUSxDQUFDLENBQUE7SUFDdkQsQ0FBQyxDQUFDLENBQUE7SUFDRixFQUFFLENBQUMsNENBQTRDLEVBQUU7UUFDL0MsTUFBTSxDQUFDLFlBQVksQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxJQUFJLEVBQUUsQ0FBQTtJQUNuRCxDQUFDLENBQUMsQ0FBQTtJQUNGLEVBQUUsQ0FBQyx5RUFBeUUsRUFBRTtRQUM1RSxJQUFJLFFBQVEsR0FBRyxZQUFZLENBQUMsT0FBTyxDQUFDLFVBQVUsRUFBRSxFQUFFLFFBQVEsRUFBRSxZQUFZLEVBQUUsQ0FBQyxDQUFBO1FBQzNFLE9BQU8sQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLENBQUE7UUFDckIsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsVUFBVSxDQUFDLENBQUE7SUFDL0MsQ0FBQyxDQUFDLENBQUE7SUFDRixFQUFFLENBQUMsMkJBQTJCLEVBQUU7UUFDOUIsSUFBSSxRQUFRLEdBQUcsWUFBWSxDQUFDLE9BQU8sQ0FDakMsVUFBVSxFQUNWO1lBQ0UsUUFBUSxFQUFFLFlBQVk7U0FDdkIsQ0FDRixDQUFBO1FBQ0QsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsVUFBVSxDQUFDLENBQUE7UUFDN0MsTUFBTSxDQUFDLFFBQVEsQ0FBQyxTQUFTLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFDckMsQ0FBQyxDQUFDLENBQUE7QUFDSixDQUFDLENBQUMsQ0FBQSJ9
|
|
25
test/test.kvstore.ts
Normal file
25
test/test.kvstore.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import { expect, tap } from 'tapbundle'
|
||||||
|
|
||||||
|
import * as npmextra from '../ts/index'
|
||||||
|
|
||||||
|
let myKeyValueStore: npmextra.KeyValueStore
|
||||||
|
|
||||||
|
tap.test('should create a keyValueStore', async () => {
|
||||||
|
myKeyValueStore = new npmextra.KeyValueStore('custom','test')
|
||||||
|
expect(myKeyValueStore).to.be.instanceof(npmextra.KeyValueStore)
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('expect result to be empty', async () => {
|
||||||
|
let result = myKeyValueStore.readAll()
|
||||||
|
// tslint:disable-next-line:no-unused-expression
|
||||||
|
expect(result).to.be.empty
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('expect to add an object to the kv Store', async () => {
|
||||||
|
await myKeyValueStore.writeAll({
|
||||||
|
myKey: 'myValue'
|
||||||
|
})
|
||||||
|
await expect(myKeyValueStore.readKey('myKey')).to.eventually.equal('myValue')
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.start()
|
56
test/test.ts
56
test/test.ts
@ -1,32 +1,36 @@
|
|||||||
import 'typings-test'
|
import { expect, tap } from 'tapbundle'
|
||||||
import path = require('path')
|
import path = require('path')
|
||||||
import * as should from 'should'
|
|
||||||
|
|
||||||
import npmExtra = require('../dist/index')
|
// module to test
|
||||||
|
import npmExtra = require('../ts/index')
|
||||||
|
|
||||||
let testNpmextra: npmExtra.Npmextra
|
let testNpmextra: npmExtra.Npmextra
|
||||||
|
|
||||||
describe('npmextra', function () {
|
tap.test('should create a new Npmtextra instance', async () => {
|
||||||
it('should create a new Npmtextra instance', function () {
|
testNpmextra = new npmExtra.Npmextra('./test/')
|
||||||
testNpmextra = new npmExtra.Npmextra('./test/')
|
expect(testNpmextra).be.instanceof(npmExtra.Npmextra)
|
||||||
should(testNpmextra).be.instanceof(npmExtra.Npmextra)
|
|
||||||
})
|
|
||||||
it('should state wether a npmextra.json exists', function () {
|
|
||||||
should(testNpmextra.npmextraJsonExists).be.true()
|
|
||||||
})
|
|
||||||
it('should pass through default value, if not overriden by config from file', function () {
|
|
||||||
let testData = testNpmextra.dataFor('testTool', { someKey2: 'someValue2' })
|
|
||||||
console.log(testData)
|
|
||||||
should(testData).have.ownProperty('someKey2')
|
|
||||||
})
|
|
||||||
it('should read a config file', function () {
|
|
||||||
let testData = testNpmextra.dataFor<any>(
|
|
||||||
'testTool',
|
|
||||||
{
|
|
||||||
someKey2: 'someValue2'
|
|
||||||
}
|
|
||||||
)
|
|
||||||
should(testData).have.ownProperty('someKey2')
|
|
||||||
should(testData.testValue).equal(2)
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
tap.test('should state wether a npmextra.json exists', async () => {
|
||||||
|
// tslint:disable-next-line:no-unused-expression
|
||||||
|
expect(testNpmextra.npmextraJsonExists).be.true
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('should pass through default value, if not overriden by config from file', async () => {
|
||||||
|
let testData = testNpmextra.dataFor('testTool', { someKey2: 'someValue2' })
|
||||||
|
console.log(testData)
|
||||||
|
expect(testData).have.ownProperty('someKey2')
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('should read a config file', async () => {
|
||||||
|
let testData = testNpmextra.dataFor<any>(
|
||||||
|
'testTool',
|
||||||
|
{
|
||||||
|
someKey2: 'someValue2'
|
||||||
|
}
|
||||||
|
)
|
||||||
|
expect(testData).have.ownProperty('someKey2')
|
||||||
|
expect(testData.testValue).equal(2)
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.start()
|
||||||
|
@ -1,54 +1,115 @@
|
|||||||
import * as plugins from './npmextra.plugins'
|
import * as plugins from './npmextra.plugins'
|
||||||
import * as paths from './npmextra.paths'
|
import * as paths from './npmextra.paths'
|
||||||
|
|
||||||
|
import { Task, TaskOnce } from 'taskbuffer'
|
||||||
|
|
||||||
export type TKeyValueStore = 'path' | 'gitProject' | 'custom'
|
export type TKeyValueStore = 'path' | 'gitProject' | 'custom'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* kvStore is a simple key vlaue store to store data about projects between runs
|
||||||
|
*/
|
||||||
export class KeyValueStore {
|
export class KeyValueStore {
|
||||||
|
dataObject: any
|
||||||
|
deletedObject: any = {}
|
||||||
|
initialReadTask = new TaskOnce({
|
||||||
|
taskFunction: async () => {
|
||||||
|
this.dataObject = plugins.smartfile.fs.toObjectSync(this.filePath)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
syncTask = new Task({
|
||||||
|
buffered: true,
|
||||||
|
bufferMax: 2,
|
||||||
|
execDelay: 500,
|
||||||
|
taskFunction: async () => {
|
||||||
|
this.dataObject = plugins.smartlodash.merge(
|
||||||
|
{},
|
||||||
|
plugins.smartfile.fs.toObjectSync(this.filePath),
|
||||||
|
this.dataObject
|
||||||
|
)
|
||||||
|
for (let key in this.deletedObject) {
|
||||||
|
delete this.dataObject[key]
|
||||||
|
}
|
||||||
|
this.deletedObject = {}
|
||||||
|
await plugins.smartfile.memory.toFs(
|
||||||
|
JSON.stringify(this.dataObject),
|
||||||
|
this.filePath
|
||||||
|
)
|
||||||
|
},
|
||||||
|
name: 'syncTask'
|
||||||
|
})
|
||||||
type: TKeyValueStore // the type of the kvStore
|
type: TKeyValueStore // the type of the kvStore
|
||||||
identity: string // the identity of the kvStore
|
identity: string // the identity of the kvStore
|
||||||
filePath: string // the filePath of the kvStore
|
filePath: string // the filePath of the kvStore
|
||||||
constructor(typeArg: TKeyValueStore, customStringArg?: string) {
|
|
||||||
|
/**
|
||||||
|
* the constructor of keyvalue store
|
||||||
|
* @param typeArg
|
||||||
|
* @param customStringArg
|
||||||
|
*/
|
||||||
|
constructor(typeArg: TKeyValueStore, customStringArg: string) {
|
||||||
// set kvStoreType
|
// set kvStoreType
|
||||||
this.type = typeArg
|
this.type = typeArg
|
||||||
this.identity = customStringArg
|
this.identity = customStringArg
|
||||||
this.initIdentity(customStringArg)
|
this.initFilePath()
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* reads all keyValue pairs at once and returns them
|
||||||
|
*/
|
||||||
|
async readAll () {
|
||||||
|
await this.initialReadTask.trigger()
|
||||||
|
this.syncTask.trigger()
|
||||||
|
return this.dataObject
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* reads a keyValueFile from disk
|
* reads a keyValueFile from disk
|
||||||
*/
|
*/
|
||||||
read() {
|
async readKey (keyArg: string) {
|
||||||
|
let data = await this.readAll()
|
||||||
|
return data[keyArg]
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* writes a key value file to disk
|
* writes a specific key to the keyValueStore
|
||||||
*/
|
*/
|
||||||
write() {
|
async writeKey (keyArg: string, valueArg: any) {
|
||||||
|
let writeObject: any = {}
|
||||||
|
writeObject[keyArg] = valueArg
|
||||||
|
this.writeAll(writeObject)
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* writes all keyValue pairs in the object argument
|
||||||
|
*/
|
||||||
|
async writeAll (keyValueObject) {
|
||||||
|
plugins.smartlodash.merge(this.dataObject, keyValueObject)
|
||||||
|
this.syncTask.trigger()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wipes a key value store from disk
|
* wipes a key value store from disk
|
||||||
*/
|
*/
|
||||||
wipe() {
|
async wipe () {
|
||||||
|
for (let key in this.dataObject) {
|
||||||
|
this.deletedObject[key] = this.dataObject[key]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* updates a value
|
* updates a value
|
||||||
*/
|
*/
|
||||||
update() {
|
async update (keyObject) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* computes the identity
|
* computes the identity
|
||||||
*/
|
*/
|
||||||
private initIdentity(customStringArg: string) {
|
private initFilePath () {
|
||||||
|
// determine the right base directory
|
||||||
let baseDir: string
|
let baseDir: string
|
||||||
if (this.type === 'custom') {
|
if (this.type === 'custom') {
|
||||||
this.identity = customStringArg
|
|
||||||
baseDir = paths.kvCustomDir
|
baseDir = paths.kvCustomDir
|
||||||
} else if (this.type === 'gitProject') {
|
} else if (this.type === 'gitProject') {
|
||||||
baseDir = paths.kvGitDir
|
baseDir = paths.kvGitDir
|
||||||
@ -57,13 +118,9 @@ export class KeyValueStore {
|
|||||||
baseDir = paths.kvPathDir
|
baseDir = paths.kvPathDir
|
||||||
}
|
}
|
||||||
this.filePath = plugins.path.join(baseDir, this.identity + '.json')
|
this.filePath = plugins.path.join(baseDir, this.identity + '.json')
|
||||||
|
plugins.smartfile.fs.ensureDirSync(paths.kvCustomDir)
|
||||||
|
plugins.smartfile.fs.ensureDirSync(paths.kvGitDir)
|
||||||
|
plugins.smartfile.fs.ensureDirSync(paths.kvPathDir)
|
||||||
plugins.smartfile.fs.ensureFileSync(this.filePath, '{}')
|
plugins.smartfile.fs.ensureFileSync(this.filePath, '{}')
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* computes the filePath
|
|
||||||
*/
|
|
||||||
private initFilePath() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ export class Npmextra {
|
|||||||
/**
|
/**
|
||||||
* creates instance of Npmextra
|
* creates instance of Npmextra
|
||||||
*/
|
*/
|
||||||
constructor(cwdArg?: string) {
|
constructor (cwdArg?: string) {
|
||||||
if (cwdArg) {
|
if (cwdArg) {
|
||||||
this.cwd = cwdArg
|
this.cwd = cwdArg
|
||||||
} else {
|
} else {
|
||||||
@ -34,7 +34,7 @@ export class Npmextra {
|
|||||||
} else {
|
} else {
|
||||||
npmextraToolOptions = {}
|
npmextraToolOptions = {}
|
||||||
}
|
}
|
||||||
let mergedOptions = plugins.lodash.merge({}, defaultOptionsArg, npmextraToolOptions)
|
let mergedOptions = plugins.smartlodash.merge({}, defaultOptionsArg, npmextraToolOptions)
|
||||||
return mergedOptions
|
return mergedOptions
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,10 +8,13 @@ export let packageDir = plugins.path.join(__dirname,'../')
|
|||||||
// keyValueStore specific
|
// keyValueStore specific
|
||||||
// ----------------------
|
// ----------------------
|
||||||
|
|
||||||
|
export let home = plugins.smartpath.get.home()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* keyValue base path
|
* keyValue base path
|
||||||
*/
|
*/
|
||||||
export let kvBase = '~/.npmextra/kv'
|
export let kvBase = plugins.path.join(home,'.npmextra/kv')
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the base directory for custom string based key value store
|
* the base directory for custom string based key value store
|
||||||
@ -24,7 +27,7 @@ export let kvCustomDir = plugins.path.join(kvBase, 'custom')
|
|||||||
export let kvGitDir = plugins.path.join(kvBase, 'git')
|
export let kvGitDir = plugins.path.join(kvBase, 'git')
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* keyValue for path based Key
|
* keyValue for path based keyValue store
|
||||||
*/
|
*/
|
||||||
export let kvPathDir = plugins.path.join(kvBase, 'path')
|
export let kvPathDir = plugins.path.join(kvBase, 'path')
|
||||||
|
|
||||||
|
@ -1,6 +1,18 @@
|
|||||||
import 'typings-global'
|
import 'typings-global'
|
||||||
export import beautylog = require('beautylog')
|
import * as beautylog from 'beautylog'
|
||||||
export import lodash = require('lodash')
|
import * as path from 'path'
|
||||||
export import path = require('path')
|
import * as smartfile from 'smartfile'
|
||||||
export import smartfile = require('smartfile')
|
import smartlodash from 'smartlodash'
|
||||||
export import q = require('smartq')
|
import * as smartpath from 'smartpath'
|
||||||
|
import * as smartq from 'smartq'
|
||||||
|
import * as taskbuffer from 'taskbuffer'
|
||||||
|
|
||||||
|
export {
|
||||||
|
beautylog,
|
||||||
|
path,
|
||||||
|
smartfile,
|
||||||
|
smartpath,
|
||||||
|
smartq,
|
||||||
|
smartlodash,
|
||||||
|
taskbuffer
|
||||||
|
}
|
||||||
|
622
yarn.lock
622
yarn.lock
@ -2,35 +2,74 @@
|
|||||||
# yarn lockfile v1
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
"@types/fs-extra@0.x.x":
|
"@types/chai-as-promised@0.0.29":
|
||||||
version "0.0.37"
|
version "0.0.29"
|
||||||
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.37.tgz#195f11bcd9a1b97d9e412c6b66899b545471a1f7"
|
resolved "https://registry.yarnpkg.com/@types/chai-as-promised/-/chai-as-promised-0.0.29.tgz#43d52892aa998e185a3de3e2477edb8573be1d77"
|
||||||
|
dependencies:
|
||||||
|
"@types/chai" "*"
|
||||||
|
"@types/promises-a-plus" "*"
|
||||||
|
|
||||||
|
"@types/chai-string@^1.1.30":
|
||||||
|
version "1.1.30"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/chai-string/-/chai-string-1.1.30.tgz#4d8744b31a5a2295fc01c981ed1e2d4c8a070f0a"
|
||||||
|
dependencies:
|
||||||
|
"@types/chai" "*"
|
||||||
|
|
||||||
|
"@types/chai@*":
|
||||||
|
version "4.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.3.tgz#6c2264b195cd2bb4c95c108487e13df0c8567c3e"
|
||||||
|
|
||||||
|
"@types/chai@^3.4.35":
|
||||||
|
version "3.5.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.5.2.tgz#c11cd2817d3a401b7ba0f5a420f35c56139b1c1e"
|
||||||
|
|
||||||
|
"@types/cron@^1.2.1":
|
||||||
|
version "1.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/cron/-/cron-1.2.1.tgz#95c1e432d6106ca34c92f0743638bc786c073faa"
|
||||||
|
|
||||||
|
"@types/fs-extra@4.x.x":
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-4.0.0.tgz#1dd742ad5c9bce308f7a52d02ebc01421bc9102f"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/lodash@^4.14.55":
|
"@types/glob@*":
|
||||||
version "4.14.55"
|
version "5.0.31"
|
||||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.55.tgz#75d7d4eba020ee4103d4cbd0f2a3ef5db8f7534f"
|
resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.31.tgz#6cb8500bd170750c1948f785cc5828e9cff0c36a"
|
||||||
|
dependencies:
|
||||||
|
"@types/minimatch" "*"
|
||||||
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/mocha@^2.2.31":
|
"@types/lodash@4.x.x", "@types/lodash@^4.14.55", "@types/lodash@^4.14.67", "@types/lodash@^4.14.68":
|
||||||
version "2.2.40"
|
version "4.14.73"
|
||||||
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.40.tgz#9811dd800ece544cd84b5b859917bf584a150c4c"
|
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.73.tgz#9837e47db8643ba5bcef2c7921f37d90f9c24213"
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/minimatch@*":
|
||||||
version "7.0.8"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.8.tgz#25e4dd804b630c916ae671233e6d71f6ce18124a"
|
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.0.tgz#a8b68c324817169b6004b432a598478a5d8f025a"
|
||||||
|
|
||||||
"@types/q@0.x.x":
|
"@types/minimatch@2.x.x":
|
||||||
version "0.0.34"
|
version "2.0.29"
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.34.tgz#e5d3a54e7a56309d904cdf1dc34f61ac595fae2e"
|
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-2.0.29.tgz#5002e14f75e2d71e564281df0431c8c1b4a2a36a"
|
||||||
|
|
||||||
"@types/q@^1.x.x":
|
"@types/node@*", "@types/node@^8.0.10":
|
||||||
version "1.0.0"
|
version "8.0.22"
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.0.0.tgz#57e5465d665b370d4217e69b344b20faa6b724f5"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.22.tgz#9c6bfee1f45f5e9952ff6b487e657ecca48c7777"
|
||||||
|
|
||||||
"@types/should@^8.1.30":
|
"@types/promises-a-plus@*":
|
||||||
version "8.1.30"
|
version "0.0.27"
|
||||||
resolved "https://registry.yarnpkg.com/@types/should/-/should-8.1.30.tgz#e6b4f3ca4fb0799f6ce3303f3a8c003df6585aa3"
|
resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780"
|
||||||
|
|
||||||
|
"@types/q@1.x.x":
|
||||||
|
version "1.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.0.3.tgz#08e99d20f7abfc0fe202b6d5a0921bfafcdea8d0"
|
||||||
|
|
||||||
|
"@types/shelljs@^0.7.2":
|
||||||
|
version "0.7.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.4.tgz#137b5f31306eaff4de120ffe5b9d74b297809cfc"
|
||||||
|
dependencies:
|
||||||
|
"@types/glob" "*"
|
||||||
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/vinyl@^2.0.0":
|
"@types/vinyl@^2.0.0":
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
@ -38,6 +77,10 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
|
"@types/which@^1.0.28":
|
||||||
|
version "1.0.28"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/which/-/which-1.0.28.tgz#016e387629b8817bed653fe32eab5d11279c8df6"
|
||||||
|
|
||||||
ansi-256-colors@^1.1.0:
|
ansi-256-colors@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-256-colors/-/ansi-256-colors-1.1.0.tgz#910de50efcc7c09e3d82f2f87abd6b700c18818a"
|
resolved "https://registry.yarnpkg.com/ansi-256-colors/-/ansi-256-colors-1.1.0.tgz#910de50efcc7c09e3d82f2f87abd6b700c18818a"
|
||||||
@ -56,20 +99,25 @@ argparse@^1.0.7:
|
|||||||
dependencies:
|
dependencies:
|
||||||
sprintf-js "~1.0.2"
|
sprintf-js "~1.0.2"
|
||||||
|
|
||||||
balanced-match@^0.4.1:
|
assertion-error@^1.0.1:
|
||||||
version "0.4.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
|
resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c"
|
||||||
|
|
||||||
|
balanced-match@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
||||||
|
|
||||||
beautycolor@^1.0.7:
|
beautycolor@^1.0.7:
|
||||||
version "1.0.7"
|
version "1.0.10"
|
||||||
resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.7.tgz#a4715738ac4c8221371e9cbeb5a6cc6d11ecbf7c"
|
resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.10.tgz#4b50758e59115839b3bb2bfe8aaaec9e29c747dd"
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-256-colors "^1.1.0"
|
ansi-256-colors "^1.1.0"
|
||||||
|
tapbundle "^1.1.1"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
beautylog@^6.1.5:
|
beautylog@^6.1.10:
|
||||||
version "6.1.5"
|
version "6.1.10"
|
||||||
resolved "https://registry.yarnpkg.com/beautylog/-/beautylog-6.1.5.tgz#5d1eca8d32ca9ed49954a1622134b03ed904c44f"
|
resolved "https://registry.yarnpkg.com/beautylog/-/beautylog-6.1.10.tgz#9c27e566937684cb689f9372d98cfa5415d50b72"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/lodash" "^4.14.55"
|
"@types/lodash" "^4.14.55"
|
||||||
beautycolor "^1.0.7"
|
beautycolor "^1.0.7"
|
||||||
@ -80,16 +128,34 @@ beautylog@^6.1.5:
|
|||||||
smartq "^1.1.1"
|
smartq "^1.1.1"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
brace-expansion@^1.0.0:
|
bindings@^1.2.1:
|
||||||
version "1.1.6"
|
version "1.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9"
|
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.3.0.tgz#b346f6ecf6a95f5a815c5839fc7cdb22502f1ed7"
|
||||||
|
|
||||||
|
brace-expansion@^1.1.7:
|
||||||
|
version "1.1.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
|
||||||
dependencies:
|
dependencies:
|
||||||
balanced-match "^0.4.1"
|
balanced-match "^1.0.0"
|
||||||
concat-map "0.0.1"
|
concat-map "0.0.1"
|
||||||
|
|
||||||
buffer-shims@^1.0.0:
|
chai-as-promised@^6.0.0:
|
||||||
version "1.0.0"
|
version "6.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"
|
resolved "https://registry.yarnpkg.com/chai-as-promised/-/chai-as-promised-6.0.0.tgz#1a02a433a6f24dafac63b9c96fa1684db1aa8da6"
|
||||||
|
dependencies:
|
||||||
|
check-error "^1.0.2"
|
||||||
|
|
||||||
|
chai-string@^1.3.0:
|
||||||
|
version "1.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/chai-string/-/chai-string-1.4.0.tgz#359140c051d36a4e4b1a5fc6b910152f438a8d49"
|
||||||
|
|
||||||
|
chai@^3.5.0:
|
||||||
|
version "3.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247"
|
||||||
|
dependencies:
|
||||||
|
assertion-error "^1.0.1"
|
||||||
|
deep-eql "^0.1.3"
|
||||||
|
type-detect "^1.0.0"
|
||||||
|
|
||||||
chalk@^1.0.0, chalk@^1.1.1:
|
chalk@^1.0.0, chalk@^1.1.1:
|
||||||
version "1.1.3"
|
version "1.1.3"
|
||||||
@ -101,6 +167,10 @@ chalk@^1.0.0, chalk@^1.1.1:
|
|||||||
strip-ansi "^3.0.0"
|
strip-ansi "^3.0.0"
|
||||||
supports-color "^2.0.0"
|
supports-color "^2.0.0"
|
||||||
|
|
||||||
|
check-error@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
|
||||||
|
|
||||||
cli-cursor@^2.1.0:
|
cli-cursor@^2.1.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
|
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
|
||||||
@ -119,9 +189,9 @@ clone-stats@^1.0.0:
|
|||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680"
|
resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680"
|
||||||
|
|
||||||
clone@^1.0.0:
|
clone@^2.1.1:
|
||||||
version "1.0.2"
|
version "2.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149"
|
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.1.tgz#d217d1e961118e3ac9a4b8bba3285553bf647cdb"
|
||||||
|
|
||||||
cloneable-readable@^1.0.0:
|
cloneable-readable@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
@ -139,13 +209,62 @@ core-util-is@~1.0.0:
|
|||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
|
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
|
||||||
|
|
||||||
|
cron@^1.2.1:
|
||||||
|
version "1.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/cron/-/cron-1.2.1.tgz#3a86c09b41b8f261ac863a7cc85ea4735857eab2"
|
||||||
|
dependencies:
|
||||||
|
moment-timezone "^0.5.x"
|
||||||
|
|
||||||
|
deep-eql@^0.1.3:
|
||||||
|
version "0.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2"
|
||||||
|
dependencies:
|
||||||
|
type-detect "0.1.1"
|
||||||
|
|
||||||
|
define-properties@^1.1.2:
|
||||||
|
version "1.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94"
|
||||||
|
dependencies:
|
||||||
|
foreach "^2.0.5"
|
||||||
|
object-keys "^1.0.8"
|
||||||
|
|
||||||
|
early@^2.1.1:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/early/-/early-2.1.1.tgz#841e23254ea5dc54d8afaeee82f5ab65c00ee23c"
|
||||||
|
dependencies:
|
||||||
|
beautycolor "^1.0.7"
|
||||||
|
smartq "^1.1.1"
|
||||||
|
typings-global "^1.0.16"
|
||||||
|
|
||||||
|
es-abstract@^1.5.1:
|
||||||
|
version "1.8.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.8.0.tgz#3b00385e85729932beffa9163bbea1234e932914"
|
||||||
|
dependencies:
|
||||||
|
es-to-primitive "^1.1.1"
|
||||||
|
function-bind "^1.1.0"
|
||||||
|
has "^1.0.1"
|
||||||
|
is-callable "^1.1.3"
|
||||||
|
is-regex "^1.0.4"
|
||||||
|
|
||||||
|
es-to-primitive@^1.1.1:
|
||||||
|
version "1.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d"
|
||||||
|
dependencies:
|
||||||
|
is-callable "^1.1.1"
|
||||||
|
is-date-object "^1.0.1"
|
||||||
|
is-symbol "^1.0.1"
|
||||||
|
|
||||||
|
es6-error@^4.0.2:
|
||||||
|
version "4.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.0.2.tgz#eec5c726eacef51b7f6b73c20db6e1b13b069c98"
|
||||||
|
|
||||||
escape-string-regexp@^1.0.2:
|
escape-string-regexp@^1.0.2:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
||||||
|
|
||||||
esprima@^3.1.1:
|
esprima@^4.0.0:
|
||||||
version "3.1.3"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
|
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804"
|
||||||
|
|
||||||
figlet@^1.2.0:
|
figlet@^1.2.0:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
@ -157,25 +276,34 @@ first-chunk-stream@^2.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
readable-stream "^2.0.2"
|
readable-stream "^2.0.2"
|
||||||
|
|
||||||
fs-extra@^2.0.0:
|
foreach@^2.0.5:
|
||||||
version "2.1.2"
|
version "2.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-2.1.2.tgz#046c70163cef9aad46b0e4a7fa467fb22d71de35"
|
resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99"
|
||||||
|
|
||||||
|
fs-extra@^4.0.0:
|
||||||
|
version "4.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.1.tgz#7fc0c6c8957f983f57f306a24e5b9ddd8d0dd880"
|
||||||
dependencies:
|
dependencies:
|
||||||
graceful-fs "^4.1.2"
|
graceful-fs "^4.1.2"
|
||||||
jsonfile "^2.1.0"
|
jsonfile "^3.0.0"
|
||||||
|
universalify "^0.1.0"
|
||||||
|
|
||||||
fs.realpath@^1.0.0:
|
fs.realpath@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
||||||
|
|
||||||
glob@^7.0.0, glob@^7.1.1:
|
function-bind@^1.0.2, function-bind@^1.1.0:
|
||||||
version "7.1.1"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
|
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771"
|
||||||
|
|
||||||
|
glob@^7.0.0, glob@^7.1.2:
|
||||||
|
version "7.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
|
||||||
dependencies:
|
dependencies:
|
||||||
fs.realpath "^1.0.0"
|
fs.realpath "^1.0.0"
|
||||||
inflight "^1.0.4"
|
inflight "^1.0.4"
|
||||||
inherits "2"
|
inherits "2"
|
||||||
minimatch "^3.0.2"
|
minimatch "^3.0.4"
|
||||||
once "^1.3.0"
|
once "^1.3.0"
|
||||||
path-is-absolute "^1.0.0"
|
path-is-absolute "^1.0.0"
|
||||||
|
|
||||||
@ -189,6 +317,12 @@ has-ansi@^2.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
ansi-regex "^2.0.0"
|
ansi-regex "^2.0.0"
|
||||||
|
|
||||||
|
has@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28"
|
||||||
|
dependencies:
|
||||||
|
function-bind "^1.0.2"
|
||||||
|
|
||||||
home@^1.0.1:
|
home@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/home/-/home-1.0.1.tgz#96a423ceb49b98378ff5ef3ceae059a557f9dd35"
|
resolved "https://registry.yarnpkg.com/home/-/home-1.0.1.tgz#96a423ceb49b98378ff5ef3ceae059a557f9dd35"
|
||||||
@ -202,17 +336,31 @@ inflight@^1.0.4:
|
|||||||
once "^1.3.0"
|
once "^1.3.0"
|
||||||
wrappy "1"
|
wrappy "1"
|
||||||
|
|
||||||
inherits@2, inherits@^2.0.1, inherits@~2.0.1:
|
inherits@2, inherits@^2.0.1, inherits@~2.0.3:
|
||||||
version "2.0.3"
|
version "2.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
||||||
|
|
||||||
interpret@^1.0.0:
|
interpret@^1.0.0:
|
||||||
version "1.0.1"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.1.tgz#d579fb7f693b858004947af39fa0db49f795602c"
|
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90"
|
||||||
|
|
||||||
is-stream@^1.1.0:
|
is-callable@^1.1.1, is-callable@^1.1.3:
|
||||||
version "1.1.0"
|
version "1.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
|
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
|
||||||
|
|
||||||
|
is-date-object@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
|
||||||
|
|
||||||
|
is-regex@^1.0.4:
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
|
||||||
|
dependencies:
|
||||||
|
has "^1.0.1"
|
||||||
|
|
||||||
|
is-symbol@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572"
|
||||||
|
|
||||||
is-utf8@^0.2.0, is-utf8@^0.2.1:
|
is-utf8@^0.2.0, is-utf8@^0.2.1:
|
||||||
version "0.2.1"
|
version "0.2.1"
|
||||||
@ -222,20 +370,52 @@ isarray@~1.0.0:
|
|||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
|
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
|
||||||
|
|
||||||
js-yaml@^3.8.2:
|
isexe@^2.0.0:
|
||||||
version "3.8.2"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.2.tgz#02d3e2c0f6beab20248d412c352203827d786721"
|
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
|
||||||
|
|
||||||
|
js-yaml@^3.9.1:
|
||||||
|
version "3.9.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.1.tgz#08775cebdfdd359209f0d2acd383c8f86a6904a0"
|
||||||
dependencies:
|
dependencies:
|
||||||
argparse "^1.0.7"
|
argparse "^1.0.7"
|
||||||
esprima "^3.1.1"
|
esprima "^4.0.0"
|
||||||
|
|
||||||
jsonfile@^2.1.0:
|
jsonfile@^3.0.0:
|
||||||
version "2.4.0"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8"
|
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66"
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
graceful-fs "^4.1.6"
|
graceful-fs "^4.1.6"
|
||||||
|
|
||||||
lodash@^4.17.2, lodash@^4.17.4:
|
leakage@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/leakage/-/leakage-0.3.0.tgz#15d698abdc76bbc6439601f4f3020e77e2d50c39"
|
||||||
|
dependencies:
|
||||||
|
es6-error "^4.0.2"
|
||||||
|
left-pad "^1.1.3"
|
||||||
|
memwatch-next "^0.3.0"
|
||||||
|
minimist "^1.2.0"
|
||||||
|
pretty-bytes "^4.0.2"
|
||||||
|
|
||||||
|
left-pad@^1.1.3:
|
||||||
|
version "1.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.1.3.tgz#612f61c033f3a9e08e939f1caebeea41b6f3199a"
|
||||||
|
|
||||||
|
lik@^1.0.38:
|
||||||
|
version "1.0.38"
|
||||||
|
resolved "https://registry.yarnpkg.com/lik/-/lik-1.0.38.tgz#ccff0abd3d9236a5e4b7d80d514c5c210f18469b"
|
||||||
|
dependencies:
|
||||||
|
"@types/lodash" "^4.14.67"
|
||||||
|
"@types/minimatch" "2.x.x"
|
||||||
|
"@types/q" "1.x.x"
|
||||||
|
lodash "^4.17.4"
|
||||||
|
minimatch "^3.0.4"
|
||||||
|
q "^1.5.0"
|
||||||
|
rxjs "^5.4.1"
|
||||||
|
smartq "^1.1.1"
|
||||||
|
typings-global "^1.0.19"
|
||||||
|
|
||||||
|
lodash@^4.17.4:
|
||||||
version "4.17.4"
|
version "4.17.4"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
||||||
|
|
||||||
@ -245,15 +425,51 @@ log-symbols@^1.0.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
chalk "^1.0.0"
|
chalk "^1.0.0"
|
||||||
|
|
||||||
|
memwatch-next@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/memwatch-next/-/memwatch-next-0.3.0.tgz#2111050f9a906e0aa2d72a4ec0f0089c78726f8f"
|
||||||
|
dependencies:
|
||||||
|
bindings "^1.2.1"
|
||||||
|
nan "^2.3.2"
|
||||||
|
|
||||||
mimic-fn@^1.0.0:
|
mimic-fn@^1.0.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
|
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
|
||||||
|
|
||||||
minimatch@^3.0.2:
|
minimatch@^3.0.4:
|
||||||
version "3.0.3"
|
version "3.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
||||||
dependencies:
|
dependencies:
|
||||||
brace-expansion "^1.0.0"
|
brace-expansion "^1.1.7"
|
||||||
|
|
||||||
|
minimist@^1.2.0:
|
||||||
|
version "1.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
||||||
|
|
||||||
|
moment-timezone@^0.5.x:
|
||||||
|
version "0.5.13"
|
||||||
|
resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.13.tgz#99ce5c7d827262eb0f1f702044177f60745d7b90"
|
||||||
|
dependencies:
|
||||||
|
moment ">= 2.9.0"
|
||||||
|
|
||||||
|
"moment@>= 2.9.0":
|
||||||
|
version "2.18.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f"
|
||||||
|
|
||||||
|
nan@^2.3.2:
|
||||||
|
version "2.6.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45"
|
||||||
|
|
||||||
|
object-keys@^1.0.8:
|
||||||
|
version "1.0.11"
|
||||||
|
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
|
||||||
|
|
||||||
|
object.getownpropertydescriptors@^2.0.3:
|
||||||
|
version "2.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16"
|
||||||
|
dependencies:
|
||||||
|
define-properties "^1.1.2"
|
||||||
|
es-abstract "^1.5.1"
|
||||||
|
|
||||||
once@^1.3.0:
|
once@^1.3.0:
|
||||||
version "1.4.0"
|
version "1.4.0"
|
||||||
@ -262,14 +478,14 @@ once@^1.3.0:
|
|||||||
wrappy "1"
|
wrappy "1"
|
||||||
|
|
||||||
onetime@^2.0.0:
|
onetime@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.0.tgz#52aa8110e52fc5126ffc667bd8ec21c2ed209ce6"
|
resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4"
|
||||||
dependencies:
|
dependencies:
|
||||||
mimic-fn "^1.0.0"
|
mimic-fn "^1.0.0"
|
||||||
|
|
||||||
ora@^1.1.0:
|
ora@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/ora/-/ora-1.1.0.tgz#69aaa4a209630e43b142c5f7ff41820da87e2faf"
|
resolved "https://registry.yarnpkg.com/ora/-/ora-1.3.0.tgz#80078dd2b92a934af66a3ad72a5b910694ede51a"
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk "^1.1.1"
|
chalk "^1.1.1"
|
||||||
cli-cursor "^2.1.0"
|
cli-cursor "^2.1.0"
|
||||||
@ -292,24 +508,28 @@ pify@^2.3.0:
|
|||||||
version "2.3.0"
|
version "2.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
|
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
|
||||||
|
|
||||||
|
pretty-bytes@^4.0.2:
|
||||||
|
version "4.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
|
||||||
|
|
||||||
process-nextick-args@^1.0.6, process-nextick-args@~1.0.6:
|
process-nextick-args@^1.0.6, process-nextick-args@~1.0.6:
|
||||||
version "1.0.7"
|
version "1.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
||||||
|
|
||||||
q@^1.4.1:
|
q@^1.5.0:
|
||||||
version "1.4.1"
|
version "1.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/q/-/q-1.4.1.tgz#55705bcd93c5f3673530c2c2cbc0c2b3addc286e"
|
resolved "https://registry.yarnpkg.com/q/-/q-1.5.0.tgz#dd01bac9d06d30e6f219aecb8253ee9ebdc308f1"
|
||||||
|
|
||||||
readable-stream@^2.0.2, readable-stream@^2.1.5:
|
readable-stream@^2.0.2, readable-stream@^2.1.5:
|
||||||
version "2.2.6"
|
version "2.3.3"
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.6.tgz#8b43aed76e71483938d12a8d46c6cf1a00b1f816"
|
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c"
|
||||||
dependencies:
|
dependencies:
|
||||||
buffer-shims "^1.0.0"
|
|
||||||
core-util-is "~1.0.0"
|
core-util-is "~1.0.0"
|
||||||
inherits "~2.0.1"
|
inherits "~2.0.3"
|
||||||
isarray "~1.0.0"
|
isarray "~1.0.0"
|
||||||
process-nextick-args "~1.0.6"
|
process-nextick-args "~1.0.6"
|
||||||
string_decoder "~0.10.x"
|
safe-buffer "~5.1.1"
|
||||||
|
string_decoder "~1.0.3"
|
||||||
util-deprecate "~1.0.1"
|
util-deprecate "~1.0.1"
|
||||||
|
|
||||||
rechoir@^0.6.2:
|
rechoir@^0.6.2:
|
||||||
@ -319,8 +539,8 @@ rechoir@^0.6.2:
|
|||||||
resolve "^1.1.6"
|
resolve "^1.1.6"
|
||||||
|
|
||||||
remove-trailing-separator@^1.0.1:
|
remove-trailing-separator@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4"
|
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
|
||||||
|
|
||||||
replace-ext@^1.0.0:
|
replace-ext@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
@ -331,8 +551,8 @@ require-reload@0.2.2:
|
|||||||
resolved "https://registry.yarnpkg.com/require-reload/-/require-reload-0.2.2.tgz#29a7591846caf91b6e8a3cda991683f95f8d7d42"
|
resolved "https://registry.yarnpkg.com/require-reload/-/require-reload-0.2.2.tgz#29a7591846caf91b6e8a3cda991683f95f8d7d42"
|
||||||
|
|
||||||
resolve@^1.1.6:
|
resolve@^1.1.6:
|
||||||
version "1.3.2"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.2.tgz#1f0442c9e0cbb8136e87b9305f932f46c7f28235"
|
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86"
|
||||||
dependencies:
|
dependencies:
|
||||||
path-parse "^1.0.5"
|
path-parse "^1.0.5"
|
||||||
|
|
||||||
@ -343,86 +563,82 @@ restore-cursor@^2.0.0:
|
|||||||
onetime "^2.0.0"
|
onetime "^2.0.0"
|
||||||
signal-exit "^3.0.2"
|
signal-exit "^3.0.2"
|
||||||
|
|
||||||
semver@^5.3.0:
|
rxjs@^5.4.1, rxjs@^5.4.2:
|
||||||
version "5.3.0"
|
version "5.4.3"
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
|
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.4.3.tgz#0758cddee6033d68e0fd53676f0f3596ce3d483f"
|
||||||
|
dependencies:
|
||||||
|
symbol-observable "^1.0.1"
|
||||||
|
|
||||||
shelljs@^0.7.4:
|
safe-buffer@~5.1.0, safe-buffer@~5.1.1:
|
||||||
version "0.7.7"
|
version "5.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.7.tgz#b2f5c77ef97148f4b4f6e22682e10bba8667cff1"
|
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
|
||||||
|
|
||||||
|
semver@^5.3.0:
|
||||||
|
version "5.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
|
||||||
|
|
||||||
|
shelljs@^0.7.8:
|
||||||
|
version "0.7.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
|
||||||
dependencies:
|
dependencies:
|
||||||
glob "^7.0.0"
|
glob "^7.0.0"
|
||||||
interpret "^1.0.0"
|
interpret "^1.0.0"
|
||||||
rechoir "^0.6.2"
|
rechoir "^0.6.2"
|
||||||
|
|
||||||
should-equal@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/should-equal/-/should-equal-1.0.1.tgz#0b6e9516f2601a9fb0bb2dcc369afa1c7e200af7"
|
|
||||||
dependencies:
|
|
||||||
should-type "^1.0.0"
|
|
||||||
|
|
||||||
should-format@^3.0.2:
|
|
||||||
version "3.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/should-format/-/should-format-3.0.3.tgz#9bfc8f74fa39205c53d38c34d717303e277124f1"
|
|
||||||
dependencies:
|
|
||||||
should-type "^1.3.0"
|
|
||||||
should-type-adaptors "^1.0.1"
|
|
||||||
|
|
||||||
should-type-adaptors@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/should-type-adaptors/-/should-type-adaptors-1.0.1.tgz#efe5553cdf68cff66e5c5f51b712dc351c77beaa"
|
|
||||||
dependencies:
|
|
||||||
should-type "^1.3.0"
|
|
||||||
should-util "^1.0.0"
|
|
||||||
|
|
||||||
should-type@^1.0.0, should-type@^1.3.0, should-type@^1.4.0:
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/should-type/-/should-type-1.4.0.tgz#0756d8ce846dfd09843a6947719dfa0d4cff5cf3"
|
|
||||||
|
|
||||||
should-util@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/should-util/-/should-util-1.0.0.tgz#c98cda374aa6b190df8ba87c9889c2b4db620063"
|
|
||||||
|
|
||||||
should@^11.2.1:
|
|
||||||
version "11.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/should/-/should-11.2.1.tgz#90f55145552d01cfc200666e4e818a1c9670eda2"
|
|
||||||
dependencies:
|
|
||||||
should-equal "^1.0.0"
|
|
||||||
should-format "^3.0.2"
|
|
||||||
should-type "^1.4.0"
|
|
||||||
should-type-adaptors "^1.0.1"
|
|
||||||
should-util "^1.0.0"
|
|
||||||
|
|
||||||
signal-exit@^3.0.2:
|
signal-exit@^3.0.2:
|
||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
||||||
|
|
||||||
smartenv@^2.0.0:
|
smartchai@^1.0.3:
|
||||||
version "2.0.0"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/smartenv/-/smartenv-2.0.0.tgz#ede4e2044efcf9bec318388bb1dab53024ee3d16"
|
resolved "https://registry.yarnpkg.com/smartchai/-/smartchai-1.0.3.tgz#de6d010bb8b5aef24cb70b31a5f5334e8c41b72f"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/q" "0.x.x"
|
"@types/chai" "^3.4.35"
|
||||||
lodash "^4.17.2"
|
"@types/chai-as-promised" "0.0.29"
|
||||||
q "^1.4.1"
|
"@types/chai-string" "^1.1.30"
|
||||||
|
chai "^3.5.0"
|
||||||
|
chai-as-promised "^6.0.0"
|
||||||
|
chai-string "^1.3.0"
|
||||||
|
|
||||||
|
smartdelay@^1.0.3:
|
||||||
|
version "1.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/smartdelay/-/smartdelay-1.0.3.tgz#5fd44dad77262d110702f0293efa80c072cfb579"
|
||||||
|
dependencies:
|
||||||
|
smartq "^1.1.1"
|
||||||
|
typings-global "^1.0.16"
|
||||||
|
|
||||||
|
smartenv@^2.0.0:
|
||||||
|
version "2.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/smartenv/-/smartenv-2.0.6.tgz#b38c679b0c151b9af548f68c3a072c29d1417e8d"
|
||||||
|
dependencies:
|
||||||
|
lodash "^4.17.4"
|
||||||
|
smartq "^1.1.1"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
smartfile@^4.1.9:
|
smartfile@^4.2.20:
|
||||||
version "4.1.9"
|
version "4.2.20"
|
||||||
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.1.9.tgz#d789032193a45493607b8b37ff5811942f832008"
|
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.20.tgz#abc37c04fb7b3afea68fa295dfb80083361a8028"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/fs-extra" "0.x.x"
|
"@types/fs-extra" "4.x.x"
|
||||||
"@types/vinyl" "^2.0.0"
|
"@types/vinyl" "^2.0.0"
|
||||||
fs-extra "^2.0.0"
|
fs-extra "^4.0.0"
|
||||||
glob "^7.1.1"
|
glob "^7.1.2"
|
||||||
js-yaml "^3.8.2"
|
js-yaml "^3.9.1"
|
||||||
require-reload "0.2.2"
|
require-reload "0.2.2"
|
||||||
smartpath "^3.2.8"
|
smartpath "^3.2.8"
|
||||||
smartq "^1.1.1"
|
smartq "^1.1.6"
|
||||||
smartrequest "^1.0.4"
|
smartrequest "^1.0.6"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.20"
|
||||||
vinyl "^2.0.1"
|
|
||||||
vinyl-file "^3.0.0"
|
vinyl-file "^3.0.0"
|
||||||
|
|
||||||
|
smartlodash@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/smartlodash/-/smartlodash-1.0.1.tgz#8ddb41f3247d6d9856c63d1ea1ffccb78415a9c6"
|
||||||
|
dependencies:
|
||||||
|
"@types/lodash" "^4.14.68"
|
||||||
|
"@types/node" "^8.0.10"
|
||||||
|
lodash "^4.17.4"
|
||||||
|
|
||||||
smartpath@^3.2.8:
|
smartpath@^3.2.8:
|
||||||
version "3.2.8"
|
version "3.2.8"
|
||||||
resolved "https://registry.yarnpkg.com/smartpath/-/smartpath-3.2.8.tgz#4834bd3a8bae2295baacadba23c87a501952f940"
|
resolved "https://registry.yarnpkg.com/smartpath/-/smartpath-3.2.8.tgz#4834bd3a8bae2295baacadba23c87a501952f940"
|
||||||
@ -430,27 +646,40 @@ smartpath@^3.2.8:
|
|||||||
home "^1.0.1"
|
home "^1.0.1"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
smartq@^1.1.0, smartq@^1.1.1:
|
smartq@^1.1.1, smartq@^1.1.6:
|
||||||
version "1.1.1"
|
version "1.1.6"
|
||||||
resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.1.tgz#efb358705260d41ae18aef7ffd815f7b6fe17dd3"
|
resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.6.tgz#0c1ff4336d95e95b4f1fdd8ccd7e2c5a323b8412"
|
||||||
dependencies:
|
dependencies:
|
||||||
typed-promisify "^0.3.0"
|
typings-global "^1.0.19"
|
||||||
typings-global "^1.0.14"
|
util.promisify "^1.0.0"
|
||||||
|
|
||||||
smartrequest@^1.0.4:
|
smartrequest@^1.0.6:
|
||||||
version "1.0.4"
|
version "1.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.4.tgz#86af2163ae28f1031b01c2d8ad8c429733920611"
|
resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.6.tgz#a006454332453b0a70d38a003a29963d039a7783"
|
||||||
dependencies:
|
dependencies:
|
||||||
smartq "^1.1.0"
|
smartq "^1.1.1"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.17"
|
||||||
|
|
||||||
|
smartshell@^1.0.6:
|
||||||
|
version "1.0.13"
|
||||||
|
resolved "https://registry.yarnpkg.com/smartshell/-/smartshell-1.0.13.tgz#277b34e6624df70003e0e3a6c900cd5ebab7eb92"
|
||||||
|
dependencies:
|
||||||
|
"@types/shelljs" "^0.7.2"
|
||||||
|
"@types/which" "^1.0.28"
|
||||||
|
shelljs "^0.7.8"
|
||||||
|
smartq "^1.1.6"
|
||||||
|
typings-global "^1.0.19"
|
||||||
|
which "^1.2.14"
|
||||||
|
|
||||||
sprintf-js@~1.0.2:
|
sprintf-js@~1.0.2:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
|
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
|
||||||
|
|
||||||
string_decoder@~0.10.x:
|
string_decoder@~1.0.3:
|
||||||
version "0.10.31"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
|
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
|
||||||
|
dependencies:
|
||||||
|
safe-buffer "~5.1.0"
|
||||||
|
|
||||||
strip-ansi@^3.0.0:
|
strip-ansi@^3.0.0:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
@ -481,6 +710,36 @@ supports-color@^2.0.0:
|
|||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
|
||||||
|
|
||||||
|
symbol-observable@^1.0.1:
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
||||||
|
|
||||||
|
tapbundle@^1.1.1:
|
||||||
|
version "1.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.1.1.tgz#ec4172c0e82a77b1f6133fef2606311ede28a62d"
|
||||||
|
dependencies:
|
||||||
|
early "^2.1.1"
|
||||||
|
leakage "^0.3.0"
|
||||||
|
smartchai "^1.0.3"
|
||||||
|
smartdelay "^1.0.3"
|
||||||
|
smartq "^1.1.1"
|
||||||
|
typings-global "^1.0.19"
|
||||||
|
|
||||||
|
taskbuffer@^1.0.22:
|
||||||
|
version "1.0.22"
|
||||||
|
resolved "https://registry.yarnpkg.com/taskbuffer/-/taskbuffer-1.0.22.tgz#05d498d157d79dd897e11e6225fd447ba2f2fa3e"
|
||||||
|
dependencies:
|
||||||
|
"@types/cron" "^1.2.1"
|
||||||
|
"@types/lodash" "4.x.x"
|
||||||
|
beautylog "^6.1.10"
|
||||||
|
cron "^1.2.1"
|
||||||
|
lik "^1.0.38"
|
||||||
|
lodash "^4.17.4"
|
||||||
|
rxjs "^5.4.2"
|
||||||
|
smartdelay "^1.0.3"
|
||||||
|
smartq "^1.1.6"
|
||||||
|
typings-global "^1.0.19"
|
||||||
|
|
||||||
through2@^2.0.1:
|
through2@^2.0.1:
|
||||||
version "2.0.3"
|
version "2.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be"
|
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be"
|
||||||
@ -488,28 +747,36 @@ through2@^2.0.1:
|
|||||||
readable-stream "^2.1.5"
|
readable-stream "^2.1.5"
|
||||||
xtend "~4.0.1"
|
xtend "~4.0.1"
|
||||||
|
|
||||||
typed-promisify@^0.3.0:
|
type-detect@0.1.1:
|
||||||
version "0.3.0"
|
version "0.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/typed-promisify/-/typed-promisify-0.3.0.tgz#1ba0af5e444c87d8047406f18ce49092a1191853"
|
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822"
|
||||||
|
|
||||||
typings-global@*, typings-global@^1.0.14:
|
type-detect@^1.0.0:
|
||||||
version "1.0.14"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/typings-global/-/typings-global-1.0.14.tgz#ab682720a03d6b9278869fb5c30c30d7dc61d12c"
|
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2"
|
||||||
|
|
||||||
|
typings-global@^1.0.14, typings-global@^1.0.16, typings-global@^1.0.17, typings-global@^1.0.19, typings-global@^1.0.20:
|
||||||
|
version "1.0.20"
|
||||||
|
resolved "https://registry.yarnpkg.com/typings-global/-/typings-global-1.0.20.tgz#3da769c54db538247c5d877d1d9e97eb2ec981ff"
|
||||||
dependencies:
|
dependencies:
|
||||||
semver "^5.3.0"
|
semver "^5.3.0"
|
||||||
shelljs "^0.7.4"
|
smartshell "^1.0.6"
|
||||||
|
|
||||||
typings-test@^1.0.3:
|
universalify@^0.1.0:
|
||||||
version "1.0.3"
|
version "0.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/typings-test/-/typings-test-1.0.3.tgz#fbab895eb3f0c44842e73db059f65946b971e369"
|
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7"
|
||||||
dependencies:
|
|
||||||
"@types/mocha" "^2.2.31"
|
|
||||||
typings-global "*"
|
|
||||||
|
|
||||||
util-deprecate@~1.0.1:
|
util-deprecate@~1.0.1:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
||||||
|
|
||||||
|
util.promisify@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030"
|
||||||
|
dependencies:
|
||||||
|
define-properties "^1.1.2"
|
||||||
|
object.getownpropertydescriptors "^2.0.3"
|
||||||
|
|
||||||
vinyl-file@^3.0.0:
|
vinyl-file@^3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-3.0.0.tgz#b104d9e4409ffa325faadd520642d0a3b488b365"
|
resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-3.0.0.tgz#b104d9e4409ffa325faadd520642d0a3b488b365"
|
||||||
@ -521,17 +788,22 @@ vinyl-file@^3.0.0:
|
|||||||
vinyl "^2.0.1"
|
vinyl "^2.0.1"
|
||||||
|
|
||||||
vinyl@^2.0.1:
|
vinyl@^2.0.1:
|
||||||
version "2.0.1"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.0.1.tgz#1c3b4931e7ac4c1efee743f3b91a74c094407bb6"
|
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.1.0.tgz#021f9c2cf951d6b939943c89eb5ee5add4fd924c"
|
||||||
dependencies:
|
dependencies:
|
||||||
clone "^1.0.0"
|
clone "^2.1.1"
|
||||||
clone-buffer "^1.0.0"
|
clone-buffer "^1.0.0"
|
||||||
clone-stats "^1.0.0"
|
clone-stats "^1.0.0"
|
||||||
cloneable-readable "^1.0.0"
|
cloneable-readable "^1.0.0"
|
||||||
is-stream "^1.1.0"
|
|
||||||
remove-trailing-separator "^1.0.1"
|
remove-trailing-separator "^1.0.1"
|
||||||
replace-ext "^1.0.0"
|
replace-ext "^1.0.0"
|
||||||
|
|
||||||
|
which@^1.2.14:
|
||||||
|
version "1.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
|
||||||
|
dependencies:
|
||||||
|
isexe "^2.0.0"
|
||||||
|
|
||||||
wrappy@1:
|
wrappy@1:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
||||||
|
Reference in New Issue
Block a user