Updating to Vue-CLI 4.2.2

This commit is contained in:
TheJaredWilcurt 2020-02-19 12:01:02 -05:00
parent 58d0251849
commit e35a2b69fa
4 changed files with 949 additions and 3040 deletions

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
presets: [ presets: [
'@vue/app' '@vue/cli-plugin-babel/preset'
] ]
}; };

View File

@ -2,45 +2,18 @@ process.env.VUE_CLI_BABEL_TARGET_NODE = true;
process.env.VUE_CLI_BABEL_TRANSPILE_MODULES = true; process.env.VUE_CLI_BABEL_TRANSPILE_MODULES = true;
module.exports = { module.exports = {
collectCoverageFrom: [ preset: '@vue/cli-plugin-unit-jest',
'src/**/*.{js,vue}',
'!src/main.js',
'!**/node_modules/**'
],
coverageDirectory: '<rootDir>/tests/unit/coverage', coverageDirectory: '<rootDir>/tests/unit/coverage',
moduleFileExtensions: [
'js',
'jsx',
'json',
'vue'
],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},
setupFilesAfterEnv: [ setupFilesAfterEnv: [
'<rootDir>/tests/unit/setup.js' '<rootDir>/tests/unit/setup.js'
], ],
snapshotSerializers: [ snapshotSerializers: [
'<rootDir>/node_modules/jest-serializer-vue-tjw' '<rootDir>/node_modules/jest-serializer-vue-tjw'
], ],
testEnvironment: 'jest-environment-jsdom-global',
testMatch: [ testMatch: [
'**/tests/unit/**/*.test.js' '**/tests/unit/**/*.test.js'
], ],
testPathIgnorePatterns: [ testPathIgnorePatterns: [
'<rootDir>/tests/e2e' '<rootDir>/tests/e2e'
],
testURL: 'http://localhost/',
transform: {
'^.+\\.vue$': 'vue-jest',
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
'^.+\\.jsx?$': 'babel-jest'
},
transformIgnorePatterns: [
'/node_modules/'
],
watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname'
] ]
}; };

3931
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -45,40 +45,29 @@
"express": "^4.17.1" "express": "^4.17.1"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^4.1.2", "@vue/cli-plugin-babel": "^4.2.2",
"@vue/cli-plugin-e2e-nightwatch": "^4.1.2", "@vue/cli-plugin-e2e-nightwatch": "^4.2.2",
"@vue/cli-plugin-eslint": "^4.1.2", "@vue/cli-plugin-eslint": "^4.2.2",
"@vue/cli-plugin-unit-jest": "^4.1.2", "@vue/cli-plugin-unit-jest": "^4.2.2",
"@vue/cli-service": "^4.1.2", "@vue/cli-service": "^4.2.2",
"@vue/test-utils": "1.0.0-beta.31", "@vue/test-utils": "1.0.0-beta.31",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.3", "babel-eslint": "^10.0.3",
"babel-jest": "^25.1.0",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1",
"babel-preset-vue-app": "^2.0.0",
"concurrently": "^5.1.0", "concurrently": "^5.1.0",
"core-js": "^3.6.4", "core-js": "^3.6.4",
"eslint": "^6.8.0", "eslint": "^6.8.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": "^1.0.0",
"eslint-plugin-jest": "^23.6.0", "eslint-plugin-jest": "^23.7.0",
"eslint-plugin-vue": "^6.1.2", "eslint-plugin-vue": "^6.2.1",
"eslint-plugin-vue-a11y": "^0.0.31", "eslint-plugin-vue-a11y": "^0.0.31",
"jest": "^24.9.0", "jest": "^24.9.0",
"jest-environment-jsdom": "^25.1.0", "jest-serializer-vue-tjw": "^3.11.0",
"jest-environment-jsdom-global": "^1.2.0",
"jest-serializer-vue-tjw": "^3.5.0",
"jest-transform-stub": "^2.0.0",
"nw": "0.44.2-sdk", "nw": "0.44.2-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-jest": "^3.0.5",
"vue-template-compiler": "^2.6.11", "vue-template-compiler": "^2.6.11",
"wait-on": "^4.0.0" "wait-on": "^4.0.0"
}, },