diff --git a/package.json b/package.json index cf83218..5d4e8fd 100644 --- a/package.json +++ b/package.json @@ -26,12 +26,12 @@ "tapbundle": "^1.1.1" }, "dependencies": { - "@types/lodash": "^4.14.71", + "@types/lodash": "^4.14.72", "lodash": "^4.17.4", - "smartfile": "^4.2.17", + "smartfile": "^4.2.20", "smartfm": "^1.0.5", "smarthbs": "^1.0.16", - "smartinteract": "^1.0.7", + "smartinteract": "^1.0.9", "smartq": "^1.1.6", "smartyaml": "^1.0.2", "typings-global": "^1.0.20" diff --git a/test/test.ts b/test/test.ts index c7bc14c..1efe242 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1,7 +1,7 @@ import { expect, tap } from 'tapbundle' import * as path from 'path' -import * as smartscaf from '../dist/index' +import * as smartscaf from '../ts/index' process.env.CI = 'true' diff --git a/test/test_output/template3.md b/test/test_output/template3.md deleted file mode 100644 index bd4039f..0000000 --- a/test/test_output/template3.md +++ /dev/null @@ -1 +0,0 @@ -# some undefined variable \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 230f5cb..94d0386 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,19 +16,26 @@ "@types/chai" "*" "@types/chai@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.1.tgz#37fea779617cfec3fd2b19a0247e8bbdd5133bf6" + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.2.tgz#cce9666f5ee2fa27ffd505d2dfaf53bb02ed2584" "@types/chai@^3.4.35": version "3.5.2" resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.5.2.tgz#c11cd2817d3a401b7ba0f5a420f35c56139b1c1e" -"@types/fs-extra@3.x.x": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.3.tgz#1d66eb670ebf657e57c0fda014df340c19d8aa0c" +"@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: "@types/node" "*" +"@types/glob@*": + version "5.0.30" + resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.30.tgz#1026409c5625a8689074602808d082b2867b8a51" + dependencies: + "@types/minimatch" "*" + "@types/node" "*" + "@types/handlebars@^4.0.32": version "4.0.35" resolved "https://registry.yarnpkg.com/@types/handlebars/-/handlebars-4.0.35.tgz#409eb97a3ad6970daba4d586cb6afe3f5e082c01" @@ -44,17 +51,17 @@ version "3.9.0" resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-3.9.0.tgz#cf82d31326251e8e94848d98a0665875928cdae6" -"@types/lodash@^4.14.55", "@types/lodash@^4.14.64", "@types/lodash@^4.14.67", "@types/lodash@^4.14.71": - version "4.14.71" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.71.tgz#0dc383f78981216ac76e2f2c3afd998e0450e4c1" +"@types/lodash@^4.14.55", "@types/lodash@^4.14.64", "@types/lodash@^4.14.67", "@types/lodash@^4.14.72": + version "4.14.72" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.72.tgz#f090cf6eb1fee1647a0efa1ebe18b0b78ed551c6" -"@types/minimatch@2.x.x": +"@types/minimatch@*", "@types/minimatch@2.x.x": version "2.0.29" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-2.0.29.tgz#5002e14f75e2d71e564281df0431c8c1b4a2a36a" "@types/node@*": - version "8.0.17" - resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.17.tgz#677bc8c118cfb76013febb62ede1f31d2c7222a1" + version "8.0.20" + resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.20.tgz#65c7375255c24b184c215a5d0b63247c32f01c91" "@types/promises-a-plus@*": version "0.0.27" @@ -153,9 +160,10 @@ "@types/rx-lite-virtualtime" "*" "@types/shelljs@^0.7.2": - version "0.7.2" - resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.2.tgz#c2bdb3fe80cd7a3da08750ca898ae44c589671f3" + version "0.7.4" + resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.4.tgz#137b5f31306eaff4de120ffe5b9d74b297809cfc" dependencies: + "@types/glob" "*" "@types/node" "*" "@types/through@*": @@ -311,8 +319,8 @@ chalk@^1.0.0, chalk@^1.1.1: supports-color "^2.0.0" chalk@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.0.1.tgz#dbec49436d2ae15f536114e76d14656cdbc0f44d" + version "2.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.1.0.tgz#ac5becf14fa21b99c6c92ca7a7d7cfd5b17e743e" dependencies: ansi-styles "^3.1.0" escape-string-regexp "^1.0.5" @@ -412,13 +420,14 @@ early@^2.1.1: typings-global "^1.0.16" es-abstract@^1.5.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c" + 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.3" + is-regex "^1.0.4" es-to-primitive@^1.1.1: version "1.1.1" @@ -474,9 +483,9 @@ foreach@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" -fs-extra@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291" +fs-extra@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.1.tgz#7fc0c6c8957f983f57f306a24e5b9ddd8d0dd880" dependencies: graceful-fs "^4.1.2" jsonfile "^3.0.0" @@ -490,7 +499,7 @@ function-bind@^1.0.2, function-bind@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771" -glob@^7.0.0, glob@^7.1.1: +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: @@ -609,7 +618,7 @@ is-promise@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" -is-regex@^1.0.3: +is-regex@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" dependencies: @@ -631,16 +640,16 @@ isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" -js-yaml@^3.8.1, js-yaml@^3.8.3, js-yaml@^3.8.4: - version "3.9.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.0.tgz#4ffbbf25c2ac963b8299dc74da7e3740de1c18ce" +js-yaml@^3.8.1, js-yaml@^3.8.4, js-yaml@^3.9.1: + version "3.9.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.1.tgz#08775cebdfdd359209f0d2acd383c8f86a6904a0" dependencies: argparse "^1.0.7" esprima "^4.0.0" jschardet@^1.4.2: - version "1.5.0" - resolved "https://registry.yarnpkg.com/jschardet/-/jschardet-1.5.0.tgz#a61f310306a5a71188e1b1acd08add3cfbb08b1e" + version "1.5.1" + resolved "https://registry.yarnpkg.com/jschardet/-/jschardet-1.5.1.tgz#c519f629f86b3a5bedba58a88d311309eec097f9" jsonfile@^3.0.0: version "3.0.1" @@ -925,21 +934,20 @@ smartenv@^2.0.0: smartq "^1.1.1" typings-global "^1.0.14" -smartfile@^4.2.11, smartfile@^4.2.17: - version "4.2.17" - resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.17.tgz#9eba8f65eea7e4db51aa30562f6039815a88b125" +smartfile@^4.2.11, smartfile@^4.2.20: + version "4.2.20" + resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.20.tgz#abc37c04fb7b3afea68fa295dfb80083361a8028" dependencies: - "@types/fs-extra" "3.x.x" + "@types/fs-extra" "4.x.x" "@types/vinyl" "^2.0.0" - fs-extra "^3.0.1" - glob "^7.1.1" - js-yaml "^3.8.3" + fs-extra "^4.0.0" + glob "^7.1.2" + js-yaml "^3.9.1" require-reload "0.2.2" smartpath "^3.2.8" - smartq "^1.1.1" - smartrequest "^1.0.4" - typings-global "^1.0.16" - vinyl "^2.0.2" + smartq "^1.1.6" + smartrequest "^1.0.6" + typings-global "^1.0.20" vinyl-file "^3.0.0" smartfm@^1.0.5: @@ -962,9 +970,9 @@ smarthbs@^1.0.16: smartq "^1.1.1" typings-global "^1.0.16" -smartinteract@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/smartinteract/-/smartinteract-1.0.7.tgz#ba839ef5159eaa51500579e3d3339e2af26e156f" +smartinteract@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/smartinteract/-/smartinteract-1.0.9.tgz#b342be7eaf9cc93d57faf13379500ed630c0dd22" dependencies: "@types/inquirer" "0.0.35" "@types/q" "1.0.3" @@ -988,7 +996,7 @@ smartq@^1.1.1, smartq@^1.1.6: typings-global "^1.0.19" util.promisify "^1.0.0" -smartrequest@^1.0.4: +smartrequest@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.6.tgz#a006454332453b0a70d38a003a29963d039a7783" dependencies: @@ -1171,7 +1179,7 @@ vinyl-file@^3.0.0: strip-bom-stream "^2.0.0" vinyl "^2.0.1" -vinyl@^2.0.1, vinyl@^2.0.2: +vinyl@^2.0.1: version "2.1.0" resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.1.0.tgz#021f9c2cf951d6b939943c89eb5ee5add4fd924c" dependencies: @@ -1183,8 +1191,8 @@ vinyl@^2.0.1, vinyl@^2.0.2: replace-ext "^1.0.0" which@^1.2.14: - version "1.2.14" - resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5" + version "1.3.0" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" dependencies: isexe "^2.0.0"