Commit Graph

2969 Commits

Author SHA1 Message Date
Haoqun Jiang dd98d2a7f0 fix: fix jscodeshift peer dependency error (#5614)
Fixes #5612

TODO: @babel/preset-env can be removed when we switch over from
jscodeshift to vue-codemod
2020-06-24 13:17:19 +08:00
Haoqun Jiang 2ed39752cb chore: merge branch 'master' into dev 2020-06-24 10:39:39 +08:00
Haoqun Jiang 09cdf51c5e fix: fix support for some legacy registry servers (#5609)
Some registry servers do not recognize `application/vnd.npm.install-v1+json`
in the Accept header, so here we add `application/json` as fallback.
2020-06-24 10:35:55 +08:00
Haoqun Jiang f6e9b9469f docs: @babel-preset/env -> @babel/preset-env (#5603)
closes #5475

Thank @ucev for spotting this.
2020-06-24 10:35:19 +08:00
Haoqun Jiang c889073c7f chore: improve error message when get metadata failed (#5604) 2020-06-24 10:35:01 +08:00
Haoqun Jiang b3df8ba383 docs: @babel-preset/env -> @babel/preset-env (#5603)
closes #5475

Thank @ucev for spotting this.
2020-06-24 10:33:39 +08:00
Haoqun Jiang b66bc8c6e6 v4.4.5 v4.4.5 2020-06-22 20:00:02 +08:00
Haoqun Jiang 1157b9f859 chore: merge branch 'master' into dev 2020-06-22 17:06:21 +08:00
dtcz 326934e084 fix: polyfill injection when building app on multiple threads (#5592) 2020-06-22 17:05:04 +08:00
Haoqun Jiang 66370e82c4 fix: fix an edge case that VUE_CLI_SERVICE_CONFIG_PATH might be ignored (#5598)
Though, it is still a bad practice to use `VUE_CLI_SERVICE_CONFIG_PATH`
in a project with `vue.config.js`

closes #5584
2020-06-22 16:26:33 +08:00
Haoqun Jiang 222477e4e5 fix(nightwatch): compat with legacy presets without webdrivers field (#5601) 2020-06-22 16:25:49 +08:00
小新 dc2456ed29 docs: translate plugin-dev (#5345) [ci skip]
* docs: translate plugin-dev

* update 部分语法调整

* Update docs/zh/dev-guide/plugin-dev.md

* Update docs/zh/dev-guide/plugin-dev.md

* Update docs/zh/dev-guide/plugin-dev.md

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-06-22 10:50:10 +08:00
Alexandre D'Erman 5869f1f2d1 fix(cypress): stop ignoring --config-file cypress option (#5580)
This fixes an issue with the implementation of `removeArg()` whereby
calling `removeArg(args, "config")` removed argument "--config-file" if
provided

This commit fixes this by ensuring that calling `removeArg(args, "config")`
removes `--config` without removing `--config-file`.
2020-06-21 17:12:10 +08:00
Haoqun Jiang 4891d91d3c fix: support auth token when retrieving package metadata (#5586) 2020-06-19 15:47:13 +08:00
Haoqun Jiang 2691266a44 chore: add package-lock.json to .gitignore
Because we use yarn for development, we need to avoid accidentally
checking in package-lock.json from PRs.
2020-06-18 19:12:08 +08:00
Haoqun Jiang 795b27747d fix(nightwatch): should not install corresponding webdriver if the browser is unselected (#5528) 2020-06-18 15:52:43 +08:00
yazhe wang 6592e62770 docs: update cli eslint plugin configuration (#5579) [ci skip]
* docs: update cli eslint plugin configuration

* docs: sync cli-plugin-eslint README from core-plugins

* docs: update eslint plugin README
2020-06-16 18:59:50 +08:00
yazhe wang a41cac220a refactor: replace request-promise-native with util.promisify (#5572) 2020-06-15 16:53:58 +08:00
Alexander Sokolov c63593e036 docs: [RU] Translation update (#5578)
* docs: [RU] update migrating-from-v3.md

* docs: [RU] update prototyping.md

* docs: [RU] update webpack.md

* docs: [RU] fix typos in cli-service.md

* Update docs/ru/guide/prototyping.md

Co-Authored-By: Natalia Tepluhina <tarya.se@gmail.com>

* docs: (ru) pwa.md update

* docs: (ru) browser-compatibility.md fix import

* docs: (ru) deployment.md fix example

* docs: (ru) installation.md update

* docs: (ru) deployment.md update link

* docs: (ru) core-plugins/eslint fix

* docs: (ru) pwa.md update

* docs(ru): plugin-dev.md fix link

* docs(ru): cli-service.md update

* docs(ru): pwa.md update

* docs(ru): pwa.md update

* Update docs/ru/core-plugins/pwa.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update docs/ru/core-plugins/pwa.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

Co-authored-by: Alex Sokolov <4497128+Alex-Sokolov@users.noreply.github.com>
Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>
2020-06-13 17:46:35 +03:00
Haoqun Jiang 78374b717e v4.4.4 v4.4.4 2020-06-12 20:59:21 +08:00
Haoqun Jiang 9c01dad83a fix: should return the parse result in the compiler-sfc-shim (#5576)
Fixes #5574
2020-06-12 20:55:34 +08:00
Haoqun Jiang d9453e8227 v4.4.3 v4.4.3 2020-06-12 15:53:06 +08:00
Haoqun Jiang e13f8f8588 chore: merge branch 'master' into dev 2020-06-12 15:52:05 +08:00
Haoqun Jiang a4839e921b v4.4.2 v4.4.2 2020-06-12 15:46:01 +08:00
Haoqun Jiang 2dc0e81c0b docs: add documentation for manifestCrossorigin (#5571) [ci skip] 2020-06-12 15:42:20 +08:00
Haoqun Jiang e096927b4a chore: merge branch 'master' into dev 2020-06-11 23:18:50 +08:00
liuye11 893611dad2 docs: update default value of lintOnSave option (#5563) [ci skip]
closes #5100
2020-06-10 15:45:20 +08:00
yazhe wang 696542d354 docs: serve command default entry value (#5558) [ci skip]
closes #5562 4485
2020-06-10 15:36:28 +08:00
dtcz dcfb0bdbc9 fix(cli-service): fix polyfill injection when overriding entry with the CLI option
Fixes #5508
2020-06-02 21:29:28 +08:00
EzioShiki 1d0deded94 fix(eslint-migrator): skip upgrade prompt if eslint v7 is detected (#5545)
Co-authored-by: EzioShiki <zhuzhenya@zuoyebang.com>

Fixes #5533
2020-06-02 21:19:28 +08:00
Haoqun Jiang b9b2fcdd36 fix: correctly shim @vue/compiler-sfc for fork-ts-checker-plugin (#5539)
Fixes the line padding to retain diagnostics location
2020-06-02 16:49:04 +08:00
yazhe wang 36f961e43d fix(cli-service): process the webpack failed hook in the serve command (#5542)
fixes #4891
2020-06-02 15:12:58 +08:00
fxxjdedd fa871b05b3 fix: add --no-verify to initial git commit (#5540) 2020-06-01 18:50:04 +08:00
Lucas Werkmeister 0809fc8a9c feat(babel-preset-app): pass full config to @babel/preset-env (#5522)
Pass not just the useBuiltIns and corejs options, but the whole
envOptions object, into the @babel/preset-env preset that is used to
transform @babel/runtime, just like for the @babel/preset-env that is
used for the application source code. This allows users to also specify
other options, such as `exclude` and `polyfills`, and have them apply
here too.

In particular, this can be used to exclude the Promise polyfill, e. g.
if Promise is already polyfilled in some other way. Previously,

    exclude: ['es.promise'],
    polyfills: ['es.array.iterator', 'es.object.assign'],

could be used to configure the preset for the application source code,
but the babel runtime would be transformed without those options, and so
es.promise would still end up being included.

Closes #5208
2020-05-29 21:06:23 +08:00
Saleh Alghusson 22c8a22dac docs: mention using null to ignore icons (#5530) 2020-05-29 15:46:35 +08:00
Haoqun Jiang 34f303b0b6 v4.4.1 v4.4.1 2020-05-25 16:09:19 +08:00
Haoqun Jiang 36b475c117 chore: depedency maintenance 2020-05-25 14:40:04 +08:00
Haoqun Jiang 91ca0b1f3c refactor: improve the polyfill importing logic of modern mode (#5513)
TODO:
- should remove core-js from `dependencies` in the next major.
2020-05-25 10:15:15 +08:00
Haoqun Jiang 538a0288c8 fix(cli): fix the creation log (#5502) 2020-05-21 17:10:42 +08:00
Haoqun Jiang f425fff04f chore: Merge branch 'master' into dev 2020-05-20 22:14:49 +08:00
Drew Bragg 057201c1e8 docs: explain pwa head/manifest icons (#5408) 2020-05-20 20:05:23 +08:00
Haoqun Jiang 6323b73260 v4.4.0 v4.4.0 2020-05-19 23:19:18 +08:00
Haoqun Jiang d03ccc3352 chore: pre release sync 2020-05-19 23:16:08 +08:00
Haoqun Jiang 01d4bea0c5 fix: should throw errors if there is bad require() in vue.config.js (#5500)
reverts #5305
this makes the tests a little more tedious, need to find a better way
to test these functionalities

fixes #5442
2020-05-19 22:16:59 +08:00
Haoqun Jiang 02a365dc65 feat(plugin-api): expose inquirer to prompts.js, allowing custom prompt types (#5498) 2020-05-19 20:41:06 +08:00
Haoqun Jiang 0295ff6c8a fix(unit-jest): fix .vue coverage report when babel plugin is not enabled (#5499) 2020-05-19 16:42:43 +08:00
Haoqun Jiang aee9e178e7 fix: allow specifying plugin version when calling vue add (#5497)
fixes #4700
2020-05-19 09:11:15 +08:00
Haoqun Jiang 8b01c9ec51 chore: dependency maintenance (#5496) 2020-05-18 21:24:19 +08:00
Haoqun Jiang 90f114640c fix(ui): the logs from creator should be displayed in the UI (#5493)
With `logWithSpinner`, the log would be output to the console instead.

Fixes #5240
Fixes #5445
2020-05-18 10:24:38 +08:00
tommyo 16d2701011 fix(mocha): avoid --inspect-brk flag clobbering other values (#5473) 2020-05-18 10:23:51 +08:00