Skip to content

Commit 0a75ba4

Browse files
Update dependencies
* Fix Jest Haste Map * Update NW.js * Swap Vue-A11y linter for Vuejs-Accessibility * Lint * Update deps * Remove --runInBand * Bump to 1.6.0
2 parents 812c3a1 + de49954 commit 0a75ba4

9 files changed

+3337
-7027
lines changed

.browserslistrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
chrome 80
1+
chrome 84

.eslintrc.js

+11-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = {
2626
extends: [
2727
'eslint:recommended',
2828
'plugin:jest/recommended',
29-
'plugin:vue-a11y/recommended',
29+
'plugin:vuejs-accessibility/recommended',
3030
'tjw-base',
3131
'tjw-vue'
3232
],
@@ -35,7 +35,15 @@ module.exports = {
3535
'error',
3636
'Property[method="true"]'
3737
],
38-
// https://github.com/maranran/eslint-plugin-vue-a11y/issues/10
39-
'vue-a11y/click-events-have-key-events': 'off'
38+
'vuejs-accessibility/label-has-for': [
39+
'error',
40+
{
41+
'components': ['Label'],
42+
'required': {
43+
'some': ['nesting', 'id']
44+
},
45+
'allowChildren': false
46+
}
47+
]
4048
}
4149
};

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ NW.js + Vue-CLI 4 example
66

77
![A screenshot of the default app running on Windows](screenshot.png)
88

9-
* NW.js 0.44.2
10-
* Chrome 80
11-
* Node 13.8.0
12-
* Vue-CLI 4.2.2
9+
* NW.js 0.47.0
10+
* Chrome 84
11+
* Node 14.5.0
12+
* Vue-CLI 4.4.6
1313
* Vue 2.6.11
1414
* Vue-DevTools (latest)
1515
* Babel

jest.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ module.exports = {
1414
'**/tests/unit/**/*.test.js'
1515
],
1616
testPathIgnorePatterns: [
17-
'<rootDir>/tests/e2e'
17+
'<rootDir>/tests/e2e',
18+
'<rootDir>/dist',
19+
'<rootDir>/dist-vue'
1820
]
1921
};

nightwatch.conf.js

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ nwBinary = './node_modules/nw/' + nwBinary;
1515
driver = './node_modules/nw/' + driver;
1616

1717
module.exports = (function (settings) {
18+
console.log(nwBinary);
1819
settings.webdriver.server_path = driver;
1920
settings.selenium.cli_args['webdriver.chrome.driver'] = driver;
2021
return settings;

0 commit comments

Comments
 (0)