Commit Graph

2888 Commits

Author SHA1 Message Date
Haoqun Jiang 465986923a v4.3.0 v4.3.0 2020-04-01 15:59:32 +08:00
Haoqun Jiang 4b31d8ad53 chore: pre release sync 2020-04-01 15:58:46 +08:00
Haoqun Jiang 016bb322dd chore: bump typescript version to 3.8
It's been supported in the latest versions of @typescript-eslint packages
https://github.com/typescript-eslint/typescript-eslint/pull/1696
2020-04-01 15:27:39 +08:00
Haoqun Jiang 5c8c614414 chore: update download-git-repo to the latest major 2020-04-01 15:20:50 +08:00
Haoqun Jiang ee05918486 chore: dependency maintenance 2020-04-01 14:27:44 +08:00
Haoqun Jiang 960400bc07 chore: merge branch 'master' into dev 2020-04-01 13:14:44 +08:00
Darryl Kuhn 0051017978 feat(service): Allow mocha unit tests debugger to be bound to a specified IP and port (#5294) 2020-04-01 13:07:03 +08:00
George Tsiolis 3d200ced8e fix(ui): change git initialization commit message placeholder text (#5329) 2020-03-31 21:02:21 +08:00
Haoqun Jiang 55d33754f4 feat: enable bugfixes option for babel by default (#5322)
Per the discussion at https://github.com/babel/babel/pull/11083,
it should not be considered a breaking change

Closes #5301
Closes #4848
2020-03-31 20:54:52 +08:00
Haoqun Jiang a1041a897e fix: avoid process hanging when trying to get Chrome version (#5315)
* fix: add a timeout, avoid process hanging

fixes #5310

* fix: avoid accidentally trigerring the `installedBrowsers` getter

fixes #5286
2020-03-31 18:10:56 +08:00
simon3000 4225c30e36 feat: support vue.config.cjs (#5293)
* chore: Update yarn.lock

* feat: support vue.config.cjs

* fix: vue.config.js prior than cjs

* chore: merge upstream
2020-03-31 18:10:12 +08:00
Thorsten Lünborg d8afaa0ba2 fix(ui): build task defaults should respect outputDir option from config file (#5290)
fix #2639
2020-03-27 17:28:49 +08:00
Haoqun Jiang ef9f7bf57a chore(cli-service-global): remove direct dependency on @vue/babel-preset-app (#5319)
Eliminates the peer dependency warning.
2020-03-27 17:03:19 +08:00
Haoqun Jiang ebcee9a32c fix: spawn scripts with node, fix modern mode with Yarn 2 (Berry) (#5320)
See https://github.com/yarnpkg/berry/issues/964#issuecomment-587425891
2020-03-27 17:02:23 +08:00
Haoqun Jiang f1bdf7319a refactor: simplify config loading by skip fs.existsSync check (#5305)
Use error code thrown by `require` directly.
This also simplifies module mocking in unit test.
2020-03-24 15:24:52 +08:00
Haoqun Jiang 5b1709abf0 fix(target-lib): fix dynamic public path in a dynamic chunk in Firefox (#5247)
* fix(target-lib): fix dynamic public path in a dynmaic chunk in Firefox

* fix: fix typo

* feat: use external dependency `@soda/get-current-script`

* fix: const -> var, as the `setPublicPath` file is not transpiled
2020-03-23 16:13:55 +08:00
Jadranko Dragoje db64c5b400 feat: wc entry accepts multiple file patterns splited by ',' (#3886) 2020-03-21 21:39:40 +08:00
Jair Reina e5449adf74 feat(vue-cli): Choosing to save as a preset tells you where it is saved (#5212)
close #5197

Co-authored-by: Jair Reina <Jair.Reina@digitaslbi.com>
2020-03-21 21:34:27 +08:00
Janis Pritzkau c8e64507ba fix(pwa): null check icon paths (#5087) 2020-03-19 21:23:06 +08:00
Cédric Exbrayat 3633cf5f7e feat: use @vue/compiler-sfc as a compiler for TS if available (#5170)
* feat: use @vue/compiler-sfc as a compiler for TS if available

The `fork-ts-checker-webpack-plugin` is using `vue-template-compiler` by default, and this compiler is not the correct one to pick for vue-next. This commit tries to load `@vue/compiler-sfc` and falls back to `vue-template-compiler` if it does not find it.

* chore: bump fork-ts-checker-webpack-plugin to v3.1.1
2020-03-19 21:17:22 +08:00
megos 12f3d3bc09 chore(eslint): Bump eslint-loader version to support ESLint 6 (#5273) 2020-03-19 17:44:25 +08:00
Haoqun Jiang 36c6c2e8e5 fix: fix severity config in ui (#5242)
* fix: fix severity config in ui

closes #5175

* test: update test
2020-03-19 16:44:16 +08:00
Haoqun Jiang 41cf5e1059 feat: ease the default no-console severity to warn (#5241)
As ESLint 6 removes this rule from the recommended config
https://eslint.org/docs/user-guide/migrating-to-6.0.0#eslint-recommended-has-been-updated
2020-03-19 16:41:43 +08:00
Haoqun Jiang a1782f9972 feat: add "not dead" to the default browserslist query (#5233) 2020-03-19 16:41:22 +08:00
Haoqun Jiang 0609b1be46 fix: fix false positive of hasProjectNpm (#5264) 2020-03-19 16:36:34 +08:00
dependabot[bot] 137e7a724e chore(deps): bump acorn from 7.1.0 to 7.1.1 (#5270)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 15:23:58 +08:00
dependabot[bot] a40e08302c chore(deps): bump minimist from 1.2.0 to 1.2.2 (#5271)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 15:23:36 +08:00
James George 8749f4b715 chore: test case for command suggestion (#5228) 2020-03-11 17:41:39 +08:00
Mike 74ca541e27 Improve package.json not found error  (#5238) 2020-03-07 00:23:08 +01:00
Haoqun Jiang d41f31c2f9 docs: add warning on client side environment variables (#5243)
Inspired by the create-react-app documentation
https://create-react-app.dev/docs/adding-custom-environment-variables
2020-03-07 00:22:35 +01:00
夜宴 d84c074eb9 Update plugin-dev.md (#5231) 2020-03-07 00:20:02 +01:00
Benoît Burgener f1bde5b76c fix(babel-preset-app): avoid corejs warning when useBuiltIns is false (#5236) 2020-03-03 16:00:23 +08:00
noi 0569054b47 docs: fix readme of @vue/cli-plugin-eslint (#5226) [ci skip]
The default target directories of `vue-cli-service lint` command were written as `src` and `test`, but `src` and `tests` are correct.
2020-02-28 12:39:21 +08:00
Manuel Ojeda 84abd1182f types(router): added router array type for Array RouteConfig (#4805)
* types(router): added router array type for Array RouteConfig

* Update index.js

* Update index.js
2020-02-28 12:24:37 +08:00
Haoqun Jiang 0380f226b9 v4.2.3 v4.2.3 2020-02-27 22:31:36 +08:00
Haoqun Jiang a6c35cd881 chore: merge branch 'dev' 2020-02-27 18:18:50 +08:00
Haoqun Jiang da848401c3 docs: add page title & fix link [ci skip] 2020-02-27 18:10:28 +08:00
Haoqun Jiang d8db292080 fix: fix "Vue packages version mismatch" error caused by other global packages (#5163)
closes #5161

The root cause of such issues:

`vue-jscodeshift-adapter` requires `vue-template-compiler`.
`vue-template-compiler` tries to require the `vue` package and check
its version on startup.

Normally, there's no `vue` package in the dependency tree of `@vue/cli`,
so this check will just skip.

But if the user has installed some other global package that depend on
`vue`, and hoists it to the root `node_modules`, `vue-template-compiler`
would successfully require it and check against that `vue` version,
which sometimes may be outdated, thus failing the bootstrap process.
2020-02-27 11:10:47 +08:00
Cédric Exbrayat 5cb988cb27 fix(GeneratorAPI): remove warning when using extendPackage with prune (#5202)
Currently, if we use `api.extendPackage({foo: null}, {prune: true})` the dependency is removed but a warning is logged as the range is invalid:

```
 WARN  invalid version range for dependency "foo":

- null injected by generator "my-plugin"
```
2020-02-27 11:10:14 +08:00
Haoqun Jiang 69f6805211 fix(cli-service-global): fix no-debugger rule config (#5196)
closes #5194
2020-02-27 11:09:21 +08:00
Haoqun Jiang 7225649615 docs: vue-cli -> Vue CLI 2020-02-27 10:28:49 +08:00
Haoqun Jiang 33487a858c workflow: allow manually specifying dist-tag when releasing 2020-02-27 10:26:02 +08:00
derline c39eb72ce2 docs(zh): fix typo in mode-and-env.md (#5224) 2020-02-26 23:23:25 +08:00
dehero bd12771ad6 Remove unnecessary hyphen (#5184) 2020-02-25 07:27:32 +02:00
James George 480ac7f84f chore: minor typographical fix (#5215) 2020-02-25 09:05:31 +08:00
defead b08c10fbcd docs(zh): update example format (#5209) 2020-02-24 15:08:19 +08:00
Xiao Haiping efbc20c676 docs(zh): Update now 404 url (#5141)
ref to en docs
2020-02-17 15:22:18 +08:00
James George 1423553a6d chore: Minor typographical fix (#5189)
* chore: typographical fix

* chore: update test
2020-02-16 20:52:17 +08:00
Ville Säävuori 677e4c5aa0 Added basic upgrading instructions (#5176)
* Added basic upgrading instructions

* Update docs/guide/installation.md

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

* Update docs/guide/installation.md

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

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>
2020-02-15 12:40:11 +02:00
James George 130bcfb730 chore: switch over to leven for command suggestion (#5166)
* chore: switch to leven

* chore: update lock file

* chore: iterate through all the available commands and find closest match

* chore: update yarn.lock

* fix: lint

* chore: find the best possible match
2020-02-13 17:31:04 +08:00