From 3ae1535348f70f99ad706ea6e34271e01e0b2983 Mon Sep 17 00:00:00 2001 From: TheJaredWilcurt Date: Thu, 16 Jul 2020 13:33:30 -0400 Subject: [PATCH 1/7] Fix Jest Haste Map --- jest.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 8de9dc6..b478211 100644 --- a/jest.config.js +++ b/jest.config.js @@ -14,6 +14,8 @@ module.exports = { '**/tests/unit/**/*.test.js' ], testPathIgnorePatterns: [ - '/tests/e2e' + '/tests/e2e', + '/dist', + '/dist-vue' ] }; From f63522dcf1330d098142b18da4a15f5a053cb8c1 Mon Sep 17 00:00:00 2001 From: TheJaredWilcurt Date: Thu, 16 Jul 2020 13:34:54 -0400 Subject: [PATCH 2/7] Update NW.js --- .browserslistrc | 2 +- README.md | 8 ++++---- package.json | 4 ++-- .../unit/components/__snapshots__/HelloWorld.test.js.snap | 6 +++--- tests/unit/setup.js | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index ac005eb..f18bb0c 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -1 +1 @@ -chrome 80 +chrome 84 diff --git a/README.md b/README.md index bdab0b6..dc61bad 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 22d18a9..52cd0fd 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "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", + "nw": "0.47.0-sdk", "nw-vue-devtools-prebuilt": "^0.0.10", "nwjs-builder-phoenix": "^1.15.0", "nwjs-types": "^1.0.0", @@ -71,7 +71,7 @@ }, "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", diff --git a/tests/unit/components/__snapshots__/HelloWorld.test.js.snap b/tests/unit/components/__snapshots__/HelloWorld.test.js.snap index 1f8f0cc..48a4f63 100644 --- a/tests/unit/components/__snapshots__/HelloWorld.test.js.snap +++ b/tests/unit/components/__snapshots__/HelloWorld.test.js.snap @@ -24,10 +24,10 @@ exports[`HelloWorld.vue Render default contents 1`] = `

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).