Skip to content

Commit 812c3a1

Browse files
Update dependencies
2 parents be3c9e1 + 079f039 commit 812c3a1

12 files changed

+8523
-11064
lines changed

.browserslistrc

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

README.md

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

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

9-
* NW.js
10-
* Vue-CLI 4
11-
* Vue 2.6
9+
* NW.js 0.44.2
10+
* Chrome 80
11+
* Node 13.8.0
12+
* Vue-CLI 4.2.2
13+
* Vue 2.6.11
1214
* Vue-DevTools (latest)
1315
* Babel
1416
* ESLint
@@ -88,5 +90,6 @@ This is not for those *using* this repo, but for those *maintaining* it.
8890
* `tests/unit/setup.js`
8991
* `tests/unit/components/__snapshots__/HelloWorld.test.js.snap`
9092
* `.browserslistrc`
93+
1. Update the version numbers at the top of the README
9194
1. Bump the version number, and all the npm scripts that reference the version number
9295
1. Run `npm run regression` after updating dependencies or other major changes to verify builds still work correctly

babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
presets: [
3-
'@vue/app'
3+
'@vue/cli-plugin-babel/preset'
44
]
55
};

jest.config.js

+1-28
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,18 @@ process.env.VUE_CLI_BABEL_TARGET_NODE = true;
22
process.env.VUE_CLI_BABEL_TRANSPILE_MODULES = true;
33

44
module.exports = {
5-
collectCoverageFrom: [
6-
'src/**/*.{js,vue}',
7-
'!src/main.js',
8-
'!**/node_modules/**'
9-
],
5+
preset: '@vue/cli-plugin-unit-jest',
106
coverageDirectory: '<rootDir>/tests/unit/coverage',
11-
moduleFileExtensions: [
12-
'js',
13-
'jsx',
14-
'json',
15-
'vue'
16-
],
17-
moduleNameMapper: {
18-
'^@/(.*)$': '<rootDir>/src/$1'
19-
},
207
setupFilesAfterEnv: [
218
'<rootDir>/tests/unit/setup.js'
229
],
2310
snapshotSerializers: [
2411
'<rootDir>/node_modules/jest-serializer-vue-tjw'
2512
],
26-
testEnvironment: 'jest-environment-jsdom-global',
2713
testMatch: [
2814
'**/tests/unit/**/*.test.js'
2915
],
3016
testPathIgnorePatterns: [
3117
'<rootDir>/tests/e2e'
32-
],
33-
testURL: 'http://localhost/',
34-
transform: {
35-
'^.+\\.vue$': 'vue-jest',
36-
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
37-
'^.+\\.jsx?$': 'babel-jest'
38-
},
39-
transformIgnorePatterns: [
40-
'/node_modules/'
41-
],
42-
watchPlugins: [
43-
'jest-watch-typeahead/filename',
44-
'jest-watch-typeahead/testname'
4518
]
4619
};

0 commit comments

Comments
 (0)