Skip to content

Commit bd7ad93

Browse files
committed
chore: Merge branch 'dev'
2 parents 0ce0db2 + 2ec479a commit bd7ad93

File tree

62 files changed

+1801
-548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1801
-548
lines changed

CHANGELOG.md

+86
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,90 @@
11

2+
## 4.3.1 (2020-04-07)
3+
4+
#### :bug: Bug Fix
5+
* `@vue/cli-plugin-eslint`
6+
* [#5363](https://github.com/vuejs/vue-cli/pull/5363) fix(eslint-migrator): fix local eslint major version detection ([@sodatea](https://github.com/sodatea))
7+
* `@vue/cli`
8+
* [#5360](https://github.com/vuejs/vue-cli/pull/5360) fix: run migrator in a separator process, fix require cache issues during upgrade ([@sodatea](https://github.com/sodatea))
9+
10+
#### Committers: 1
11+
- Haoqun Jiang ([@sodatea](https://github.com/sodatea))
12+
13+
14+
15+
## 4.3.0 (2020-04-01)
16+
17+
#### :rocket: New Features
18+
* `@vue/cli-plugin-unit-mocha`
19+
* [#5294](https://github.com/vuejs/vue-cli/pull/5294) feat(service): Allow mocha unit tests debugger to be bound to a specified IP and port ([@darrylkuhn](https://github.com/darrylkuhn))
20+
* `@vue/babel-preset-app`
21+
* [#5322](https://github.com/vuejs/vue-cli/pull/5322) feat: enable `bugfixes` option for babel by default ([@sodatea](https://github.com/sodatea))
22+
* `@vue/cli-service`
23+
* [#5293](https://github.com/vuejs/vue-cli/pull/5293) support vue.config.cjs ([@simon300000](https://github.com/simon300000))
24+
* [#3886](https://github.com/vuejs/vue-cli/pull/3886) feat: wc entry accepts multiple file patterns splited by ',' ([@manico](https://github.com/manico))
25+
* `@vue/cli`
26+
* [#5212](https://github.com/vuejs/vue-cli/pull/5212) feat(vue-cli): Choosing to save as a preset tells you where it is saved ([@jaireina](https://github.com/jaireina))
27+
* `@vue/cli-plugin-typescript`
28+
* [#5170](https://github.com/vuejs/vue-cli/pull/5170) feat: use @vue/compiler-sfc as a compiler for TS if available ([@cexbrayat](https://github.com/cexbrayat))
29+
* `@vue/cli-plugin-eslint`, `@vue/cli-service-global`, `@vue/cli-ui-addon-widgets`
30+
* [#5241](https://github.com/vuejs/vue-cli/pull/5241) feat: ease the default `no-console` severity to `warn` ([@sodatea](https://github.com/sodatea))
31+
* `@vue/cli-service`, `@vue/cli-ui-addon-webpack`, `@vue/cli-ui-addon-widgets`, `@vue/cli-ui`
32+
* [#5233](https://github.com/vuejs/vue-cli/pull/5233) feat: add "not dead" to the default browserslist query ([@sodatea](https://github.com/sodatea))
33+
* `@vue/cli-plugin-router`
34+
* [#4805](https://github.com/vuejs/vue-cli/pull/4805) types(router): added router array type for Array RouteConfig ([@manuelojeda](https://github.com/manuelojeda))
35+
36+
#### :bug: Bug Fix
37+
* `@vue/cli-shared-utils`
38+
* [#5315](https://github.com/vuejs/vue-cli/pull/5315) fix: avoid process hanging when trying to get Chrome version ([@sodatea](https://github.com/sodatea))
39+
* [#5264](https://github.com/vuejs/vue-cli/pull/5264) fix false positive of `hasProjectNpm` ([@sodatea](https://github.com/sodatea))
40+
* `@vue/cli-ui`
41+
* [#5290](https://github.com/vuejs/vue-cli/pull/5290) fix(cli-ui): build task defaults should respect outputDir option from config file (Closes [#2639](https://github.com/vuejs/vue-cli/issues/2639)) ([@LinusBorg](https://github.com/LinusBorg))
42+
* `@vue/cli-service`
43+
* [#5320](https://github.com/vuejs/vue-cli/pull/5320) fix: spawn scripts with node, fix modern mode with Yarn 2 (Berry) ([@sodatea](https://github.com/sodatea))
44+
* [#5247](https://github.com/vuejs/vue-cli/pull/5247) fix(target-lib): fix dynamic public path in a dynamic chunk in Firefox ([@sodatea](https://github.com/sodatea))
45+
* `@vue/cli-plugin-pwa`
46+
* [#5087](https://github.com/vuejs/vue-cli/pull/5087) feat(pwa): Check for null or undefined in iconPaths ([@janispritzkau](https://github.com/janispritzkau))
47+
* `@vue/cli-plugin-eslint`
48+
* [#5242](https://github.com/vuejs/vue-cli/pull/5242) fix: fix severity config in ui ([@sodatea](https://github.com/sodatea))
49+
* `@vue/babel-preset-app`
50+
* [#5236](https://github.com/vuejs/vue-cli/pull/5236) fix(babel-preset-app): avoid corejs warning when useBuiltIns is false ([@LeBenLeBen](https://github.com/LeBenLeBen))
51+
52+
#### :memo: Documentation
53+
* [#5243](https://github.com/vuejs/vue-cli/pull/5243) docs: add warning on client side environment variables ([@sodatea](https://github.com/sodatea))
54+
* [#5231](https://github.com/vuejs/vue-cli/pull/5231) Update plugin-dev.md ([@yeyan1996](https://github.com/yeyan1996))
55+
56+
#### :house: Internal
57+
* `@vue/cli-service-global`
58+
* [#5319](https://github.com/vuejs/vue-cli/pull/5319) chore(cli-service-global): remove direct dependency on `@vue/babel-preset-app` ([@sodatea](https://github.com/sodatea))
59+
* `@vue/cli-service`
60+
* [#5305](https://github.com/vuejs/vue-cli/pull/5305) refactor: simplify config loading by skipping `fs.existsSync` check ([@sodatea](https://github.com/sodatea))
61+
* `@vue/cli`
62+
* [#5228](https://github.com/vuejs/vue-cli/pull/5228) test: e2e test case for command suggestion logic ([@jamesgeorge007](https://github.com/jamesgeorge007))
63+
* [#5238](https://github.com/vuejs/vue-cli/pull/5238) Improve package.json not found error  ([@barbeque](https://github.com/barbeque))
64+
65+
#### :hammer: Underlying Tools
66+
* `@vue/cli-plugin-eslint`
67+
* [#5273](https://github.com/vuejs/vue-cli/pull/5273) chore(eslint): bump minimum required eslint-loader version to support ESLint 6 ([@megos](https://github.com/megos))
68+
69+
#### Committers: 15
70+
- Benoît Burgener ([@LeBenLeBen](https://github.com/LeBenLeBen))
71+
- Cédric Exbrayat ([@cexbrayat](https://github.com/cexbrayat))
72+
- Darryl Kuhn ([@darrylkuhn](https://github.com/darrylkuhn))
73+
- George Tsiolis ([@gtsiolis](https://github.com/gtsiolis))
74+
- Haoqun Jiang ([@sodatea](https://github.com/sodatea))
75+
- Jadranko Dragoje ([@manico](https://github.com/manico))
76+
- Jair Reina ([@jaireina](https://github.com/jaireina))
77+
- James George ([@jamesgeorge007](https://github.com/jamesgeorge007))
78+
- Janis Pritzkau ([@janispritzkau](https://github.com/janispritzkau))
79+
- Manuel Ojeda ([@manuelojeda](https://github.com/manuelojeda))
80+
- Mike ([@barbeque](https://github.com/barbeque))
81+
- Thorsten Lünborg ([@LinusBorg](https://github.com/LinusBorg))
82+
- megos ([@megos](https://github.com/megos))
83+
- simon3000 ([@simon300000](https://github.com/simon300000))
84+
- 夜宴 ([@yeyan1996](https://github.com/yeyan1996))
85+
86+
87+
288
## 4.2.3 (2020-02-27)
389

490
#### :bug: Bug Fix

docs/core-plugins/eslint.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
--max-warnings specify number of warnings to make build failed (default: Infinity)
1818
```
1919

20-
Lints and fixes files. If no specific files are given, it lints all files in `src` and `test`.
20+
Lints and fixes files. If no specific files are given, it lints all files in `src` and `tests`.
2121

2222
Other [ESLint CLI options](https://eslint.org/docs/user-guide/command-line-interface#options) are also supported.
2323

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"npmClient": "yarn",
33
"useWorkspaces": true,
4-
"version": "4.2.3",
4+
"version": "4.3.1",
55
"packages": [
66
"packages/@vue/babel-preset-app",
77
"packages/@vue/cli*",

package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -44,47 +44,47 @@
4444
]
4545
},
4646
"devDependencies": {
47-
"@babel/core": "^7.8.4",
47+
"@babel/core": "^7.9.0",
4848
"@vue/eslint-config-airbnb": "^5.0.2",
4949
"@vue/eslint-config-prettier": "^6.0.0",
50-
"@vue/eslint-config-standard": "^5.1.0",
51-
"@vue/eslint-config-typescript": "^5.0.1",
52-
"@vuepress/plugin-pwa": "^1.3.0",
53-
"@vuepress/theme-vue": "^1.3.0",
54-
"@typescript-eslint/eslint-plugin": "^2.18.0",
55-
"@typescript-eslint/parser": "^2.18.0",
50+
"@vue/eslint-config-standard": "^5.1.2",
51+
"@vue/eslint-config-typescript": "^5.0.2",
52+
"@vuepress/plugin-pwa": "^1.4.0",
53+
"@vuepress/theme-vue": "^1.4.0",
54+
"@typescript-eslint/eslint-plugin": "^2.26.0",
55+
"@typescript-eslint/parser": "^2.26.0",
5656
"babel-core": "7.0.0-bridge.0",
57-
"babel-eslint": "^10.0.3",
57+
"babel-eslint": "^10.1.0",
5858
"babel-jest": "^24.9.0",
59-
"chromedriver": "^80.0.0",
59+
"chromedriver": "^80.0.1",
6060
"debug": "^4.1.0",
6161
"eslint": "^6.7.2",
62-
"eslint-plugin-import": "^2.20.1",
62+
"eslint-plugin-import": "^2.20.2",
6363
"eslint-plugin-graphql": "^3.1.0",
64-
"eslint-plugin-node": "^11.0.0",
64+
"eslint-plugin-node": "^11.1.0",
6565
"eslint-plugin-prettier": "^3.1.1",
6666
"eslint-plugin-promise": "^4.2.1",
6767
"eslint-plugin-standard": "^4.0.0",
68-
"eslint-plugin-vue": "^6.1.2",
68+
"eslint-plugin-vue": "^6.2.2",
6969
"eslint-plugin-vue-libs": "^4.0.0",
7070
"execa": "^1.0.0",
7171
"geckodriver": "^1.19.1",
7272
"globby": "^9.2.0",
7373
"graphql": "^14.6.0",
7474
"http-server": "^0.12.1",
75-
"inquirer": "^6.3.1",
75+
"inquirer": "^7.1.0",
7676
"jest": "^24.9.0",
7777
"lerna": "^3.19.0",
7878
"lerna-changelog": "^0.8.3",
7979
"lint-staged": "^9.5.0",
80-
"memfs": "^3.0.4",
81-
"minimist": "^1.2.0",
80+
"memfs": "^3.1.2",
81+
"minimist": "^1.2.5",
8282
"prettier": ">= 1.13.0",
83-
"request": "^2.87.0",
83+
"request": "^2.88.2",
8484
"request-promise-native": "^1.0.8",
85-
"rimraf": "^3.0.1",
85+
"rimraf": "^3.0.2",
8686
"semver": "^6.1.0",
87-
"typescript": "~3.7.5",
87+
"typescript": "~3.8.3",
8888
"vuepress": "^1.3.0",
8989
"webpack": "^4.0.0",
9090
"yorkie": "^2.0.0"

packages/@vue/babel-preset-app/index.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ module.exports = (context, options = {}) => {
5959
debug = false,
6060
useBuiltIns = 'usage',
6161
modules = false,
62+
bugfixes = true,
6263
targets: rawTargets,
6364
spec,
6465
ignoreBrowserslistConfig = !!process.env.VUE_CLI_MODERN_BUILD,
@@ -137,7 +138,8 @@ module.exports = (context, options = {}) => {
137138
}
138139

139140
const envOptions = {
140-
corejs: 3,
141+
bugfixes,
142+
corejs: useBuiltIns ? 3 : false,
141143
spec,
142144
loose,
143145
debug,
@@ -204,7 +206,7 @@ module.exports = (context, options = {}) => {
204206
presets: [
205207
[require('@babel/preset-env'), {
206208
useBuiltIns,
207-
corejs: 3
209+
corejs: useBuiltIns ? 3 : false
208210
}]
209211
]
210212
}]

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/babel-preset-app",
3-
"version": "4.2.3",
3+
"version": "4.3.1",
44
"description": "babel-preset-app for vue-cli",
55
"main": "index.js",
66
"publishConfig": {
@@ -22,16 +22,16 @@
2222
},
2323
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/babel-preset-app#readme",
2424
"dependencies": {
25-
"@babel/core": "^7.8.4",
26-
"@babel/helper-compilation-targets": "^7.8.4",
25+
"@babel/core": "^7.9.0",
26+
"@babel/helper-compilation-targets": "^7.8.7",
2727
"@babel/helper-module-imports": "^7.8.3",
2828
"@babel/plugin-proposal-class-properties": "^7.8.3",
2929
"@babel/plugin-proposal-decorators": "^7.8.3",
3030
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
3131
"@babel/plugin-syntax-jsx": "^7.8.3",
32-
"@babel/plugin-transform-runtime": "^7.8.3",
33-
"@babel/preset-env": "^7.8.4",
34-
"@babel/runtime": "^7.8.4",
32+
"@babel/plugin-transform-runtime": "^7.9.0",
33+
"@babel/preset-env": "^7.9.0",
34+
"@babel/runtime": "^7.9.2",
3535
"@vue/babel-preset-jsx": "^1.1.2",
3636
"babel-plugin-dynamic-import-node": "^2.3.0",
3737
"core-js": "^3.6.4",

packages/@vue/cli-init/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-init",
3-
"version": "4.2.3",
3+
"version": "4.3.1",
44
"description": "init addon for vue-cli",
55
"main": "index.js",
66
"publishConfig": {

packages/@vue/cli-overlay/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-overlay",
3-
"version": "4.2.3",
3+
"version": "4.3.1",
44
"description": "error overlay & dev server middleware for vue-cli",
55
"main": "dist/client.js",
66
"files": [

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-babel",
3-
"version": "4.2.3",
3+
"version": "4.3.1",
44
"description": "babel plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -20,10 +20,10 @@
2020
},
2121
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-babel#readme",
2222
"dependencies": {
23-
"@babel/core": "^7.8.4",
24-
"@vue/babel-preset-app": "^4.2.3",
25-
"@vue/cli-shared-utils": "^4.2.3",
26-
"babel-loader": "^8.0.6",
23+
"@babel/core": "^7.9.0",
24+
"@vue/babel-preset-app": "^4.3.1",
25+
"@vue/cli-shared-utils": "^4.3.1",
26+
"babel-loader": "^8.1.0",
2727
"cache-loader": "^4.1.0",
2828
"thread-loader": "^2.1.3",
2929
"webpack": "^4.0.0"

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-e2e-cypress",
3-
"version": "4.2.3",
3+
"version": "4.3.1",
44
"description": "e2e-cypress plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -23,9 +23,9 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@vue/cli-shared-utils": "^4.2.3",
26+
"@vue/cli-shared-utils": "^4.3.1",
2727
"cypress": "^3.8.3",
28-
"eslint-plugin-cypress": "^2.8.1"
28+
"eslint-plugin-cypress": "^2.10.3"
2929
},
3030
"peerDependencies": {
3131
"@vue/cli-service": "^3.0.0 || ^4.0.0-0"

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-e2e-nightwatch",
3-
"version": "4.2.3",
3+
"version": "4.3.1",
44
"description": "e2e-nightwatch plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -23,12 +23,12 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@vue/cli-shared-utils": "^4.2.3",
26+
"@vue/cli-shared-utils": "^4.3.1",
2727
"deepmerge": "^4.2.2",
2828
"nightwatch": "^1.3.4"
2929
},
3030
"devDependencies": {
31-
"chromedriver": "^80.0.0",
31+
"chromedriver": "^80.0.1",
3232
"geckodriver": "^1.19.1",
3333
"selenium-server": "^3.141.59"
3434
},

packages/@vue/cli-plugin-eslint/__tests__/ui.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('getEslintPrompts', () => {
8484
extends: 'plugin:vue/recommended',
8585
rules: {
8686
'vue/lorem': ['error', ['asd']], // custom setting
87-
'vue/ipsum': 'warning'
87+
'vue/ipsum': 'warn'
8888
}
8989
}
9090
}
@@ -146,7 +146,7 @@ describe('getEslintPrompts', () => {
146146
})
147147

148148
it('sets value on prompt item, if the rule was set in project\'s eslint config', () => {
149-
expect(prompts[1].value).toBe('"warning"')
149+
expect(prompts[1].value).toBe('"warn"')
150150
expect(prompts[2].value).toBe('["error",["asd"]]')
151151
})
152152

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
const DEPS_MAP = {
22
base: {
33
eslint: '^6.7.2',
4-
'eslint-plugin-vue': '^6.1.2'
4+
'eslint-plugin-vue': '^6.2.2'
55
},
66
airbnb: {
77
'@vue/eslint-config-airbnb': '^5.0.2',
8-
'eslint-plugin-import': '^2.20.1'
8+
'eslint-plugin-import': '^2.20.2'
99
},
1010
prettier: {
1111
'@vue/eslint-config-prettier': '^6.0.0',
1212
'eslint-plugin-prettier': '^3.1.1',
1313
prettier: '^1.19.1'
1414
},
1515
standard: {
16-
'@vue/eslint-config-standard': '^5.1.0',
17-
'eslint-plugin-import': '^2.20.1',
18-
'eslint-plugin-node': '^11.0.0',
16+
'@vue/eslint-config-standard': '^5.1.2',
17+
'eslint-plugin-import': '^2.20.2',
18+
'eslint-plugin-node': '^11.1.0',
1919
'eslint-plugin-promise': '^4.2.1',
2020
'eslint-plugin-standard': '^4.0.0'
2121
},
2222
typescript: {
23-
'@vue/eslint-config-typescript': '^5.0.1',
24-
'@typescript-eslint/eslint-plugin': '^2.18.0',
25-
'@typescript-eslint/parser': '^2.18.0'
23+
'@vue/eslint-config-typescript': '^5.0.2',
24+
'@typescript-eslint/eslint-plugin': '^2.26.0',
25+
'@typescript-eslint/parser': '^2.26.0'
2626
}
2727
}
2828

@@ -37,7 +37,7 @@ exports.getDeps = function (api, preset) {
3737

3838
if (api.hasPlugin('babel') && !api.hasPlugin('typescript')) {
3939
Object.assign(deps, {
40-
'babel-eslint': '^10.0.3'
40+
'babel-eslint': '^10.1.0'
4141
})
4242
}
4343

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ exports.config = (api, preset) => {
77
ecmaVersion: 2020
88
},
99
rules: {
10-
'no-console': makeJSOnlyValue(`process.env.NODE_ENV === 'production' ? 'error' : 'off'`),
11-
'no-debugger': makeJSOnlyValue(`process.env.NODE_ENV === 'production' ? 'error' : 'off'`)
10+
'no-console': makeJSOnlyValue(`process.env.NODE_ENV === 'production' ? 'warn' : 'off'`),
11+
'no-debugger': makeJSOnlyValue(`process.env.NODE_ENV === 'production' ? 'warn' : 'off'`)
1212
}
1313
}
1414

0 commit comments

Comments
 (0)