Skip to content

Commit 40a25a2

Browse files
committed
refactor: update dependencies
development keys deps updated add eslint-plugin-codeceptjs to fix eslint issues for acceptant test
1 parent 58cb4c7 commit 40a25a2

File tree

6 files changed

+698
-210
lines changed

6 files changed

+698
-210
lines changed

.eslintrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"jest",
1313
"prettier",
1414
"verdaccio",
15-
"jsx-a11y"
15+
"jsx-a11y",
16+
"codeceptjs"
1617
],
1718
"settings": {
1819
"react": {
@@ -119,6 +120,7 @@
119120
},
120121
"env": {
121122
"browser": true,
122-
"jest/globals": true
123+
"jest/globals": true,
124+
"codeceptjs/codeceptjs": true,
123125
}
124126
}

codecept.conf.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
exports.config = {
32
tests: './test/acceptance/*_test.js',
43
output: './test/acceptance/output',
@@ -8,15 +7,15 @@ exports.config = {
87
// "show": true,
98
chrome: {
109
// headless: false
11-
}
12-
}
10+
},
11+
},
1312
},
1413
include: {
15-
I: './test/acceptance/steps_file.js'
14+
I: './test/acceptance/steps_file.js',
1615
},
1716
smartWait: 30000,
1817
bootstrap: null,
1918
plugins: {},
2019
mocha: {},
21-
name: '@verdaccio/ui-theme'
22-
}
20+
name: '@verdaccio/ui-theme',
21+
};

package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,37 @@
1111
},
1212
"main": "index.js",
1313
"devDependencies": {
14-
"@commitlint/cli": "8.0.0",
15-
"@commitlint/config-conventional": "8.0.0",
14+
"@commitlint/cli": "8.1.0",
15+
"@commitlint/config-conventional": "8.1.0",
1616
"@material-ui/core": "3.9.3",
1717
"@material-ui/icons": "3.0.2",
1818
"@octokit/rest": "16.28.7",
1919
"@types/enzyme": "3.10.3",
20-
"@types/lodash": "4.14.134",
20+
"@types/lodash": "4.14.136",
2121
"@types/material-ui": "0.21.6",
22-
"@types/node": "12.6.8",
23-
"@types/react": "16.8.16",
24-
"@types/react-dom": "16.8.4",
25-
"@types/react-router-dom": "4.3.2",
26-
"@types/validator": "10.11.1",
22+
"@types/node": "12.6.9",
23+
"@types/react": "16.8.24",
24+
"@types/react-dom": "16.8.5",
25+
"@types/react-router-dom": "4.3.4",
26+
"@types/validator": "10.11.2",
2727
"@verdaccio/babel-preset": "2.0.0",
2828
"@verdaccio/eslint-config": "2.0.0",
29-
"@verdaccio/types": "7.0.0",
29+
"@verdaccio/types": "8.0.0-next.2",
3030
"autosuggest-highlight": "3.1.1",
31+
"babel-loader": "8.0.6",
3132
"bundlesize": "0.18.0",
3233
"codeceptjs": "2.1.0",
3334
"codecov": "3.5.0",
34-
"babel-loader": "8.0.6",
35-
"concurrently": "4.1.0",
35+
"concurrently": "4.1.1",
3636
"cross-env": "5.2.0",
3737
"css-loader": "0.28.10",
3838
"date-fns": "1.30.1",
3939
"emotion": "9.2.12",
4040
"enzyme": "3.10.0",
4141
"enzyme-adapter-react-16": "1.14.0",
42-
"enzyme-to-json": "3.3.5",
42+
"enzyme-to-json": "3.4.0",
4343
"eslint": "5.16.0",
44+
"eslint-plugin-codeceptjs": "1.0.0",
4445
"eslint-plugin-jsx-a11y": "6.2.1",
4546
"eslint-plugin-prettier": "3.1.0",
4647
"eslint-plugin-react": "7.13.0",
@@ -50,7 +51,7 @@
5051
"get-stdin": "6.0.0",
5152
"github-markdown-css": "2.10.0",
5253
"html-webpack-plugin": "3.2.0",
53-
"husky": "2.4.1",
54+
"husky": "3.0.2",
5455
"identity-obj-proxy": "3.0.0",
5556
"in-publish": "2.0.0",
5657
"jest": "24.8.0",
@@ -90,7 +91,7 @@
9091
"typescript": "3.5.3",
9192
"url-loader": "1.1.2",
9293
"validator": "10.11.0",
93-
"verdaccio": "4.1.0",
94+
"verdaccio": "4.2.0",
9495
"verdaccio-auth-memory": "1.1.5",
9596
"verdaccio-memory": "2.0.0",
9697
"webpack": "4.20.2",

test/acceptance/.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rules": {
3+
"new-cap": 0,
4+
"prettier/prettier": 0
5+
}
6+
}

test/acceptance/steps_file.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
21
// in this file you can append custom step methods to 'I' object
32

43
module.exports = function() {
54
return actor({
6-
75
// Define custom steps here, use 'this' to access default methods of I.
86
// It is recommended to place a general 'login' function here.
9-
107
});
11-
}
8+
};

0 commit comments

Comments
 (0)