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

Update deps, including new hapi scope #72

Merged
merged 2 commits into from
Jun 21, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "eslint-config-hapi",
"extends": "@hapi/eslint-config-hapi",
"parserOptions": {
"ecmaVersion": 9
"ecmaVersion": 2019
}
}
31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,29 @@
"main": "lib/index.js",
"scripts": {
"start": "node server",
"test": "lab -a code -I 'core,__core-js_shared__' -L",
"test": "lab -a @hapi/code -I 'core,__core-js_shared__' -L",
"lint": "eslint ."
},
"dependencies": {
"boom": "7.x.x",
"haute-couture": "3.x.x",
"joi": "14.x.x"
"@hapi/boom": "7.x.x",
"@hapi/joi": "15.x.x",
"haute-couture": "3.x.x"
},
"devDependencies": {
"code": "5.x.x",
"@hapi/code": "5.x.x",
"@hapi/eslint-config-hapi": "12.x.x",
"@hapi/eslint-plugin-hapi": "4.x.x",
"@hapi/glue": "6.x.x",
"@hapi/hapi": "18.x.x",
"@hapi/inert": "5.x.x",
"@hapi/lab": "19.x.x",
"@hapi/vision": "5.x.x",
"confidence": "4.x.x",
"dotenv": "6.x.x",
"dotenv": "8.x.x",
"eslint": "5.x.x",
"eslint-config-hapi": "12.x.x",
"eslint-plugin-hapi": "4.x.x",
"glue": "5.x.x",
"hapi": "18.x.x",
"hapi-swagger": "9.x.x",
"hapi-swagger": "10.x.x",
"hpal": "2.x.x",
"hpal-debug": "1.x.x",
"inert": "5.x.x",
"lab": "18.x.x",
"toys": "2.x.x",
"vision": "5.x.x"
"toys": "2.x.x"
}
}
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const Glue = require('glue');
const Glue = require('@hapi/glue');
const Manifest = require('./manifest');

exports.deployment = async (start) => {
Expand Down
4 changes: 2 additions & 2 deletions server/plugins/swagger.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const Inert = require('inert');
const Vision = require('vision');
const Inert = require('@hapi/inert');
const Vision = require('@hapi/vision');
const HapiSwagger = require('hapi-swagger');
const Package = require('../../package.json');

Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

// Load modules

const Code = require('code');
const Lab = require('lab');
const Code = require('@hapi/code');
const Lab = require('@hapi/lab');
const Server = require('../server');
const Package = require('../package.json');

Expand Down