Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove gulp-util #664

Merged
merged 4 commits into from
Jan 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Internal:
- [#663 update Standard to 12.0.1](https://github.com/alphagov/govuk-prototype-kit/pull/663)
- [#640 Replace Mocha with Jest](https://github.com/alphagov/govuk-prototype-kit/pull/640)
- [#659 Upgrade kit to use Gulp 4](https://github.com/alphagov/govuk-prototype-kit/pull/659)
- [#664 Remove deprecated gulp-util](https://github.com/alphagov/govuk-prototype-kit/pull/664)

# 8.4.0

Expand Down
5 changes: 3 additions & 2 deletions gulp/nodemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ const fs = require('fs')
const path = require('path')

const gulp = require('gulp')
const gutil = require('gulp-util')
const colour = require('ansi-colors')
const log = require('fancy-log')
const nodemon = require('gulp-nodemon')

const config = require('./config.json')

// Warn about npm install on crash
const onCrash = () => {
gutil.log(gutil.colors.cyan('[nodemon] For missing modules try running `npm install`'))
log(colour.cyan('[nodemon] For missing modules try running `npm install`'))
}

// Remove .port.tmp if it exists
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"test": "npm run lint && gulp generate-assets && jest"
},
"dependencies": {
"ansi-colors": "^3.2.3",
"basic-auth": "^2.0.0",
"basic-auth-connect": "^1.0.0",
"body-parser": "^1.14.1",
Expand All @@ -24,6 +25,7 @@
"express": "4.16.3",
"express-session": "^1.13.0",
"express-writer": "0.0.4",
"fancy-log": "^1.3.3",
"govuk-elements-sass": "^3.1.3",
"govuk-frontend": "^2.4.1",
"govuk_frontend_toolkit": "^7.5.0",
Expand All @@ -32,7 +34,6 @@
"gulp-nodemon": "^2.1.0",
"gulp-sass": "^4.0.1",
"gulp-sourcemaps": "^2.6.0",
"gulp-util": "^3.0.7",
"keypather": "^3.0.0",
"marked": "^0.4.0",
"notifications-node-client": "^4.1.0",
Expand Down