]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Aug 2020 12:47:44 +0000 (14:47 +0200)
commita7e3c12e6175e19299e7bdbe60d1bc7d41d45ce8
tree60137f43dd84158e085354c0c0dac98283ae5bd3
parentd8f3e0ec0dbaf73075299a88a254334cfaf1d29e
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>
gulpfile.js
package.json
yarn.lock