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