Skip to content

Commit 079a451

Browse files
committed
v4.2.0
1 parent d493491 commit 079a451

File tree

25 files changed

+147
-60
lines changed

25 files changed

+147
-60
lines changed

CHANGELOG.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,91 @@
11

2+
## 4.2.0 (2020-02-07)
3+
4+
#### :rocket: New Features
5+
* `@vue/cli-plugin-babel`, `@vue/cli-plugin-eslint`, `@vue/cli-plugin-typescript`, `@vue/cli`
6+
* [#5149](https://github.com/vuejs/vue-cli/pull/5149) feat(GeneratorAPI): allow passing options to `api.extendPackage` ([@sodatea](https://github.com/sodatea))
7+
* `@vue/cli-plugin-unit-jest`, `@vue/cli-plugin-unit-mocha`
8+
* [#5147](https://github.com/vuejs/vue-cli/pull/5147) feat: create projects with @vue/test-utils beta 31 ([@sodatea](https://github.com/sodatea))
9+
* `@vue/cli-ui`, `@vue/cli`
10+
* [#5134](https://github.com/vuejs/vue-cli/pull/5134) feat: lock minor versions when creating projects / adding plugins ([@sodatea](https://github.com/sodatea))
11+
* `@vue/cli-plugin-typescript`, `@vue/cli-ui`
12+
* [#5128](https://github.com/vuejs/vue-cli/pull/5128) feat: upgrade to typescript@~3.7.5 ([@sodatea](https://github.com/sodatea))
13+
* `@vue/cli`
14+
* [#5091](https://github.com/vuejs/vue-cli/pull/5091) feat: `vue upgrade` monorepo support, `--from` option, and a new `vue migrate --from` command ([@sodatea](https://github.com/sodatea))
15+
* [#4828](https://github.com/vuejs/vue-cli/pull/4828) feat: add option merge to command create ([@zyy7259](https://github.com/zyy7259))
16+
* `@vue/cli-service`
17+
* [#4953](https://github.com/vuejs/vue-cli/pull/4953) feat: adds transparent PnP support to Webpack ([@arcanis](https://github.com/arcanis))
18+
* [#2411](https://github.com/vuejs/vue-cli/pull/2411) feat(cli): add stdin flag to serve ([@nullpilot](https://github.com/nullpilot))
19+
* `@vue/babel-preset-app`, `@vue/cli-plugin-e2e-nightwatch`, `@vue/cli-plugin-eslint`, `@vue/cli-plugin-pwa`, `@vue/cli-ui-addon-webpack`, `@vue/cli-ui-addon-widgets`, `@vue/cli-ui`, `@vue/cli`
20+
* [#4933](https://github.com/vuejs/vue-cli/pull/4933) feat: upgrade to eslint 6 ([@sodatea](https://github.com/sodatea))
21+
* `@vue/cli-service`, `@vue/cli-shared-utils`, `@vue/cli`
22+
* [#4827](https://github.com/vuejs/vue-cli/pull/4827) feat: respect existing package.json ([@zyy7259](https://github.com/zyy7259))
23+
* `@vue/babel-preset-app`
24+
* [#4959](https://github.com/vuejs/vue-cli/pull/4959) feat: specify babel runtime version ([@zyy7259](https://github.com/zyy7259))
25+
* `@vue/cli-service-global`
26+
* [#5029](https://github.com/vuejs/vue-cli/pull/5029) feat: don't throw on console/debugger statements for `vue serve` ([@sodatea](https://github.com/sodatea))
27+
28+
#### :bug: Bug Fix
29+
* `@vue/cli-shared-utils`, `@vue/cli`
30+
* [#5150](https://github.com/vuejs/vue-cli/pull/5150) fix: should infer package manager from config if there's no lockfile in the project ([@sodatea](https://github.com/sodatea))
31+
* [#5045](https://github.com/vuejs/vue-cli/pull/5045) refactor: use a plain http request to get package metadata ([@sodatea](https://github.com/sodatea))
32+
* `@vue/cli`
33+
* [#5142](https://github.com/vuejs/vue-cli/pull/5142) fix(cors): fixup #4985, allow same-origin ws requests of any domain ([@sodatea](https://github.com/sodatea))
34+
* [#5062](https://github.com/vuejs/vue-cli/pull/5062) fix `afterInvoke`/`onCreateComplete` callbacks in Migrator ([@sodatea](https://github.com/sodatea))
35+
* [#5038](https://github.com/vuejs/vue-cli/pull/5038) fix: extendPackage object values should be string ([@pksunkara](https://github.com/pksunkara))
36+
* `@vue/cli-ui`, `@vue/cli`
37+
* [#4985](https://github.com/vuejs/vue-cli/pull/4985) fix(CORS): only allow connections from the designated host ([@Akryum](https://github.com/Akryum))
38+
* `@vue/cli-plugin-e2e-cypress`
39+
* [#5108](https://github.com/vuejs/vue-cli/pull/5108) fix(e2e-cypress): make --headless work with --browser chrome ([@LinusBorg](https://github.com/LinusBorg))
40+
* [#4910](https://github.com/vuejs/vue-cli/pull/4910) fix: comment eslint disable in cypress config ([@cexbrayat](https://github.com/cexbrayat))
41+
* `@vue/cli-service`
42+
* [#5113](https://github.com/vuejs/vue-cli/pull/5113) fix: correctly calculate cacheIdentifier from lockfiles ([@sodatea](https://github.com/sodatea))
43+
* `@vue/cli-plugin-pwa`
44+
* [#5089](https://github.com/vuejs/vue-cli/pull/5089) fix: pwa-plugin avoid generating manifest when path is an URL ([@tkint](https://github.com/tkint))
45+
* `@vue/cli-plugin-unit-jest`, `@vue/cli-plugin-unit-mocha`
46+
* [#5028](https://github.com/vuejs/vue-cli/pull/5028) fix applyESLint when eslint plugin is added after unit test plugins ([@sodatea](https://github.com/sodatea))
47+
* `@vue/cli-service`, `@vue/cli-test-utils`
48+
* [#5069](https://github.com/vuejs/vue-cli/pull/5069) Use a single websocket connection for HMR ([@lbogdan](https://github.com/lbogdan))
49+
* `@vue/cli-plugin-e2e-nightwatch`
50+
* [#5016](https://github.com/vuejs/vue-cli/pull/5016) fix(e2e-nightwatch): check for correct flag name ([@LinusBorg](https://github.com/LinusBorg))
51+
52+
#### :memo: Documentation
53+
* [#5019](https://github.com/vuejs/vue-cli/pull/5019) Updated zh-cn translation in cli section ([@mactanxin](https://github.com/mactanxin))
54+
55+
#### :house: Internal
56+
* `@vue/babel-preset-app`, `@vue/cli-plugin-babel`
57+
* [#5133](https://github.com/vuejs/vue-cli/pull/5133) refactor: remove usage of deprecated babel functions, preparing for babel 8 ([@sodatea](https://github.com/sodatea))
58+
* `@vue/cli-service`
59+
* [#5123](https://github.com/vuejs/vue-cli/pull/5123) fix: vue-template-compiler can be optional if @vue/compiler-sfc presents ([@sodatea](https://github.com/sodatea))
60+
* [#5060](https://github.com/vuejs/vue-cli/pull/5060) refactor: use the `title` option in the html template, instead of hard-code the project name ([@sodatea](https://github.com/sodatea))
61+
* `@vue/cli`
62+
* [#5110](https://github.com/vuejs/vue-cli/pull/5110) refactor: use env variables to set registry for package managers ([@sodatea](https://github.com/sodatea))
63+
* `@vue/cli-shared-utils`
64+
* [#5092](https://github.com/vuejs/vue-cli/pull/5092) refactor: use createRequire to load/resolve modules ([@sodatea](https://github.com/sodatea))
65+
* `@vue/cli-plugin-router`, `@vue/cli-plugin-typescript`, `@vue/cli-service`
66+
* [#4991](https://github.com/vuejs/vue-cli/pull/4991) 🎨 style: unified components' naming style ([@taoweicn](https://github.com/taoweicn))
67+
68+
#### Committers: 17
69+
- Alexander Sokolov ([@Alex-Sokolov](https://github.com/Alex-Sokolov))
70+
- Bogdan Luca ([@lbogdan](https://github.com/lbogdan))
71+
- Cédric Exbrayat ([@cexbrayat](https://github.com/cexbrayat))
72+
- Dan Hogan ([@danhogan](https://github.com/danhogan))
73+
- Daniel Bächtold ([@danbaechtold](https://github.com/danbaechtold))
74+
- Eduardo San Martin Morote ([@posva](https://github.com/posva))
75+
- Guillaume Chau ([@Akryum](https://github.com/Akryum))
76+
- Haoqun Jiang ([@sodatea](https://github.com/sodatea))
77+
- Marcel Lindig ([@nullpilot](https://github.com/nullpilot))
78+
- Maël Nison ([@arcanis](https://github.com/arcanis))
79+
- Pavan Kumar Sunkara ([@pksunkara](https://github.com/pksunkara))
80+
- Tao Wei ([@taoweicn](https://github.com/taoweicn))
81+
- Thomas Kint ([@tkint](https://github.com/tkint))
82+
- Thorsten Lünborg ([@LinusBorg](https://github.com/LinusBorg))
83+
- Xin Tan ([@mactanxin](https://github.com/mactanxin))
84+
- Yingya Zhang ([@zyy7259](https://github.com/zyy7259))
85+
- plantainX ([@cheqianxiao](https://github.com/cheqianxiao))
86+
87+
88+
289
## 4.1.2 (2019-12-28)
390

491
#### :bug: Bug Fix

docs/core-plugins/pwa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ file, or the `"vue"` field in `package.json`.
6969

7070
- Default: `'manifest.json'`
7171

72-
The path of app’s manifest.
72+
The path of app’s manifest. If the path is an URL, the plugin won't generate a manifest.json in the dist directory during the build.
7373

7474
- **pwa.manifestOptions**
7575

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"npmClient": "yarn",
33
"useWorkspaces": true,
4-
"version": "4.1.2",
4+
"version": "4.2.0",
55
"packages": [
66
"packages/@vue/babel-preset-app",
77
"packages/@vue/cli*",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/babel-preset-app",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "babel-preset-app for vue-cli",
55
"main": "index.js",
66
"publishConfig": {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-init",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "init addon for vue-cli",
55
"main": "index.js",
66
"publishConfig": {

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

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-babel",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "babel plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -21,8 +21,8 @@
2121
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-babel#readme",
2222
"dependencies": {
2323
"@babel/core": "^7.8.4",
24-
"@vue/babel-preset-app": "^4.1.2",
25-
"@vue/cli-shared-utils": "^4.1.2",
24+
"@vue/babel-preset-app": "^4.2.0",
25+
"@vue/cli-shared-utils": "^4.2.0",
2626
"babel-loader": "^8.0.6",
2727
"cache-loader": "^4.1.0",
2828
"thread-loader": "^2.1.3",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-e2e-cypress",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "e2e-cypress plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -23,7 +23,7 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@vue/cli-shared-utils": "^4.1.2",
26+
"@vue/cli-shared-utils": "^4.2.0",
2727
"cypress": "^3.8.3",
2828
"eslint-plugin-cypress": "^2.8.1"
2929
},

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-e2e-nightwatch",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "e2e-nightwatch plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -23,7 +23,7 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@vue/cli-shared-utils": "^4.1.2",
26+
"@vue/cli-shared-utils": "^4.2.0",
2727
"deepmerge": "^4.2.2",
2828
"nightwatch": "^1.3.4"
2929
},

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-eslint",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "eslint plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -23,7 +23,7 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@vue/cli-shared-utils": "^4.1.2",
26+
"@vue/cli-shared-utils": "^4.2.0",
2727
"eslint-loader": "^2.1.2",
2828
"globby": "^9.2.0",
2929
"inquirer": "^6.3.1",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-pwa",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "pwa plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -23,7 +23,7 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@vue/cli-shared-utils": "^4.1.2",
26+
"@vue/cli-shared-utils": "^4.2.0",
2727
"webpack": "^4.0.0",
2828
"workbox-webpack-plugin": "^4.3.1"
2929
},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-router",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "router plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -23,10 +23,10 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@vue/cli-shared-utils": "^4.1.2"
26+
"@vue/cli-shared-utils": "^4.2.0"
2727
},
2828
"devDependencies": {
29-
"@vue/cli-test-utils": "^4.1.2"
29+
"@vue/cli-test-utils": "^4.2.0"
3030
},
3131
"peerDependencies": {
3232
"@vue/cli-service": "^3.0.0 || ^4.0.0-0"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-typescript",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "typescript plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"@types/webpack-env": "^1.15.1",
27-
"@vue/cli-shared-utils": "^4.1.2",
27+
"@vue/cli-shared-utils": "^4.2.0",
2828
"cache-loader": "^4.1.0",
2929
"fork-ts-checker-webpack-plugin": "^1.5.1",
3030
"globby": "^9.2.0",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-unit-jest",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "unit-jest plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -26,7 +26,7 @@
2626
"@babel/core": "^7.8.4",
2727
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
2828
"@types/jest": "^24.0.19",
29-
"@vue/cli-shared-utils": "^4.1.2",
29+
"@vue/cli-shared-utils": "^4.2.0",
3030
"babel-core": "^7.0.0-bridge.0",
3131
"babel-jest": "^24.9.0",
3232
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-unit-mocha",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "mocha unit testing plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -22,7 +22,7 @@
2222
},
2323
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-unit-mocha#readme",
2424
"dependencies": {
25-
"@vue/cli-shared-utils": "^4.1.2",
25+
"@vue/cli-shared-utils": "^4.2.0",
2626
"jsdom": "^15.2.1",
2727
"jsdom-global": "^3.0.2",
2828
"mocha": "^6.2.2",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-plugin-vuex",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "Vuex plugin for vue-cli",
55
"main": "index.js",
66
"repository": {
@@ -23,7 +23,7 @@
2323
"access": "public"
2424
},
2525
"devDependencies": {
26-
"@vue/cli-test-utils": "^4.1.2"
26+
"@vue/cli-test-utils": "^4.2.0"
2727
},
2828
"peerDependencies": {
2929
"@vue/cli-service": "^3.0.0 || ^4.0.0-0"

packages/@vue/cli-service-global/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-service-global",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "vue-cli-service global addon for vue-cli",
55
"main": "index.js",
66
"publishConfig": {
@@ -22,10 +22,10 @@
2222
},
2323
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-service-global#readme",
2424
"dependencies": {
25-
"@vue/babel-preset-app": "^4.1.2",
26-
"@vue/cli-plugin-babel": "^4.1.2",
27-
"@vue/cli-plugin-eslint": "^4.1.2",
28-
"@vue/cli-service": "^4.1.2",
25+
"@vue/babel-preset-app": "^4.2.0",
26+
"@vue/cli-plugin-babel": "^4.2.0",
27+
"@vue/cli-plugin-eslint": "^4.2.0",
28+
"@vue/cli-service": "^4.2.0",
2929
"babel-eslint": "^10.0.3",
3030
"chalk": "^3.0.0",
3131
"core-js": "^3.6.4",

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-service",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "local service for vue-cli projects",
55
"main": "lib/Service.js",
66
"typings": "types/index.d.ts",
@@ -25,10 +25,10 @@
2525
"dependencies": {
2626
"@intervolga/optimize-cssnano-plugin": "^1.0.5",
2727
"@soda/friendly-errors-webpack-plugin": "^1.7.1",
28-
"@vue/cli-overlay": "^4.1.2",
29-
"@vue/cli-plugin-router": "^4.1.2",
30-
"@vue/cli-plugin-vuex": "^4.1.2",
31-
"@vue/cli-shared-utils": "^4.1.2",
28+
"@vue/cli-overlay": "^4.2.0",
29+
"@vue/cli-plugin-router": "^4.2.0",
30+
"@vue/cli-plugin-vuex": "^4.2.0",
31+
"@vue/cli-shared-utils": "^4.2.0",
3232
"@vue/component-compiler-utils": "^3.0.2",
3333
"@vue/preload-webpack-plugin": "^1.1.0",
3434
"@vue/web-component-wrapper": "^1.2.0",

packages/@vue/cli-shared-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-shared-utils",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "shared utilities for vue-cli packages",
55
"main": "index.js",
66
"repository": {

packages/@vue/cli-test-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-test-utils",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"description": "test utilities for vue-cli packages",
55
"repository": {
66
"type": "git",

packages/@vue/cli-ui-addon-webpack/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-ui-addon-webpack",
3-
"version": "4.1.2",
3+
"version": "4.2.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/vuejs/vue-cli.git",
@@ -18,9 +18,9 @@
1818
},
1919
"license": "MIT",
2020
"devDependencies": {
21-
"@vue/cli-plugin-babel": "^4.1.2",
22-
"@vue/cli-plugin-eslint": "^4.1.2",
23-
"@vue/cli-service": "^4.1.2",
21+
"@vue/cli-plugin-babel": "^4.2.0",
22+
"@vue/cli-plugin-eslint": "^4.2.0",
23+
"@vue/cli-service": "^4.2.0",
2424
"@vue/eslint-config-standard": "^5.1.0",
2525
"core-js": "^3.6.4",
2626
"eslint": "^6.7.2",

0 commit comments

Comments
 (0)