Commit Graph

1868 Commits

Author SHA1 Message Date
Haoqun Jiang 32ec4320b9 chore: upgrade to fork-ts-checker-webpack-plugin to v1
Technically not a breaking change, but worth a separate commit.
2019-04-30 16:04:36 +08:00
Haoqun Jiang cbd3107d5f chore: upgrade to cache-loader v3
It's not a breaking change for Vue CLI as all our cache configs are
generated by `api.genCacheConfig` so never used the default
`cacheDirectory`.
2019-04-30 15:51:07 +08:00
Haoqun Jiang 6ba8dd1ea7 chore!: upgrade to copy-webpack-plugin v5 (#3918)
BREAKING CHANGE:
See https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md#500-2019-02-20
2019-04-30 15:43:39 +08:00
Haoqun Jiang b486491579 chore: remove gitHead field from package.json
It was introduced only due to a failed `lerna publish`
2019-04-30 15:10:50 +08:00
毛呆 9c0bf4ce26 feat!: manifest.json should be generated by cli-plugin-pwa (#2981)
BREAKING CHANGE:
For those who changed their `manifest.json` in `public/` directory, their changes will be ignored.
2019-04-30 15:00:42 +08:00
Haoqun Jiang 8f0673a93f chore!: upgrade chromedriver to 74 and make it a peer dependency (#3916) 2019-04-30 10:31:58 +08:00
Haoqun Jiang 748618ff36 feat!: upgrade to workbox v4 (#3915)
include manifest.json by default and exclude manifest.js files, following workbox v4 changes: https://github.com/GoogleChrome/workbox/pull/1679
2019-04-30 10:31:33 +08:00
Haoqun Jiang e08603bb1e feat!: upgrade to mocha 6 and use mochapack instead of mocha-webpack (#3914)
also update jsdom version
2019-04-30 10:31:33 +08:00
Haoqun Jiang 2ec3fca99a feat!: upgrade to webpack-chain v5 (#3913) 2019-04-30 10:31:17 +08:00
Haoqun Jiang 94b41c9605 feat!: upgrade to core-js 3 (#3912) 2019-04-30 10:31:17 +08:00
Haoqun Jiang dfe3987d9f feat!: enable splitChunks by default even in development mode (#3863)
BREAKING CHANGE:
This changes the output directory structures for development mode
(app.js -> index.js + chunk-common.js + chunk-vendors.js).
By enabling splitChunks by default, the memory usage of webpack may be
greatly reduced for large multi-page projects.

This commit fixes #3838
May also fix #2991
2019-04-30 10:18:32 +08:00
Haoqun Jiang 3495aa2895 feat!: upgrade jest to v24 (#3870)
BREAKING CHANGE:
See:
https://jestjs.io/blog/2019/01/25/jest-24-refreshing-polished-typescript-friendly
https://github.com/facebook/jest/blob/20ba4be9499d50ed0c9231b86d4a64ec8a6bd303/CHANGELOG.md#2400

closes #3450
closes #3605
closes #3497
2019-04-30 10:18:31 +08:00
Haoqun Jiang 2c24568198 feat!: upgrade css-loader to v2 (#3866)
BREAKING CHANGE:
See https://github.com/webpack-contrib/css-loader/blob/bc16c3db953dbf4d711753fbb0cc60253def6916/CHANGELOG.md#200-2018-12-07
2019-04-30 10:18:03 +08:00
Haoqun Jiang 678bfc6b2d feat!: set whitespace: 'condense' for template compiler (#3853)
BREAKING CHANGE:
Detailed explanation: https://github.com/vuejs/vue/issues/9208#issuecomment-450012518

Take the following template as example:
```
<p>
  Welcome to <b>Vue.js</b> <i>world</i>.
  Have fun!
</p>
```

With `preserveWhitespace: false`, it was compiled as:
```
<p> Welcome to <b>Vue.js</b><i>world</i>. Have fun! </p>
```

With `whitespace: 'condense'`, it is now compiled as:
```
<p> Welcome to <b>Vue.js</b> <i>world</i>. Have fun! </p>
```

Note the **inline whitespace between tags** is preserved.

Closes #1020
2019-04-30 10:18:03 +08:00
Haoqun Jiang b70e0f6970 feat!: require ESLint as a peer dependency (#3852)
BREAKING CHANGE:
Users will have to explicitly list their required ESLint version in the
project's package.json.

The major concern behind this change is that ESLint release schedule is
never aligned with Vue CLI's.
See https://eslint.org/blog/2019/04/eslint-v6.0.0-alpha.0-released
So even if we upgraded our built-in ESLint version to v5, we'll see a
new major release of ESLint in the coming months. Meanwhile we can't
easily upgrade the built-in ESLint version again without bumping our
major version number. This could become a maintenance nightmare.
2019-04-30 10:18:03 +08:00
Haoqun Jiang f5a1950fd2 refactor!: use EnvironmentPlugin instead of DefinePlugin (#3782)
BREAKING CHANGE:
This change breaks use cases where users have tapped the `define`
plugin options in `chainWebpack`

fixes #3579
2019-04-30 10:17:40 +08:00
Haoqun Jiang f553eb73bd chore: remove support for vue-cli-service e2e registerCommand (#3774)
BREAKING CHANGE:
"vue-cli-service e2e" has been deprecated in v3 and
renamed to "vue-cli-service test:e2e". Now the legacy command is
completely removed.
2019-04-30 10:17:15 +08:00
Haoqun Jiang 6cf29060b3 feat: use ESLint v5 by default everywhere (#3775)
BREAKING CHANGE: may cause old projects' linting fail
(those scaffolded with Vue CLI 3.0.x).
2019-04-30 10:17:15 +08:00
Darren Jennings 7a15655118 chore: bump nightwatch dependency to 1.x (#3388) 2019-04-30 10:15:34 +08:00
Haoqun Jiang 0dbfa5a0bf v3.7.0 2019-04-28 14:21:35 +08:00
Haoqun Jiang 6e6484e175 chore: pre release sync 2019-04-28 14:20:53 +08:00
Haoqun Jiang bc1a345fe1 fix: should not add polyfills from transform-runtime plugin (#3899)
The basic idea is the same as #3730, except that this time we use babel-plugin-module-resolve for aliasing instead of relying on webpack.
2019-04-28 13:47:27 +08:00
Haoqun Jiang a3e0858105 feat: add .version field and assertVersion helper to plugin api (#3861)
partially addresses #2336 (GeneratorAPI TBD)
2019-04-28 13:45:00 +08:00
Haoqun Jiang a351cbadb8 feat: allow parallel option to be an integer (#3864)
closes #3850
2019-04-27 20:11:16 +08:00
Haoqun Jiang e9259cdacd feat: add types for new lintOnSave options and multi-page entries (#3847) 2019-04-27 20:05:35 +08:00
Haoqun Jiang 3da799c8d8 feat: should support bare option in preset.json (#3848)
closes #3825
2019-04-27 20:05:20 +08:00
Haoqun Jiang b082da83e5 fix: process should be polyfilled rather than mocked (#3878)
To be in line with webpack's default configuration and avoid confusions:
https://webpack.js.org/configuration/node/
2019-04-27 20:03:50 +08:00
Haoqun Jiang 4f74b272d1 fix: should invalidate cache when lockfiles have updated (#3865)
closes #3635
2019-04-27 20:02:07 +08:00
Haoqun Jiang 41f9dcf0c8 fix: pin jest-watch-typeahead to 0.2.1, avoid introducing jest 24 deps (#3867)
fixes #3833
2019-04-27 20:01:55 +08:00
Haoqun Jiang 405480e7b1 fix: vue-virtual-scroller should be in devDependencies as it's client-side only (#3871)
This commit fixes a peer dependency warning described here:
https://github.com/vuejs/vue-cli/issues/2862#issuecomment-485777470
2019-04-27 20:01:32 +08:00
Haoqun Jiang db374ecd83 fix: should not show error message when pnpm is not installed (#3826) 2019-04-25 22:47:10 +08:00
Martijn Cuppens 0bfc4b684f chore: remove redundant <= IE8 rule (#3851)
The `not ie <= 8` rule in the browserlist is redundant. `ie <= 8` browsers aren't added by `> 1%` nor `last 2 versions`
2019-04-22 13:05:37 +08:00
Guillaume Chau 89e0697cc9 feat: syntax highlight inspect output (#3844) 2019-04-18 17:03:11 +02:00
Josh Gribbon e26717920b fix(ui): fix typo "procress" -> "process" (#3835) [ci skip] 2019-04-18 15:49:15 +08:00
Haoqun Jiang 7375b12c8e v3.6.3 2019-04-16 15:02:37 +08:00
Cédric Exbrayat 50061101ec fix: jest typeahead config (#3815)
fixes #3814
2019-04-16 14:32:30 +08:00
Alberto Jerez 57151bef32 fix: progress-path background color for dark mode (#3717)
* Fixed progress-path background color for dark mode

* Fixed progress dots background color for dark mode

* Updated progress background color for dark mode with code suggestions

Co-Authored-By: ajerez <albertoj04@gmail.com>
2019-04-15 16:44:54 +02:00
Haoqun Jiang 13e283e558 v3.6.2 2019-04-14 23:17:00 +08:00
Haoqun Jiang 5ce60b70eb chore: graphql should be directly listed as a dependency
as some of @vue/cli-ui's sub dependencies have listed it as a peer dep
2019-04-14 23:07:59 +08:00
Haoqun Jiang 1a72e995e8 fix: fix vue add/invoke bug when user does not have yarn installed (#3806)
closes #3804
2019-04-14 23:01:52 +08:00
Guillaume Chau e8bc36d6d0 chore(locale): update text 2019-04-13 20:59:47 +02:00
Guillaume Chau bbe4002480 feat(tasks): override args switch, closes #3236 2019-04-13 20:58:12 +02:00
Guillaume Chau 01d20357ff fix(PubSub): set max listeners to Infinity 2019-04-13 20:10:32 +02:00
Guillaume Chau bdf74ba9a2 feat(SharedData): set: log number of subscriptions 2019-04-13 20:10:18 +02:00
Guillaume Chau 022e17da57 fix: --dev shouldn't try to load dev assets, closes #3802 2019-04-13 19:44:14 +02:00
Haoqun Jiang d97ed6ceec v3.6.1 2019-04-14 01:25:51 +08:00
Haoqun Jiang 5fbda109d9 fix: fix ERR_INVALID_ARG_TYPE error when launching vue ui (#3801)
closes #3800
2019-04-14 01:11:47 +08:00
Haoqun Jiang 99a06d1758 v3.6.0 2019-04-13 23:56:37 +08:00
Haoqun Jiang eefe9f3f52 chore: pre release sync 2019-04-13 23:53:55 +08:00
Guillaume Chau 4d378ff5ca chore: update @vue/ui 2019-04-12 22:50:11 +02:00