Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gulp to the latest version 🚀 #205

Merged
merged 8 commits into from
Jan 3, 2019
2 changes: 1 addition & 1 deletion .gulp/tasks/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var clean = require('gulp-clean');

module.exports = function (gulp, path) {
return function () {
return gulp.src(path, { read: false })
return gulp.src(path, { read: false, allowEmpty: true })
.pipe(clean());
};
}
4 changes: 3 additions & 1 deletion .gulp/tasks/dts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ var dts = require('dts-bundle');

module.exports = function (gulp, name, main, out) {
return function () {
return dts.bundle({
dts.bundle({
name: name,
main: main,
out: out,
verbose: false,
outputAsModuleFolder: true
});

return Promise.resolve();
};
}

1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# NPM_TOKEN set in travis-ci.org dashboard and used by npm publish

npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
npm run deploy
4 changes: 2 additions & 2 deletions examples/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"main": "electron.js",
"private": true,
"dependencies": {
"@morgan-stanley/desktopjs": "^3.0.0-beta.1",
"@morgan-stanley/desktopjs-electron": "^3.0.0-beta.1",
"@morgan-stanley/desktopjs": "^3.0.0",
"@morgan-stanley/desktopjs-electron": "^3.0.0",
"electron-notify": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var gulp = require('gulp'),

gulp.task('test', require('./.gulp/tasks/tests')(gulp, gulpConfig));

gulp.task("server", [], function () {
gulp.task("server", function () {
return gulp.src(['examples/web', 'packages/desktopjs/dist', 'packages/desktopjs-electron/dist', 'packages/desktopjs-openfin/dist'])
.pipe(webserver({
fallback: 'index.html',
Expand Down
Loading