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
This commit is contained in:
commit
0a75ba489a
@ -1 +1 @@
|
||||
chrome 80
|
||||
chrome 84
|
||||
|
14
.eslintrc.js
14
.eslintrc.js
@ -26,7 +26,7 @@ module.exports = {
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:jest/recommended',
|
||||
'plugin:vue-a11y/recommended',
|
||||
'plugin:vuejs-accessibility/recommended',
|
||||
'tjw-base',
|
||||
'tjw-vue'
|
||||
],
|
||||
@ -35,7 +35,15 @@ module.exports = {
|
||||
'error',
|
||||
'Property[method="true"]'
|
||||
],
|
||||
// https://github.com/maranran/eslint-plugin-vue-a11y/issues/10
|
||||
'vue-a11y/click-events-have-key-events': 'off'
|
||||
'vuejs-accessibility/label-has-for': [
|
||||
'error',
|
||||
{
|
||||
'components': ['Label'],
|
||||
'required': {
|
||||
'some': ['nesting', 'id']
|
||||
},
|
||||
'allowChildren': false
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
@ -6,10 +6,10 @@ NW.js + Vue-CLI 4 example
|
||||
|
||||
![A screenshot of the default app running on Windows](screenshot.png)
|
||||
|
||||
* NW.js 0.44.2
|
||||
* Chrome 80
|
||||
* Node 13.8.0
|
||||
* Vue-CLI 4.2.2
|
||||
* NW.js 0.47.0
|
||||
* Chrome 84
|
||||
* Node 14.5.0
|
||||
* Vue-CLI 4.4.6
|
||||
* Vue 2.6.11
|
||||
* Vue-DevTools (latest)
|
||||
* Babel
|
||||
|
@ -14,6 +14,8 @@ module.exports = {
|
||||
'**/tests/unit/**/*.test.js'
|
||||
],
|
||||
testPathIgnorePatterns: [
|
||||
'<rootDir>/tests/e2e'
|
||||
'<rootDir>/tests/e2e',
|
||||
'<rootDir>/dist',
|
||||
'<rootDir>/dist-vue'
|
||||
]
|
||||
};
|
||||
|
@ -15,6 +15,7 @@ nwBinary = './node_modules/nw/' + nwBinary;
|
||||
driver = './node_modules/nw/' + driver;
|
||||
|
||||
module.exports = (function (settings) {
|
||||
console.log(nwBinary);
|
||||
settings.webdriver.server_path = driver;
|
||||
settings.selenium.cli_args['webdriver.chrome.driver'] = driver;
|
||||
return settings;
|
||||
|
9779
package-lock.json
generated
9779
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
48
package.json
48
package.json
@ -6,7 +6,7 @@
|
||||
"To turn spell checking off, remove it from the chromium-args in this file"
|
||||
],
|
||||
"name": "nw-vue",
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"main": "http://localhost:8964",
|
||||
"node-remote": "http://localhost:8964",
|
||||
"node-main": "",
|
||||
@ -27,16 +27,16 @@
|
||||
"build:nw": "build --concurrent --tasks win-x86,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .",
|
||||
"build:win": "npm run build:win:clean && npm run build:vue && build --tasks win-x86 --mirror https://dl.nwjs.io/ .",
|
||||
"build:lin": "npm run build:lin:clean && npm run build:vue && build --tasks linux-x64 --mirror https://dl.nwjs.io/ .",
|
||||
"build:win:clean": "rimraf ./dist-vue ./dist/nw-vue-1.5.0-win-x86 ./dist/nw-vue-1.5.0-win-x86.zip ./dist/nw-vue-1.5.0-win-x86.7z ./dist/nw-vue-1.5.0-win-x86-Setup.exe",
|
||||
"build:lin:clean": "rimraf ./dist-vue ./dist/nw-vue-1.5.0-linux-x64 ./dist/nw-vue-1.5.0-linux-x64.zip",
|
||||
"run:win": "dist\\nw-vue-1.5.0-win-x86\\nw-vue.exe",
|
||||
"run:lin": "./dist/nw-vue-1.5.0-linux-x64/nw-vue",
|
||||
"build:win:clean": "rimraf ./dist-vue ./dist/nw-vue-1.6.0-win-x86 ./dist/nw-vue-1.6.0-win-x86.zip ./dist/nw-vue-1.6.0-win-x86.7z ./dist/nw-vue-1.6.0-win-x86-Setup.exe",
|
||||
"build:lin:clean": "rimraf ./dist-vue ./dist/nw-vue-1.6.0-linux-x64 ./dist/nw-vue-1.6.0-linux-x64.zip",
|
||||
"run:win": "dist\\nw-vue-1.6.0-win-x86\\nw-vue.exe",
|
||||
"run:lin": "./dist/nw-vue-1.6.0-linux-x64/nw-vue",
|
||||
"regression": "rd /s /q node_modules & rd /s /q node_modules & rd /s /q node_modules & npm install && npm run lint && npm test && npm run build:win && npm run run:win",
|
||||
"lint": "vue-cli-service lint --no-fix",
|
||||
"fix": "vue-cli-service lint --fix",
|
||||
"test": "npm run test:unit",
|
||||
"test:e2e": "vue-cli-service test:e2e",
|
||||
"test:unit": "jest --config jest.config.js --coverage --runInBand",
|
||||
"test:unit": "jest --config jest.config.js --coverage",
|
||||
"validate": "npm run lint && npm run test:unit && npm run build:vue",
|
||||
"update:vue-devtools": "rimraf ./node_modules/nw-vue-devtools-prebuilt && npm install"
|
||||
},
|
||||
@ -44,34 +44,34 @@
|
||||
"express": "^4.17.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "^4.2.2",
|
||||
"@vue/cli-plugin-e2e-nightwatch": "^4.2.2",
|
||||
"@vue/cli-plugin-eslint": "^4.2.2",
|
||||
"@vue/cli-plugin-unit-jest": "^4.2.2",
|
||||
"@vue/cli-service": "^4.2.2",
|
||||
"@vue/test-utils": "1.0.0-beta.31",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"concurrently": "^5.1.0",
|
||||
"core-js": "^3.6.4",
|
||||
"eslint": "^6.8.0",
|
||||
"@vue/cli-plugin-babel": "^4.4.6",
|
||||
"@vue/cli-plugin-e2e-nightwatch": "^4.4.6",
|
||||
"@vue/cli-plugin-eslint": "^4.4.6",
|
||||
"@vue/cli-plugin-unit-jest": "^4.4.6",
|
||||
"@vue/cli-service": "^4.4.6",
|
||||
"@vue/test-utils": "1.0.3",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"concurrently": "^5.2.0",
|
||||
"core-js": "^3.6.5",
|
||||
"eslint": "^7.4.0",
|
||||
"eslint-config-tjw-base": "^1.0.0",
|
||||
"eslint-config-tjw-vue": "^1.0.0",
|
||||
"eslint-plugin-jest": "^23.7.0",
|
||||
"eslint-plugin-vue": "^6.2.1",
|
||||
"eslint-plugin-vue-a11y": "^0.0.31",
|
||||
"jest-serializer-vue-tjw": "^3.11.0",
|
||||
"nw": "0.44.2-sdk",
|
||||
"eslint-config-tjw-vue": "^2.0.0",
|
||||
"eslint-plugin-jest": "^23.18.0",
|
||||
"eslint-plugin-vue": "^6.2.2",
|
||||
"eslint-plugin-vuejs-accessibility": "^0.3.1",
|
||||
"jest-serializer-vue-tjw": "^3.14.0",
|
||||
"nw": "0.47.0-sdk",
|
||||
"nw-vue-devtools-prebuilt": "^0.0.10",
|
||||
"nwjs-builder-phoenix": "^1.15.0",
|
||||
"nwjs-types": "^1.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"vue": "^2.6.11",
|
||||
"vue-template-compiler": "^2.6.11",
|
||||
"wait-on": "^4.0.0"
|
||||
"wait-on": "^5.1.0"
|
||||
},
|
||||
"chromium-args": "--enable-spell-checking --load-extension='./node_modules/nw-vue-devtools-prebuilt/extension'",
|
||||
"build": {
|
||||
"nwVersion": "v0.44.2",
|
||||
"nwVersion": "v0.47.0",
|
||||
"nwFlavor": "normal",
|
||||
"targets": [
|
||||
"zip",
|
||||
|
@ -24,10 +24,10 @@ exports[`HelloWorld.vue Render default contents 1`] = `
|
||||
<h3>
|
||||
You are using
|
||||
Vue.js (v2.6.11),
|
||||
NW.js (v0.44.2-sdk),
|
||||
Node.js (v13.8.0),
|
||||
NW.js (v0.47.0-sdk),
|
||||
Node.js (v14.5.0),
|
||||
and
|
||||
Chromium (v80.0.3987.116).
|
||||
Chromium (v84.0.4147.89).
|
||||
</h3>
|
||||
<button>
|
||||
Show
|
||||
|
@ -27,10 +27,10 @@ global.beforeEach(() => {
|
||||
NODE_ENV: 'development'
|
||||
},
|
||||
versions: {
|
||||
chromium: '80.0.3987.116',
|
||||
nw: '0.44.2',
|
||||
chromium: '84.0.4147.89',
|
||||
nw: '0.47.0',
|
||||
'nw-flavor': 'sdk',
|
||||
node: '13.8.0'
|
||||
node: '14.5.0'
|
||||
}
|
||||
};
|
||||
window.nw = {
|
||||
|
Loading…
Reference in New Issue
Block a user