From 3601823cfe885a33a061aa12ffa7891cd0afaafa Mon Sep 17 00:00:00 2001 From: Gabriel Wu Date: Sat, 10 Nov 2018 16:56:37 +0800 Subject: [PATCH 1/3] fix: make slackin work with gulp v4 --- gulpfile.babel.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index ef24d603..e7f6f672 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -13,22 +13,22 @@ const paths = { } } -gulp.task('transpile', () => { +gulp.task('transpile', gulp.series(() => { return gulp.src(paths.in.js) .pipe(babel()) .pipe(gulp.dest(paths.out.js)) -}) +})) -gulp.task('assets', () => { +gulp.task('assets', gulp.series(() => { return gulp.src(paths.in.assets) .pipe(gulp.dest(paths.out.assets)) -}) +})) -gulp.task('clean', () => { +gulp.task('clean', gulp.series(() => { return gulp.src(paths.out.js, { read: false }) .pipe(rimraf()) -}) +})) -gulp.task('default', ['transpile', 'assets']) +gulp.task('default', gulp.series(['transpile', 'assets'])) From 59b19f5e27a22976f9b33bf84156c1364f77332d Mon Sep 17 00:00:00 2001 From: Gabriel Wu Date: Sat, 10 Nov 2018 16:57:48 +0800 Subject: [PATCH 2/3] fix: update node version to enable now deployment --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7ac64270..a2319967 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "supertest": "0.15.0" }, "engines": { - "node": "6.11.1" + "node": ">6.11.1" }, "bin": { "slackin": "./bin/slackin" From 28f66e4194a2396e3b910bd2635f0e5f6372858d Mon Sep 17 00:00:00 2001 From: Gabriel Wu Date: Sat, 10 Nov 2018 17:20:33 +0800 Subject: [PATCH 3/3] fix: update all dependencies and pin the version --- package.json | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index a2319967..6c9a9062 100644 --- a/package.json +++ b/package.json @@ -14,32 +14,32 @@ ] }, "dependencies": { - "args": "1.3.0", - "babel-core": "6.3.26", - "babel-eslint": "6.0.4", - "babel-polyfill": "6.3.14", - "babel-preset-es2015": "6.3.13", - "babel-register": "6.9.0", - "body-parser": "1.10.2", - "cors": "2.7.1", - "debug": "3.0.1", + "args": "1.3.1", + "babel-core": "6.26.3", + "babel-eslint": "6.1.2", + "babel-polyfill": "6.26.0", + "babel-preset-es2015": "6.24.1", + "babel-register": "6.26.0", + "body-parser": "1.18.3", + "cors": "2.8.5", + "debug": "3.2.6", "email-regex": "1.0.0", - "express": "4.15.4", - "gulp-babel": "6.1.1", - "gulp-rimraf": "0.2.0", - "gulp": "3.9.0", - "hostenv": "1.0.1", - "opentype.js": "0.4.4", - "socket.io": "2.0.3", - "superagent": "3.6.0", + "express": "4.16.4", + "gulp": "4.0.0", + "gulp-babel": "6.1.3", + "gulp-rimraf": "0.2.2", + "hostenv": "1.0.6", + "opentype.js": "0.4.11", + "socket.io": "2.1.1", + "superagent": "3.8.3", "vd": "0.1.0" }, "license": "MIT", "devDependencies": { - "eslint": "2.12.0", - "eslint-config-default": "0.2.0", - "mocha": "2.2.4", - "nock": "2.17.0", + "eslint": "2.13.1", + "eslint-config-default": "^0.2.0", + "mocha": "2.5.3", + "nock": "2.18.2", "supertest": "0.15.0" }, "engines": {