Commit Graph

2331 Commits

Author SHA1 Message Date
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 c889073c7f chore: improve error message when get metadata failed (#5604) 2020-06-24 10:35:01 +08:00
Haoqun Jiang b66bc8c6e6 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
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 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
Haoqun Jiang 78374b717e 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 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 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
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 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 6323b73260 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
Haoqun Jiang 75c398f04e fix(creator): do not override the README.md generated by plugins (#5472)
closes #4802
closes #4942
2020-05-16 22:09:56 +08:00
Albert Brand 96dfd581b6 fix(serve): pass devServer sockPath properly to client (#4800)
closes #4400
closes #4430
2020-05-14 19:44:12 +08:00
杨昆 a91649e8c0 fix(eslint): invalidate the cache when .eslintignore changes (#5455) 2020-05-11 16:16:33 +08:00
Romain e2f00d2867 fix(ui): fix "update all plugins/dependencies" utility (#5395) 2020-05-08 16:42:45 +08:00
Adrian B. Danieli c64afc3c2a feat(cli-service): add stdin flag to build (#5376) 2020-05-08 16:28:16 +08:00
Haoqun Jiang 5e93d70e65 fix: normalize the file argument of transformScript, fix Windows compatibility (#5424) 2020-05-08 16:11:47 +08:00
epixian 3c286d670e refactor: remove superflous vertices from the svg file (#5416) 2020-05-06 16:36:01 +08:00
Jiang Guoxi d405f23e72 fix: set timeout of openChrome.applescript (#5390) 2020-05-06 16:06:43 +08:00
Haoqun Jiang 6e8ddcccd7 ci: disable thread-loader on circleci 2020-04-29 16:54:15 +08:00
Haoqun Jiang 8d1056268e chore: dependency maintenance 2020-04-29 16:41:40 +08:00
Haoqun Jiang 5ac62da4c2 chore: disable gql linting 2020-04-29 16:18:00 +08:00