From e38d79522167fafa1cf0034fee2169f3b48374e1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 6 Oct 2017 23:01:41 +0200 Subject: [PATCH] package: prefix deps versions with a "~" to target the most recent minor versions and avoid build failure when a dep's patch release gets deleted (issue #105) --- app/package.json | 18 +++++++++--------- package.json | 46 +++++++++++++++++++++++----------------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/app/package.json b/app/package.json index 7b45a70b..d5fd7cdd 100644 --- a/app/package.json +++ b/app/package.json @@ -21,15 +21,15 @@ "license": "GPL-3.0", "main": "index.js", "dependencies": { - "vmodule":"1.0.1", - "electron-localshortcut": "2.0.2", - "osc": "2.2.0", - "yargs": "9.0.1", - "socket.io": "2.0.3", - "express": "4.16.1", - "jquery": "3.2.1", - "chokidar": "1.7.0", - "python-shell":"0.4.0" + "vmodule":"~1.0.1", + "electron-localshortcut": "~2.0.2", + "osc": "~2.2.0", + "yargs": "~9.0.1", + "socket.io": "~2.0.3", + "express": "~4.16.1", + "jquery": "~3.2.1", + "chokidar": "~1.7.0", + "python-shell":"~0.4.0" }, "scripts": { "start": "electron ." diff --git a/package.json b/package.json index 8744c9b0..88f609da 100644 --- a/package.json +++ b/package.json @@ -19,31 +19,31 @@ "homepage": "http://osc.ammd.net/", "license": "GPL-3.0", "dependencies": { - "autolayout": "0.7.0", - "babel-plugin-transform-object-rest-spread": "6.26.0", - "babel-preset-env": "*", - "babelify": "7.3.0", - "browserify": "14.4.0", - "cardinal-spline-js": "2.3.6", - "electron": "1.8.1", - "electron-packager": "9.1.0", - "exorcist": "1.0.0", - "file-saver": "1.3.3", - "jquery": "3.2.1", - "json5": "0.5.1", - "kiwi.js": "1.0.1", - "licensify": "3.1.3", - "mathjs": "3.16.4", - "node-sass": "4.5.3", - "nodemon": "1.12.0", - "nosleep.js": "0.7.0", - "screenfull": "3.3.1", - "shortid": "2.2.8", - "socket.io-client": "2.0.3", - "uglifyify": "4.0.4" + "autolayout": "~0.7.0", + "babel-plugin-transform-object-rest-spread": "~6.26.0", + "babel-preset-env": "~1.6.0", + "babelify": "~7.3.0", + "browserify": "~14.4.0", + "cardinal-spline-js": "~2.3.6", + "electron": "~1.8.1", + "electron-packager": "~9.1.0", + "exorcist": "~1.0.0", + "file-saver": "~1.3.3", + "jquery": "~3.2.1", + "json5": "~0.5.1", + "kiwi.js": "~1.0.1", + "licensify": "~3.1.3", + "mathjs": "~3.16.4", + "node-sass": "~4.5.3", + "nodemon": "~1.12.0", + "nosleep.js": "~0.7.0", + "screenfull": "~3.3.1", + "shortid": "~2.2.8", + "socket.io-client": "~2.0.3", + "uglifyify": "~4.0.4" }, "optionalDependencies": { - "electron-installer-debian": "0.6.0" + "electron-installer-debian": "~0.6.0" }, "scripts": { "postinstall": "cp resources/images/logo.ico app/browser/favicon.ico && cd app && npm install && cd .. && npm run build-js && npm run build-css",