]> git.koha-community.org Git - koha.git/commit
Bug 26228: Update gulpfile to work with Node.js v12
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 17 Aug 2020 15:12:55 +0000 (12:12 -0300)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 9 Sep 2020 04:04:42 +0000 (16:04 +1200)
commit518ea70806ec765766a31bbcfcbfa216cbf94eb1
tree39ad8f2c884e52bf94e1567ce8ef1870b95aef3d
parentcf9d0e651b0b7686a25602336b8d3060388de0e9
Bug 26228: Update gulpfile to work with Node.js v12

This patch makes the gulpfile work with gulp v4 on Node v12. To test it,
make sure your dev env has Node.js v12.

It also replaces the use of 'gulp-util' (deprecated) by 'minimist' as
recommended on their site.

On both KTD and KohaDevBox edit your sources.list so the node line
points to 'node_12.x' instead of 'node_8.x'.

Once that's done:
1. On your clone run:
   $ yarn install
   $ npm install -E
2. Build the CSS:
   $ yarn build
   $ yarn build --view opac
=> SUCCESS: Things build correctly
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit a7e3c12e6175e19299e7bdbe60d1bc7d41d45ce8)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 65f443f22f78600979a36a422c8f1e71f580ee18)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
gulpfile.js
package.json
yarn.lock