Skip to content

Commit 4d13406

Browse files
authored
fix: better dev server & webpack 4 compatibility and some trivial dependency updates (#6291)
1 parent cf3d801 commit 4d13406

File tree

33 files changed

+2820
-2884
lines changed

33 files changed

+2820
-2884
lines changed

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,48 +30,48 @@
3030
"packages/**/bin/*": "eslint --fix"
3131
},
3232
"devDependencies": {
33-
"@babel/core": "^7.12.10",
34-
"@babel/eslint-parser": "^7.12.1",
35-
"@typescript-eslint/eslint-plugin": "^4.9.1",
36-
"@typescript-eslint/parser": "^4.9.1",
33+
"@babel/core": "^7.12.16",
34+
"@babel/eslint-parser": "^7.12.16",
35+
"@typescript-eslint/eslint-plugin": "^4.15.1",
36+
"@typescript-eslint/parser": "^4.15.1",
3737
"@vue/eslint-config-airbnb": "^5.3.0",
3838
"@vue/eslint-config-prettier": "^6.0.0",
3939
"@vue/eslint-config-standard": "^6.0.0",
4040
"@vue/eslint-config-typescript": "^7.0.0",
41-
"@vuepress/plugin-pwa": "^1.5.4",
42-
"@vuepress/theme-vue": "^1.5.4",
41+
"@vuepress/plugin-pwa": "^1.8.1",
42+
"@vuepress/theme-vue": "^1.8.1",
4343
"babel-core": "7.0.0-bridge.0",
4444
"babel-jest": "^26.6.3",
45-
"chromedriver": "^87.0.2",
45+
"chromedriver": "^88.0.0",
4646
"debug": "^4.1.0",
47-
"eslint": "^7.15.0",
47+
"eslint": "^7.20.0",
4848
"eslint-plugin-graphql": "^4.0.0",
4949
"eslint-plugin-import": "^2.20.2",
5050
"eslint-plugin-node": "^11.1.0",
51-
"eslint-plugin-prettier": "^3.2.0",
52-
"eslint-plugin-promise": "^4.2.1",
53-
"eslint-plugin-vue": "^7.2.0",
51+
"eslint-plugin-prettier": "^3.3.1",
52+
"eslint-plugin-promise": "^4.3.1",
53+
"eslint-plugin-vue": "^7.6.0",
5454
"execa": "^1.0.0",
55-
"geckodriver": "^1.20.0",
56-
"globby": "^11.0.1",
57-
"graphql": "^15.4.0",
55+
"geckodriver": "^1.22.1",
56+
"globby": "^11.0.2",
57+
"graphql": "^15.5.0",
5858
"http-server": "^0.12.3",
5959
"inquirer": "^7.1.0",
6060
"jest": "^26.6.3",
6161
"lerna": "^3.22.0",
6262
"lerna-changelog": "^1.0.1",
63-
"lint-staged": "^10.5.3",
63+
"lint-staged": "^10.5.4",
6464
"memfs": "^3.2.0",
6565
"minimist": "^1.2.5",
6666
"node-fetch": "^2.6.1",
6767
"prettier": ">= 1.13.0",
6868
"rimraf": "^3.0.2",
6969
"semver": "^7.3.4",
7070
"stylus-loader": "^3.0.2",
71-
"typescript": "~4.1.2",
72-
"verdaccio": "^4.10.0",
73-
"vuepress": "^1.6.0",
74-
"webpack": "^5.10.0",
71+
"typescript": "~4.1.5",
72+
"verdaccio": "^4.11.0",
73+
"vuepress": "^1.8.1",
74+
"webpack": "^5.22.0",
7575
"yorkie": "^2.0.0"
7676
},
7777
"resolutions": {

packages/@vue/babel-preset-app/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@
2222
},
2323
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/babel-preset-app#readme",
2424
"dependencies": {
25-
"@babel/core": "^7.12.10",
26-
"@babel/helper-compilation-targets": "^7.9.6",
27-
"@babel/helper-module-imports": "^7.8.3",
28-
"@babel/plugin-proposal-class-properties": "^7.8.3",
29-
"@babel/plugin-proposal-decorators": "^7.8.3",
25+
"@babel/core": "^7.12.16",
26+
"@babel/helper-compilation-targets": "^7.12.16",
27+
"@babel/helper-module-imports": "^7.12.13",
28+
"@babel/plugin-proposal-class-properties": "^7.12.13",
29+
"@babel/plugin-proposal-decorators": "^7.12.13",
3030
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
31-
"@babel/plugin-syntax-jsx": "^7.8.3",
32-
"@babel/plugin-transform-runtime": "^7.12.0",
33-
"@babel/preset-env": "^7.12.10",
34-
"@babel/runtime": "^7.11.2",
35-
"@vue/babel-plugin-jsx": "^1.0.0-0",
31+
"@babel/plugin-syntax-jsx": "^7.12.13",
32+
"@babel/plugin-transform-runtime": "^7.12.15",
33+
"@babel/preset-env": "^7.12.16",
34+
"@babel/runtime": "^7.12.13",
35+
"@vue/babel-plugin-jsx": "^1.0.3",
3636
"@vue/babel-preset-jsx": "^1.1.2",
3737
"babel-plugin-dynamic-import-node": "^2.3.3",
38-
"core-js": "^3.8.1",
39-
"core-js-compat": "^3.8.1",
38+
"core-js": "^3.8.3",
39+
"core-js-compat": "^3.8.3",
4040
"semver": "^7.3.4"
4141
},
4242
"peerDependencies": {

packages/@vue/cli-plugin-babel/generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = api => {
1010
presets: ['@vue/cli-plugin-babel/preset']
1111
},
1212
dependencies: {
13-
'core-js': '^3.8.1'
13+
'core-js': '^3.8.3'
1414
}
1515
})
1616
}

packages/@vue/cli-plugin-babel/migrator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = api => {
1010
api.extendPackage(
1111
{
1212
dependencies: {
13-
'core-js': '^3.8.1'
13+
'core-js': '^3.8.3'
1414
}
1515
},
1616
{ warnIncompatibleVersions: false }

packages/@vue/cli-plugin-babel/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
},
2121
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-babel#readme",
2222
"dependencies": {
23-
"@babel/core": "^7.12.10",
23+
"@babel/core": "^7.12.16",
2424
"@vue/babel-preset-app": "^5.0.0-alpha.4",
2525
"@vue/cli-shared-utils": "^5.0.0-alpha.4",
2626
"babel-loader": "^8.2.2",
2727
"thread-loader": "^3.0.0",
28-
"webpack": "^5.10.0"
28+
"webpack": "^5.22.0"
2929
},
3030
"peerDependencies": {
3131
"@vue/cli-service": "^3.0.0 || ^4.0.0 || ^5.0.0-0"
3232
},
3333
"devDependencies": {
34-
"@babel/preset-env": "^7.12.10",
34+
"@babel/preset-env": "^7.12.16",
3535
"jscodeshift": "^0.11.0"
3636
},
3737
"publishConfig": {

packages/@vue/cli-plugin-e2e-cypress/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"@vue/cli-shared-utils": "^5.0.0-alpha.4",
27-
"cypress": "^6.1.0",
27+
"cypress": "^6.5.0",
2828
"eslint-plugin-cypress": "^2.11.2"
2929
},
3030
"peerDependencies": {

packages/@vue/cli-plugin-e2e-nightwatch/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"nightwatch": "^1.4.1"
2929
},
3030
"devDependencies": {
31-
"chromedriver": "^87.0.2",
32-
"geckodriver": "^1.20.0",
31+
"chromedriver": "^88.0.0",
32+
"geckodriver": "^1.22.1",
3333
"selenium-server": "^3.141.59"
3434
},
3535
"peerDependencies": {

packages/@vue/cli-plugin-e2e-webdriverio/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"access": "public"
2626
},
2727
"dependencies": {
28-
"@types/mocha": "^8.0.4",
28+
"@types/mocha": "^8.2.1",
2929
"@vue/cli-shared-utils": "^5.0.0-alpha.4",
3030
"@wdio/cli": "^6.10.5",
3131
"@wdio/local-runner": "^6.10.5",
@@ -40,7 +40,7 @@
4040
"chromedriver": "*",
4141
"geckodriver": "*",
4242
"wdio-chromedriver-service": "^6.0.4",
43-
"wdio-geckodriver-service": "^1.1.0"
43+
"wdio-geckodriver-service": "^1.1.2"
4444
},
4545
"peerDependenciesMeta": {
4646
"chromedriver": {
@@ -57,10 +57,10 @@
5757
}
5858
},
5959
"devDependencies": {
60-
"chromedriver": "^87.0.2",
61-
"geckodriver": "^1.20.0",
60+
"chromedriver": "^88.0.0",
61+
"geckodriver": "^1.22.1",
6262
"ts-node": "^9.1.1",
6363
"wdio-chromedriver-service": "^6.0.4",
64-
"wdio-geckodriver-service": "^1.1.0"
64+
"wdio-geckodriver-service": "^1.1.2"
6565
}
6666
}

packages/@vue/cli-plugin-eslint/eslintDeps.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
const DEPS_MAP = {
22
base: {
3-
eslint: '^7.15.0',
4-
'eslint-plugin-vue': '^7.2.0'
3+
eslint: '^7.20.0',
4+
'eslint-plugin-vue': '^7.6.0'
55
},
66
airbnb: {
77
'@vue/eslint-config-airbnb': '^5.3.0',
88
'eslint-plugin-import': '^2.20.2'
99
},
1010
prettier: {
1111
'@vue/eslint-config-prettier': '^6.0.0',
12-
'eslint-plugin-prettier': '^3.2.0',
12+
'eslint-plugin-prettier': '^3.3.1',
1313
prettier: '^2.2.1'
1414
},
1515
standard: {
1616
'@vue/eslint-config-standard': '^6.0.0',
1717
'eslint-plugin-import': '^2.20.2',
1818
'eslint-plugin-node': '^11.1.0',
19-
'eslint-plugin-promise': '^4.2.1'
19+
'eslint-plugin-promise': '^4.3.1'
2020
},
2121
typescript: {
2222
'@vue/eslint-config-typescript': '^7.0.0',
23-
'@typescript-eslint/eslint-plugin': '^4.9.1',
24-
'@typescript-eslint/parser': '^4.9.1'
23+
'@typescript-eslint/eslint-plugin': '^4.15.1',
24+
'@typescript-eslint/parser': '^4.15.1'
2525
}
2626
}
2727

@@ -40,8 +40,8 @@ exports.getDeps = function (api, preset, rootOptions = {}) {
4040

4141
if (api.hasPlugin('babel') && !api.hasPlugin('typescript')) {
4242
Object.assign(deps, {
43-
'@babel/eslint-parser': '^7.12.1',
44-
'@babel/core': '^7.12.10'
43+
'@babel/eslint-parser': '^7.12.16',
44+
'@babel/core': '^7.12.16'
4545
})
4646
}
4747

packages/@vue/cli-plugin-eslint/generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = (api, { config, lintOn = [] }, rootOptions, invoking) => {
3838

3939
if (lintOn.includes('commit')) {
4040
Object.assign(pkg.devDependencies, {
41-
'lint-staged': '^10.5.3'
41+
'lint-staged': '^10.5.4'
4242
})
4343
pkg.gitHooks = {
4444
'pre-commit': 'lint-staged'

packages/@vue/cli-plugin-eslint/migrator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = async (api) => {
1414
api.extendPackage({
1515
devDependencies: {
1616
eslint: localESLintRange,
17-
'@babel/eslint-parser': '^7.12.1',
17+
'@babel/eslint-parser': '^7.12.16',
1818
'eslint-plugin-vue': '^4.5.0'
1919
}
2020
})

packages/@vue/cli-plugin-eslint/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
},
2525
"dependencies": {
2626
"@vue/cli-shared-utils": "^5.0.0-alpha.4",
27-
"eslint-webpack-plugin": "^2.4.1",
28-
"globby": "^11.0.1",
27+
"eslint-webpack-plugin": "2.4.3",
28+
"globby": "^11.0.2",
2929
"inquirer": "^7.1.0",
30-
"webpack": "^5.10.0",
30+
"webpack": "^5.22.0",
3131
"yorkie": "^2.0.0"
3232
},
3333
"peerDependencies": {

packages/@vue/cli-plugin-pwa/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
},
2525
"dependencies": {
2626
"@vue/cli-shared-utils": "^5.0.0-alpha.4",
27-
"html-webpack-plugin": "^5.0.0",
28-
"webpack": "^5.10.0",
29-
"workbox-webpack-plugin": "^6.0.2"
27+
"html-webpack-plugin": "^5.1.0",
28+
"webpack": "^5.22.0",
29+
"workbox-webpack-plugin": "^6.1.0"
3030
},
3131
"devDependencies": {
3232
"register-service-worker": "^1.7.2"

packages/@vue/cli-plugin-router/generator/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ module.exports = (api, options = {}, rootOptions = {}) => {
77
api.transformScript(api.entryFile, require('./injectUseRouter'))
88
api.extendPackage({
99
dependencies: {
10-
'vue-router': '^4.0.1'
10+
'vue-router': '^4.0.3'
1111
}
1212
})
1313
} else {
1414
api.injectRootOptions(api.entryFile, `router`)
1515

1616
api.extendPackage({
1717
dependencies: {
18-
'vue-router': '^3.4.3'
18+
'vue-router': '^3.5.1'
1919
}
2020
})
2121
}

packages/@vue/cli-plugin-typescript/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
"@vue/cli-shared-utils": "^5.0.0-alpha.4",
2828
"babel-loader": "^8.2.2",
2929
"cache-loader": "^4.1.0",
30-
"fork-ts-checker-webpack-plugin": "^6.0.5",
31-
"globby": "^11.0.1",
30+
"fork-ts-checker-webpack-plugin": "^6.1.0",
31+
"globby": "^11.0.2",
3232
"thread-loader": "^3.0.0",
33-
"ts-loader": "^8.0.12",
34-
"webpack": "^5.10.0",
33+
"ts-loader": "^8.0.17",
34+
"webpack": "^5.22.0",
3535
"yorkie": "^2.0.0"
3636
},
3737
"peerDependencies": {
@@ -45,11 +45,11 @@
4545
}
4646
},
4747
"devDependencies": {
48-
"@types/chai": "^4.2.11",
49-
"@types/jest": "^26.0.19",
50-
"@types/mocha": "^8.0.4",
48+
"@types/chai": "^4.2.15",
49+
"@types/jest": "^26.0.20",
50+
"@types/mocha": "^8.2.1",
5151
"jscodeshift": "^0.11.0",
52-
"typescript": "~4.1.2",
52+
"typescript": "~4.1.5",
5353
"vue-class-component": "^7.2.3",
5454
"vue-property-decorator": "^9.1.2"
5555
}

packages/@vue/cli-plugin-unit-jest/generator/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = (api, options, rootOptions, invoking) => {
1212
'test:unit': 'vue-cli-service test:unit'
1313
},
1414
devDependencies: {
15-
'@vue/test-utils': isVue3 ? '^2.0.0-0' : '^1.0.3'
15+
'@vue/test-utils': isVue3 ? '^2.0.0-0' : '^1.1.3'
1616
},
1717
jest: {
1818
preset: api.hasPlugin('babel')
@@ -71,7 +71,7 @@ const applyTS = (module.exports.applyTS = (api, invoking) => {
7171
: '@vue/cli-plugin-unit-jest/presets/typescript'
7272
},
7373
devDependencies: {
74-
'@types/jest': '^26.0.19'
74+
'@types/jest': '^26.0.20'
7575
}
7676
})
7777

packages/@vue/cli-plugin-unit-jest/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@babel/core": "^7.12.10",
27-
"@babel/plugin-transform-modules-commonjs": "^7.9.6",
28-
"@types/jest": "^26.0.19",
26+
"@babel/core": "^7.12.16",
27+
"@babel/plugin-transform-modules-commonjs": "^7.12.13",
28+
"@types/jest": "^26.0.20",
2929
"@vue/cli-shared-utils": "^5.0.0-alpha.4",
3030
"babel-core": "^7.0.0-bridge.0",
3131
"babel-jest": "^26.6.3",
@@ -35,11 +35,11 @@
3535
"jest-serializer-vue": "^2.0.2",
3636
"jest-transform-stub": "^2.0.0",
3737
"jest-watch-typeahead": "^0.6.1",
38-
"ts-jest": "^26.4.4",
38+
"ts-jest": "^26.5.1",
3939
"vue-jest": "^3.0.5"
4040
},
4141
"devDependencies": {
42-
"@vue/test-utils": "^1.0.5"
42+
"@vue/test-utils": "^1.1.3"
4343
},
4444
"peerDependencies": {
4545
"@vue/cli-service": "^3.0.0 || ^4.0.0 || ^5.0.0-0"

0 commit comments

Comments
 (0)