Commit Graph

710 Commits

Author SHA1 Message Date
Haoqun Jiang
0c2ebc4ae2 v4.0.0-alpha.2 2019-07-03 15:42:06 +08:00
Haoqun Jiang
1939dfea9d chore: pre release sync 2019-07-03 15:41:08 +08:00
Leon Liu
76e7c38fc8 fix: prefer devServer.public as the custom url for browser to open (#4169)
fixes #3747
2019-06-19 19:23:44 +08:00
Haoqun Jiang
271bf395df chore: move yorkie from cli-service to plugin-eslint & plugin-typescript (#4153)
It is because yorkie is not used anywhere in @vue/cli-service, but only
included for the `lintOn: 'commit'` feature of eslint & typescript
plugin.

Also, a lot of global installation issues are caused by the yorkie
postinstall script. Moving it out of the dependency chain of `@vue/cli`
mitigates such issues.
2019-06-18 23:28:26 +08:00
zrh122
570588ffb1 chore: upgrade default-gateway to 5.0.2 (#4150)
fixes #4144
2019-06-15 12:39:54 +08:00
Haoqun Jiang
f3d2c1c133 fix: display correct address when multiple network adapters present (#4083)
fixes #3266

see https://github.com/vuejs/vue-cli/issues/3266#issuecomment-493487325

Thanks to @shenliangv
2019-06-04 23:57:31 +08:00
Haoqun Jiang
78e1c4cf63 fix: fix resolve project local plugin's file path (#4095)
Thanks to @SneakyMax
See https://github.com/vuejs/vue-cli/issues/4014#issuecomment-497993827
2019-06-04 23:56:55 +08:00
Sanapoint 顼轩
47d56e998d fix(cli-service): avoid opening browser twice
fixes #4079
2019-05-30 17:01:27 +08:00
Haoqun Jiang
8fa6fa694a v4.0.0-alpha.1 2019-05-25 17:48:40 +08:00
Haoqun Jiang
7bd8796227 chore: pre release sync 2019-05-25 17:46:04 +08:00
Haoqun Jiang
2ce1fc0982 chore: update deps 2019-05-25 14:34:43 +08:00
Haoqun Jiang
3648a51a91 test: replace http-server with serve to create a test server (#4056)
Fixes Windows compatibility caused by https://github.com/indexzero/http-server/issues/525

And, serve is better maintained than http-server or ecstatic.
2019-05-25 13:32:32 +08:00
Haoqun Jiang
88cf38b9a1 chore: update vue-template-compiler version 2019-05-24 16:53:30 +08:00
Haoqun Jiang
43bdc333f4 chore: revert fs-extra to 7.x to fix incompatibilities with graceful-fs
See: https://github.com/jprichardson/node-fs-extra/issues/687
2019-05-21 23:54:51 +08:00
Haoqun Jiang
b13ab797af chore: update dependencies 2019-05-21 22:48:23 +08:00
Haoqun Jiang
d81d57beec fix: fix dev mode compatibility with workers (#4034)
fixes #3539
2019-05-21 22:19:57 +08:00
Haoqun Jiang
d872cc0f2e chore: bump fibers version to be compatible with node v12 2019-05-20 00:36:58 +08:00
Haoqun Jiang
80028755f8 fix: update the css-loader runtime path for css-loader v2 (#4025) 2019-05-19 21:04:15 +08:00
Francisco
edcce6a311 chore(dev-server): set clientLogLevel option to silent (#4018)
The `none` option is deprecated and will be removed in the next major https://github.com/webpack/webpack-dev-server/pull/1901/files
2019-05-18 16:55:56 +08:00
Payton Burdette
fa7c1aa02d chore: upgrade webpack-dev-server to 3.4.1 (#4020)
fixes #4016
2019-05-18 16:45:28 +08:00
achretien
59b106ad04 feat: enable hmr for 'mini-css-extract-plugin' in dev (#4011) 2019-05-17 16:33:23 +08:00
Haoqun Jiang
15b5c8d4d7 chore!: change default value of lintOnSave option (#3975)
BREAKING CHANGE:
See https://github.com/vuejs/vue-cli/pull/3572
2019-05-14 11:20:20 +08:00
Haoqun Jiang
43826f114a chore: upgrade webpack-chain to v6 (#3943)
See: https://github.com/neutrinojs/webpack-chain/blob/master/CHANGELOG.md#v600

New feature: extended DevServer method

Also dropped support for Node.js v6. It is not a breaking change for Vue
CLI, though, as Node.js v6 was never officially supported.
2019-05-11 18:03:38 +08:00
Haoqun Jiang
341286b708 chore: remove extraneous log statement 2019-05-04 00:27:57 +08:00
Haoqun Jiang
e376c00b26 test: skip version comparison test (for now) 2019-05-01 01:16:10 +08:00
Haoqun Jiang
6f5ca3078a test: fix assertVersion test for prereleases 2019-05-01 01:02:42 +08:00
Haoqun Jiang
ce177bee06 test: fix assertVersion test 2019-05-01 00:37:36 +08:00
Haoqun Jiang
f6afdb1305 workflow: fix syncDeps for prerelease versions 2019-05-01 00:25:22 +08:00
Haoqun Jiang
63f501a2ca v4.0.0-alpha.0 2019-05-01 00:19:37 +08:00
Haoqun Jiang
caec0860ab chore: pre release sync 2019-05-01 00:19:12 +08:00
Haoqun Jiang
f4e6c33044 chore!: default to dart sass for sass option of cssPreprocessor (#3921)
BREAKING CHANGE:
Preset generated before v3.4.0 may contain a `"cssPreprocessor": "sass"`
field. It now means dart-sass rather than node-sass.

`rootOptions.cssPreprocessor === 'sass'` now also means dart sass.
May affect those generator plugins who depends on this field
2019-04-30 23:33:37 +08:00
Haoqun Jiang
826c3292de chore: update dependencies 2019-04-30 18:12:18 +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
Haoqun Jiang
2ec3fca99a feat!: upgrade to webpack-chain v5 (#3913) 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
2c24568198 feat!: upgrade css-loader to v2 (#3866)
BREAKING CHANGE:
See bc16c3db95/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
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
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
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
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
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
Haoqun Jiang
99a06d1758 v3.6.0 2019-04-13 23:56:37 +08:00