update typings, deps and ci
This commit is contained in:
parent
9f3a71f0b9
commit
fde809eb02
@ -1,5 +1,10 @@
|
|||||||
# gitzone standard
|
# gitzone standard
|
||||||
image: hosttoday/ht-docker-node:npmts
|
image: hosttoday/ht-docker-node:npmci
|
||||||
|
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- .yarn/
|
||||||
|
key: "$CI_BUILD_STAGE"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
|
2
dist/smartfile.fs.d.ts
vendored
2
dist/smartfile.fs.d.ts
vendored
@ -90,7 +90,7 @@ export declare let toObjectSync: (filePathArg: any, fileTypeArg?: any) => any;
|
|||||||
* @param filePath
|
* @param filePath
|
||||||
* @returns {string|Buffer|any}
|
* @returns {string|Buffer|any}
|
||||||
*/
|
*/
|
||||||
export declare let toStringSync: (filePath: any) => any;
|
export declare let toStringSync: (filePath: string) => string;
|
||||||
export declare let fileTreeToObject: (dirPathArg: string, miniMatchFilter: string) => Promise<Smartfile[]>;
|
export declare let fileTreeToObject: (dirPathArg: string, miniMatchFilter: string) => Promise<Smartfile[]>;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
5
dist/smartfile.fs.js
vendored
5
dist/smartfile.fs.js
vendored
File diff suppressed because one or more lines are too long
@ -30,10 +30,10 @@
|
|||||||
"@types/vinyl": "^2.0.0",
|
"@types/vinyl": "^2.0.0",
|
||||||
"fs-extra": "^2.0.0",
|
"fs-extra": "^2.0.0",
|
||||||
"glob": "^7.1.1",
|
"glob": "^7.1.1",
|
||||||
"js-yaml": "^3.7.0",
|
"js-yaml": "^3.8.2",
|
||||||
"require-reload": "0.2.2",
|
"require-reload": "0.2.2",
|
||||||
"smartpath": "^3.2.7",
|
"smartpath": "^3.2.8",
|
||||||
"smartq": "^1.0.4",
|
"smartq": "^1.1.1",
|
||||||
"smartrequest": "^1.0.4",
|
"smartrequest": "^1.0.4",
|
||||||
"typings-global": "^1.0.14",
|
"typings-global": "^1.0.14",
|
||||||
"vinyl": "^2.0.1",
|
"vinyl": "^2.0.1",
|
||||||
@ -42,7 +42,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp-function": "^2.2.3",
|
"gulp-function": "^2.2.3",
|
||||||
"npmts-g": "^6.0.0",
|
"npmts-g": "^6.0.0",
|
||||||
"smartchai": "^1.0.1",
|
"smartchai": "^1.0.3",
|
||||||
"typings-test": "^1.0.3"
|
"typings-test": "^1.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -203,9 +203,8 @@ export let toObjectSync = function (filePathArg, fileTypeArg?) {
|
|||||||
* @param filePath
|
* @param filePath
|
||||||
* @returns {string|Buffer|any}
|
* @returns {string|Buffer|any}
|
||||||
*/
|
*/
|
||||||
export let toStringSync = function (filePath) {
|
export let toStringSync = function (filePath: string) {
|
||||||
let fileString
|
let fileString = plugins.fsExtra.readFileSync(filePath, 'utf8')
|
||||||
fileString = plugins.fsExtra.readFileSync(filePath, 'utf8')
|
|
||||||
return fileString
|
return fileString
|
||||||
}
|
}
|
||||||
|
|
||||||
|
36
yarn.lock
36
yarn.lock
@ -9,7 +9,13 @@
|
|||||||
"@types/chai" "*"
|
"@types/chai" "*"
|
||||||
"@types/promises-a-plus" "*"
|
"@types/promises-a-plus" "*"
|
||||||
|
|
||||||
"@types/chai@*", "@types/chai@^3.4.34":
|
"@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@*", "@types/chai@^3.4.35":
|
||||||
version "3.4.35"
|
version "3.4.35"
|
||||||
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.4.35.tgz#e8d65f83492d2944f816fc620741821c28a8c900"
|
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.4.35.tgz#e8d65f83492d2944f816fc620741821c28a8c900"
|
||||||
|
|
||||||
@ -84,6 +90,10 @@ chai-as-promised@^6.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
check-error "^1.0.2"
|
check-error "^1.0.2"
|
||||||
|
|
||||||
|
chai-string@^1.3.0:
|
||||||
|
version "1.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/chai-string/-/chai-string-1.3.0.tgz#df6139f294391b1035be5606f60a843b3a5041e7"
|
||||||
|
|
||||||
chai@^3.5.0:
|
chai@^3.5.0:
|
||||||
version "3.5.0"
|
version "3.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247"
|
resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247"
|
||||||
@ -209,9 +219,9 @@ 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.7.0:
|
js-yaml@^3.8.2:
|
||||||
version "3.8.1"
|
version "3.8.2"
|
||||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.1.tgz#782ba50200be7b9e5a8537001b7804db3ad02628"
|
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.2.tgz#02d3e2c0f6beab20248d412c352203827d786721"
|
||||||
dependencies:
|
dependencies:
|
||||||
argparse "^1.0.7"
|
argparse "^1.0.7"
|
||||||
esprima "^3.1.1"
|
esprima "^3.1.1"
|
||||||
@ -309,23 +319,25 @@ shelljs@^0.7.4, shelljs@^0.7.5:
|
|||||||
interpret "^1.0.0"
|
interpret "^1.0.0"
|
||||||
rechoir "^0.6.2"
|
rechoir "^0.6.2"
|
||||||
|
|
||||||
smartchai@^1.0.1:
|
smartchai@^1.0.3:
|
||||||
version "1.0.1"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/smartchai/-/smartchai-1.0.1.tgz#cde7776212fa5145d62dc4195405929807a3e0e5"
|
resolved "https://registry.yarnpkg.com/smartchai/-/smartchai-1.0.3.tgz#de6d010bb8b5aef24cb70b31a5f5334e8c41b72f"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/chai" "^3.4.34"
|
"@types/chai" "^3.4.35"
|
||||||
"@types/chai-as-promised" "0.0.29"
|
"@types/chai-as-promised" "0.0.29"
|
||||||
|
"@types/chai-string" "^1.1.30"
|
||||||
chai "^3.5.0"
|
chai "^3.5.0"
|
||||||
chai-as-promised "^6.0.0"
|
chai-as-promised "^6.0.0"
|
||||||
|
chai-string "^1.3.0"
|
||||||
|
|
||||||
smartpath@^3.2.7:
|
smartpath@^3.2.8:
|
||||||
version "3.2.7"
|
version "3.2.8"
|
||||||
resolved "https://registry.yarnpkg.com/smartpath/-/smartpath-3.2.7.tgz#01688f01f9abbaa418dc2be561d9b0eaef3e5782"
|
resolved "https://registry.yarnpkg.com/smartpath/-/smartpath-3.2.8.tgz#4834bd3a8bae2295baacadba23c87a501952f940"
|
||||||
dependencies:
|
dependencies:
|
||||||
home "^1.0.1"
|
home "^1.0.1"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
smartq@^1.0.4, smartq@^1.1.0:
|
smartq@^1.1.0, smartq@^1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.1.tgz#efb358705260d41ae18aef7ffd815f7b6fe17dd3"
|
resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.1.tgz#efb358705260d41ae18aef7ffd815f7b6fe17dd3"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user