Message ID | 20211224141535.66690-1-bartel.eerdekens@constell8.be |
---|---|
State | Accepted |
Headers | show |
Series | Update web-app deps to build on node v16 | expand |
Inspired on https://groups.google.com/g/swupdate/c/ewJX0dGjJOo/m/e8w2DHIsBgAJ but with minimal changes, such it is backwards compatible as well. Thanks and happy holidays! Kind regards. Op vrijdag 24 december 2021 om 15:15:41 UTC+1 schreef Bartel Eerdekens: > Minimal update of packages, backwards compatibile with e.g. node v14 > > Signed-off-by: Bartel Eerdekens <bartel.e...@constell8.be> > --- > web-app/gulpfile.js | 2 +- > web-app/package.json | 11 ++++++----- > 2 files changed, 7 insertions(+), 6 deletions(-) > > diff --git a/web-app/gulpfile.js b/web-app/gulpfile.js > index 19d17a1..84bf320 100755 > --- a/web-app/gulpfile.js > +++ b/web-app/gulpfile.js > @@ -15,7 +15,7 @@ var htmlmin = require('gulp-htmlmin') > var minify = require('gulp-minify') > var rename = require('gulp-rename') > var replace = require('gulp-replace') > -var sass = require('gulp-sass') > +var sass = require('gulp-sass')(require('sass')); > var tar = require('gulp-tar') > var useref = require('gulp-useref') > var minimist = require('minimist') > diff --git a/web-app/package.json b/web-app/package.json > index 2909b45..3e461e7 100755 > --- a/web-app/package.json > +++ b/web-app/package.json > @@ -16,6 +16,7 @@ > "devDependencies": { > "csslint": "^1.0.5", > "del": "^3.0.0", > + "eslint": "^5.11.1", > "gulp": "^4.0.0", > "gulp-clean-css": "^4.0.0", > "gulp-filter": "^5.1.0", > @@ -26,21 +27,21 @@ > "gulp-minify": "^3.1.0", > "gulp-rename": "^1.4.0", > "gulp-replace": "^1.0.0", > - "gulp-sass": "^4.0.2", > + "gulp-sass": "^5.0.0", > "gulp-tar": "^2.1.0", > "gulp-useref": "^3.1.6", > "htmlhint": "^0.10.1", > "minimist": "^1.2.0", > + "sass": "^1.45.1", > "sass-lint": "^1.12.1", > - "standard": "^12.0.1", > - "eslint": "^5.11.1" > + "standard": "^12.0.1" > }, > "dependencies": { > "@fortawesome/fontawesome-free": "^5.6.3", > "bootstrap": "^4.2.1", > - "popper.js": "^1.14.6", > "dropzone": "5.5.1", > - "jquery": "^3.3.1" > + "jquery": "^3.3.1", > + "popper.js": "^1.14.6" > }, > "standard": { > "ignore": [ > -- > 2.24.3 (Apple Git-128) > >
On 24.12.21 09:16, Bartel Eerdekens wrote: > Inspired > on https://groups.google.com/g/swupdate/c/ewJX0dGjJOo/m/e8w2DHIsBgAJ but > with minimal changes, such it is backwards compatible as well. > > Thanks and happy holidays! > Kind regards. > Applied to -master, thanks ! Best regards, Stefano Babic > Op vrijdag 24 december 2021 om 15:15:41 UTC+1 schreef Bartel Eerdekens: > > Minimal update of packages, backwards compatibile with e.g. node v14 > > Signed-off-by: Bartel Eerdekens <bartel.e...@constell8.be> > --- > web-app/gulpfile.js | 2 +- > web-app/package.json | 11 ++++++----- > 2 files changed, 7 insertions(+), 6 deletions(-) > > diff --git a/web-app/gulpfile.js b/web-app/gulpfile.js > index 19d17a1..84bf320 100755 > --- a/web-app/gulpfile.js > +++ b/web-app/gulpfile.js > @@ -15,7 +15,7 @@ var htmlmin = require('gulp-htmlmin') > var minify = require('gulp-minify') > var rename = require('gulp-rename') > var replace = require('gulp-replace') > -var sass = require('gulp-sass') > +var sass = require('gulp-sass')(require('sass')); > var tar = require('gulp-tar') > var useref = require('gulp-useref') > var minimist = require('minimist') > diff --git a/web-app/package.json b/web-app/package.json > index 2909b45..3e461e7 100755 > --- a/web-app/package.json > +++ b/web-app/package.json > @@ -16,6 +16,7 @@ > "devDependencies": { > "csslint": "^1.0.5", > "del": "^3.0.0", > + "eslint": "^5.11.1", > "gulp": "^4.0.0", > "gulp-clean-css": "^4.0.0", > "gulp-filter": "^5.1.0", > @@ -26,21 +27,21 @@ > "gulp-minify": "^3.1.0", > "gulp-rename": "^1.4.0", > "gulp-replace": "^1.0.0", > - "gulp-sass": "^4.0.2", > + "gulp-sass": "^5.0.0", > "gulp-tar": "^2.1.0", > "gulp-useref": "^3.1.6", > "htmlhint": "^0.10.1", > "minimist": "^1.2.0", > + "sass": "^1.45.1", > "sass-lint": "^1.12.1", > - "standard": "^12.0.1", > - "eslint": "^5.11.1" > + "standard": "^12.0.1" > }, > "dependencies": { > "@fortawesome/fontawesome-free": "^5.6.3", > "bootstrap": "^4.2.1", > - "popper.js": "^1.14.6", > "dropzone": "5.5.1", > - "jquery": "^3.3.1" > + "jquery": "^3.3.1", > + "popper.js": "^1.14.6" > }, > "standard": { > "ignore": [ > -- > 2.24.3 (Apple Git-128) > > -- > You received this message because you are subscribed to the Google > Groups "swupdate" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to swupdate+unsubscribe@googlegroups.com > <mailto:swupdate+unsubscribe@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/swupdate/2a6c33bd-beb9-4698-8027-cca36518d45en%40googlegroups.com > <https://groups.google.com/d/msgid/swupdate/2a6c33bd-beb9-4698-8027-cca36518d45en%40googlegroups.com?utm_medium=email&utm_source=footer>.
diff --git a/web-app/gulpfile.js b/web-app/gulpfile.js index 19d17a1..84bf320 100755 --- a/web-app/gulpfile.js +++ b/web-app/gulpfile.js @@ -15,7 +15,7 @@ var htmlmin = require('gulp-htmlmin') var minify = require('gulp-minify') var rename = require('gulp-rename') var replace = require('gulp-replace') -var sass = require('gulp-sass') +var sass = require('gulp-sass')(require('sass')); var tar = require('gulp-tar') var useref = require('gulp-useref') var minimist = require('minimist') diff --git a/web-app/package.json b/web-app/package.json index 2909b45..3e461e7 100755 --- a/web-app/package.json +++ b/web-app/package.json @@ -16,6 +16,7 @@ "devDependencies": { "csslint": "^1.0.5", "del": "^3.0.0", + "eslint": "^5.11.1", "gulp": "^4.0.0", "gulp-clean-css": "^4.0.0", "gulp-filter": "^5.1.0", @@ -26,21 +27,21 @@ "gulp-minify": "^3.1.0", "gulp-rename": "^1.4.0", "gulp-replace": "^1.0.0", - "gulp-sass": "^4.0.2", + "gulp-sass": "^5.0.0", "gulp-tar": "^2.1.0", "gulp-useref": "^3.1.6", "htmlhint": "^0.10.1", "minimist": "^1.2.0", + "sass": "^1.45.1", "sass-lint": "^1.12.1", - "standard": "^12.0.1", - "eslint": "^5.11.1" + "standard": "^12.0.1" }, "dependencies": { "@fortawesome/fontawesome-free": "^5.6.3", "bootstrap": "^4.2.1", - "popper.js": "^1.14.6", "dropzone": "5.5.1", - "jquery": "^3.3.1" + "jquery": "^3.3.1", + "popper.js": "^1.14.6" }, "standard": { "ignore": [
Minimal update of packages, backwards compatibile with e.g. node v14 Signed-off-by: Bartel Eerdekens <bartel.eerdekens@constell8.be> --- web-app/gulpfile.js | 2 +- web-app/package.json | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-)