From acee64b5f875e75ace878f45f2b780712eae652d Mon Sep 17 00:00:00 2001 From: pirhoo Date: Thu, 4 Jan 2018 19:28:32 +0100 Subject: [PATCH] Debug deploy --- .gitignore | 1 + gulp/build.js | 2 +- package.json | 2 +- yarn.lock | 55 ++++++++++++++++++++++++--------------------------- 4 files changed, 29 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 6ca8df9..668ece1 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ coverage # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git node_modules bower_components +.publish diff --git a/gulp/build.js b/gulp/build.js index aa42212..74f7b40 100644 --- a/gulp/build.js +++ b/gulp/build.js @@ -117,7 +117,7 @@ gulp.task('clean', function (done) { }); gulp.task('deploy', ['build'], function() { - gulp.src('./dist/**/*').pipe($.ghPages({ + return gulp.src('./dist/**/*').pipe($.ghPages({ remoteUrl: require('../package.json').staticRemote })); }); diff --git a/package.json b/package.json index 5fbe20f..4ddefe3 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "gulp-csso": "^0.2.6", "gulp-filter": "^1.0.0", "gulp-flatten": "^0.0.2", - "gulp-gh-pages": "~0.4.0", + "gulp-gh-pages": "github:tekd/gulp-gh-pages.git#update-dependency", "gulp-imagemin": "^1.0.0", "gulp-inject": "^1.0.0", "gulp-jshint": "^1.8.0", diff --git a/yarn.lock b/yarn.lock index 17d3004..4262507 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2058,6 +2058,10 @@ es6-iterator@~0.1.3: es5-ext "~0.10.5" es6-symbol "~2.0.1" +es6-promise@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-2.3.0.tgz#96edb9f2fdb01995822b263dd8aadab6748181bc" + es6-promise@^4.0.3: version "4.2.2" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.2.tgz#f722d7769af88bd33bc13ec6605e1f92966b82d9" @@ -2682,24 +2686,12 @@ gifsicle@^3.0.0: bin-wrapper "^3.0.0" logalot "^2.0.0" -gift@^0.4.1: - version "0.4.2" - resolved "https://registry.yarnpkg.com/gift/-/gift-0.4.2.tgz#1bd24d2846ad3fa71d28ff0b54f4c06a2fdd22ad" +gift@^0.10.1: + version "0.10.1" + resolved "https://registry.yarnpkg.com/gift/-/gift-0.10.1.tgz#5020dc19a30bf8df2cdc75b9863ca47503565781" dependencies: underscore "1.x.x" -git-remote-origin-url@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-1.1.2.tgz#752c6475495dc493bff350c46c7abaa50a29347e" - dependencies: - gitconfiglocal "^1.0.0" - -gitconfiglocal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" - dependencies: - ini "^1.3.2" - glob-base@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" @@ -2976,17 +2968,16 @@ gulp-flatten@^0.0.2: gulp-util "~2.2.9" through2 "~0.4.0" -gulp-gh-pages@~0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/gulp-gh-pages/-/gulp-gh-pages-0.4.0.tgz#e19a5af59c35300306abd139a57a596fd61f1add" +"gulp-gh-pages@github:tekd/gulp-gh-pages.git#update-dependency": + version "0.5.4" + resolved "github:tekd/gulp-gh-pages.git#23c3ee535bf160d25683a83efaa3b1417f9e787c" dependencies: - gift "^0.4.1" - git-remote-origin-url "^1.0.0" - gulp-util "^3.0.1" - lodash "^2.4.1" - rimraf "^2.2.6" - through2 "^0.6.1" - when "^3.4.5" + gift "^0.10.1" + gulp-util "^3.0.7" + readable-stream "^2.0.4" + rimraf "^2.4.4" + vinyl-fs "^2.2.1" + wrap-promise "^1.0.1" gulp-if@^1.2.5: version "1.2.5" @@ -3673,7 +3664,7 @@ inherits@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" -ini@^1.3.2, ini@^1.3.4, ini@~1.3.0: +ini@^1.3.4, ini@~1.3.0: version "1.3.5" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" @@ -6254,7 +6245,7 @@ right-align@^0.1.1: dependencies: align-text "^0.1.1" -rimraf@2, rimraf@^2.2.6, rimraf@^2.2.8, rimraf@^2.4.0, rimraf@^2.5.1, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1: +rimraf@2, rimraf@^2.2.6, rimraf@^2.2.8, rimraf@^2.4.0, rimraf@^2.4.4, rimraf@^2.5.1, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1: version "2.6.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" dependencies: @@ -7468,7 +7459,7 @@ vinyl-fs@^1.0.0: through2 "^0.6.1" vinyl "^0.4.0" -vinyl-fs@^2.2.0: +vinyl-fs@^2.2.0, vinyl-fs@^2.2.1: version "2.4.4" resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-2.4.4.tgz#be6ff3270cb55dfd7d3063640de81f25d7532239" dependencies: @@ -7581,7 +7572,7 @@ webdriver-manager@^12.0.6: semver "^5.3.0" xml2js "^0.4.17" -when@^3.4.5, when@^3.7.7: +when@^3.7.7: version "3.7.8" resolved "https://registry.yarnpkg.com/when/-/when-3.7.8.tgz#c7130b6a7ea04693e842cdc9e7a1f2aa39a39f82" @@ -7634,6 +7625,12 @@ wrap-fn@^0.1.0: dependencies: co "3.1.0" +wrap-promise@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/wrap-promise/-/wrap-promise-1.0.1.tgz#b019f4236ccbf1fb560921b4b4870b7bda2f5255" + dependencies: + es6-promise "^2.3.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"