]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 3 Sep 2020 14:49:31 +0000 (14:49 +0000)
commit65f443f22f78600979a36a422c8f1e71f580ee18
treed5cd5ae66087495008b7495905f7e12c69480a20
parent0b444c4bc0f3a677acfc2423b19a04ddea8b9dff
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>
gulpfile.js
package.json
yarn.lock