Commit Graph

2369 Commits

Author SHA1 Message Date
Haoqun Jiang d319007ffa feat: implement a migrator that removes vue-next as it's no longer needed (#5725) 2020-07-29 13:48:21 +08:00
Haoqun Jiang 57f4184e4f fix: make vue-loader-v16 an optional dependency, avoid crashing npm 5 (#5718)
fixes #5715
2020-07-29 13:48:08 +08:00
Haoqun Jiang 1aaa592642 fix: use fork-ts-checker-webpack-plugin v5 for vue 3 type checking (#5722)
Fixes #5712

Note this is a optional dependency so that we don't break compatibility
with Node.js v8.
2020-07-29 13:47:49 +08:00
Haoqun Jiang f1e77a5551 Revert "refactor: use console.clear to clear the log (#5700)"
This reverts commit 7c2a36b889.

`console.clear` overrides the previous content on the screen, so it
might cause confusion when users scrolls back.
2020-07-24 19:55:05 +08:00
Haoqun Jiang 56348259db v4.5.0 2020-07-24 19:41:52 +08:00
Haoqun Jiang 15448dcd3b chore: pre release sync 2020-07-24 19:41:11 +08:00
Haoqun Jiang 21b2691b4b workflow: remove explicit cyclic dependencies to avoid lerna errors
Though there's still implicit dependency on `@vue/cli` in
`@vue/cli-test-utils`, users can fix it by installing them side-by-side.
2020-07-24 19:38:04 +08:00
Haoqun Jiang 05057c1650 chore: Merge branch 'master' into dev 2020-07-24 18:55:19 +08:00
Haoqun Jiang b1772cadd2 feat: allow choosing vue version on creation (and in presets) (#5637) 2020-07-24 18:54:15 +08:00
Arthur 7c2a36b889 refactor: use console.clear to clear the log (#5700)
Co-authored-by: chentao.arthur <chentao.arthur@bytedance.com>
2020-07-24 18:30:57 +08:00
Bogdan Luca ddabb6679e fix: fix kubernetes container detection (#5681) 2020-07-19 21:36:56 +08:00
Haoqun Jiang c98f76a5fa feat: add skipLibCheck option in the ts template (defaults to true) (#5688) 2020-07-16 15:27:20 +08:00
Binwei Fang 725ca41b69 feat(cli,cli-service,cli-test-utils): add ts declaration (#5356)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-07-15 17:02:54 +08:00
Yazhe Wang ed5c530d4a docs: extend the docs of babel-preset-app browserslist (#5675) [ci skip] 2020-07-13 21:53:08 +08:00
Haoqun Jiang 82d65e1fff chore: Merge branch 'master' into dev 2020-07-13 16:28:34 +08:00
Ivan Sieder 256e136a75 docs: corrected typo in pwa readme (#5676) [ci skip] 2020-07-13 14:51:13 +08:00
Haoqun Jiang 7f56846a2e refactor: replace jscodeshift with vue-codemod (#5629) 2020-07-01 15:06:55 +08:00
Haoqun Jiang 8600585481 feat: detect and compile Vue 3 projects (#5570) 2020-06-24 15:09:28 +08:00
Haoqun Jiang cc38420e39 fix: better error message for non-existent polyfill names (#5543)
Fixes #3578
2020-06-24 13:40:39 +08:00
Haoqun Jiang 1a8c7fdeaf feat: support node nightly builds (#5556)
fixes #5548
2020-06-24 13:39:01 +08:00
Haoqun Jiang e311b062cb v4.4.6 2020-06-24 13:23:16 +08:00
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 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