update
This commit is contained in:
parent
f39daca6aa
commit
ab76cae75e
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,12 +1,7 @@
|
||||
node_modules/
|
||||
.settings/
|
||||
.idea/
|
||||
coverage/
|
||||
docs/
|
||||
pages/
|
||||
|
||||
ts/*.js
|
||||
ts/*.js.map
|
||||
ts/typings/
|
||||
|
||||
test/temp/
|
||||
|
||||
|
9
dist/smartfile.memory.d.ts
vendored
9
dist/smartfile.memory.d.ts
vendored
@ -1,4 +1,3 @@
|
||||
/// <reference types="vinyl" />
|
||||
/// <reference types="q" />
|
||||
import "typings-global";
|
||||
import plugins = require("./smartfile.plugins");
|
||||
@ -9,7 +8,7 @@ import plugins = require("./smartfile.plugins");
|
||||
* @returns stream.Readable
|
||||
* @TODO: make it async;
|
||||
*/
|
||||
export declare let toGulpStream: (fileArg: string | string[] | plugins.vinyl | plugins.vinyl[], baseArg?: string) => any;
|
||||
export declare let toGulpStream: (fileArg: any, baseArg?: string) => any;
|
||||
/**
|
||||
* converts file to Object
|
||||
* @param fileStringArg
|
||||
@ -26,7 +25,7 @@ export declare let toVinylFileSync: (fileArg: string, optionsArg?: {
|
||||
filename?: string;
|
||||
base?: string;
|
||||
relPath?: string;
|
||||
}) => plugins.vinyl;
|
||||
}) => any;
|
||||
/**
|
||||
* takes a string array and some options and returns a vinylfile array
|
||||
* @param arrayArg
|
||||
@ -40,12 +39,12 @@ export declare let toVinylArraySync: (arrayArg: string[], optionsArg?: {
|
||||
/**
|
||||
* takes a vinylFile object and converts it to String
|
||||
*/
|
||||
export declare let toStringSync: (fileArg: plugins.vinyl) => string;
|
||||
export declare let toStringSync: (fileArg: any) => any;
|
||||
/**
|
||||
* writes string or vinyl file to disk.
|
||||
* @param fileArg
|
||||
* @param fileNameArg
|
||||
* @param fileBaseArg
|
||||
*/
|
||||
export declare let toFs: (fileContentArg: string | plugins.vinyl, filePathArg: any) => plugins.Q.Promise<{}>;
|
||||
export declare let toFs: (fileContentArg: any, filePathArg: any) => plugins.Q.Promise<{}>;
|
||||
export declare let toFsSync: (fileArg: any, filePathArg: string) => void;
|
||||
|
4
dist/smartfile.plugins.d.ts
vendored
4
dist/smartfile.plugins.d.ts
vendored
@ -3,13 +3,13 @@ export import beautylog = require("beautylog");
|
||||
export import fs = require("fs");
|
||||
export import fsExtra = require("fs-extra");
|
||||
export declare let gulp: any;
|
||||
export import glob = require("glob");
|
||||
export declare let glob: any;
|
||||
export declare let g: {
|
||||
remoteSrc: any;
|
||||
};
|
||||
export import path = require("path");
|
||||
export import Q = require("q");
|
||||
export import vinyl = require("vinyl");
|
||||
export declare let vinyl: any;
|
||||
export declare let vinylFile: any;
|
||||
export declare let yaml: any;
|
||||
export declare let request: any;
|
||||
|
2
dist/smartfile.plugins.js
vendored
2
dist/smartfile.plugins.js
vendored
@ -15,4 +15,4 @@ exports.vinylFile = require("vinyl-file");
|
||||
exports.yaml = require("js-yaml");
|
||||
exports.request = require("request");
|
||||
exports.requireReload = require("require-reload");
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRmaWxlLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGZpbGUucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsUUFBTyxnQkFBZ0IsQ0FBQyxDQUFBO0FBQ1YsaUJBQVMsV0FBVyxXQUFXLENBQUMsQ0FBQztBQUNqQyxVQUFFLFdBQVcsSUFBSSxDQUFDLENBQUM7QUFDbkIsZUFBTyxXQUFXLFVBQVUsQ0FBQyxDQUFDO0FBQ2pDLFlBQUksR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLENBQUM7QUFDcEIsWUFBSSxXQUFXLE1BQU0sQ0FBQyxDQUFDO0FBQzFCLFNBQUMsR0FBRztJQUNYLFNBQVMsRUFBRSxPQUFPLENBQUMsaUJBQWlCLENBQUM7Q0FDeEMsQ0FBQzt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MsR0FBRyxPQUFPLENBQUMsWUFBWSxDQUFDLENBQUM7QUFDbEMsWUFBSSxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQztBQUMxQixlQUFPLEdBQUcsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDO0FBQzdCLHFCQUFhLEdBQUcsT0FBTyxDQUFDLGdCQUFnQixDQUFDLENBQUMifQ==
|
20
package.json
20
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "smartfile",
|
||||
"version": "4.0.13",
|
||||
"version": "4.0.14",
|
||||
"description": "offers smart ways to work with files in nodejs",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
@ -27,25 +27,25 @@
|
||||
"homepage": "https://gitlab.com/pushrocks/smartfile",
|
||||
"dependencies": {
|
||||
"@types/fs-extra": "0.x.x",
|
||||
"@types/glob": "5.x.x",
|
||||
"@types/q": "0.x.x",
|
||||
"beautylog": "^5.0.14",
|
||||
"beautylog": "^5.0.22",
|
||||
"fs-extra": "^0.30.0",
|
||||
"glob": "^7.0.5",
|
||||
"glob": "^7.0.6",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-remote-src": "^0.4.1",
|
||||
"js-yaml": "^3.6.1",
|
||||
"q": "^1.4.1",
|
||||
"request": "^2.73.0",
|
||||
"request": "^2.74.0",
|
||||
"require-reload": "0.2.2",
|
||||
"typings-global": "^1.0.6",
|
||||
"vinyl": "^1.1.1",
|
||||
"typings-global": "^1.0.14",
|
||||
"vinyl": "^1.2.0",
|
||||
"vinyl-file": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/should": "^8.1.29",
|
||||
"gulp-function": "^1.3.6",
|
||||
"npmts-g": "^5.2.6",
|
||||
"should": "^10.0.0",
|
||||
"typings-test": "^1.0.1"
|
||||
"npmts-g": "^5.2.8",
|
||||
"should": "^11.1.0",
|
||||
"typings-test": "^1.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -3,13 +3,13 @@ export import beautylog = require("beautylog");
|
||||
export import fs = require("fs");
|
||||
export import fsExtra = require("fs-extra");
|
||||
export let gulp = require("gulp");
|
||||
export import glob = require("glob");
|
||||
export let glob = require("glob");
|
||||
export let g = {
|
||||
remoteSrc: require("gulp-remote-src")
|
||||
};
|
||||
export import path = require("path");
|
||||
export import Q = require("q");
|
||||
export import vinyl = require("vinyl");
|
||||
export let vinyl = require("vinyl");
|
||||
export let vinylFile = require("vinyl-file");
|
||||
export let yaml = require("js-yaml");
|
||||
export let request = require("request");
|
||||
|
Loading…
Reference in New Issue
Block a user