Commit Graph

734 Commits

Author SHA1 Message Date
Haoqun Jiang
a8df1df26c fix: fix css.loaderOptions.css.modules default values (#4363)
fixes #4357
2019-07-29 22:20:53 +08:00
李枨煊
42ecd08d35 fix: fix stats display when chunkFilename contains query string (#4359) 2019-07-29 15:35:12 +08:00
yiliang
a2856a750c chore(cli-service): word spelling in comments (#4367) 2019-07-28 20:39:42 +08:00
Haoqun Jiang
575349982b v4.0.0-beta.1 2019-07-25 10:40:03 +08:00
Haoqun Jiang
59be3ba5ce chore: pre release sync 2019-07-25 10:36:38 +08:00
Haoqun Jiang
2d59c9676c fix: fix css modules configuration in css-loader v3 (#4345)
fixes #4337
2019-07-25 09:56:04 +08:00
Haoqun Jiang
00996ba7cf v4.0.0-beta.0 2019-07-22 22:23:01 +08:00
Haoqun Jiang
6cb28f5911 chore: pre release sync 2019-07-22 22:21:24 +08:00
Haoqun Jiang
37e2b44d17 chore!: update versions of underlying webpack loaders (#4331)
BREAKING CHANGE:
- The minimum required nodejs version is 8.9.0
- For css-loader breaking changes, see https://github.com/webpack-contrib/css-loader/releases/tag/v3.0.0
- For url-loader breaking changes, see https://github.com/webpack-contrib/url-loader/releases/tag/v2.0.0
2019-07-22 21:33:55 +08:00
Mewes Kochheim
de9748a5a5 fix: do not introduce extra level of directory when building lib for scope packages (#4320)
This fixes references to static assets in the bundled script.

Fixes #4311
2019-07-22 19:47:22 +08:00
Haoqun Jiang
e2e3469a18 chore!: ensure consistent directory structure for all modes (#4323)
BREAKING CHANGE:
Changing directory strcuture, though now becoming more intuitive, may
still break users' workflows, so it's considered a breaking change.

Fixes #4215.
Fixes #3767.
Fixes #4234
2019-07-21 20:00:31 +08:00
Haoqun Jiang
3dd3774346 chore!: move dev configs into serve command (#4302)
BREAKING CHANGE:
These configs are only meaningful when used with a running dev
server.
Technically, it is a breaking change.
For example, this breaks use cases in which a user runs their own dev
server instead of calling `vue-cli-service serve`.
2019-07-18 16:36:53 +08:00
Haoqun Jiang
615ae0f5b7 v4.0.0-alpha.5 2019-07-14 23:12:42 +08:00
Haoqun Jiang
7dbf3cefc0 chore: pre release sync 2019-07-14 23:09:36 +08:00
shadow-light
9faddce63f fix: indexPath should also affect non-production builds (#4057)
fixes #2327
fixes #4247
2019-07-14 22:39:31 +08:00
shadow-light
52ae1c8a9b fix!: make webpack use values consistent (#4230)
The use key is `pug-plain` despite a similar item above it using the key `pug-plain-loader`. This just makes them consistent.
2019-07-14 22:22:59 +08:00
Eric Mastro
ddfdd1af24 fix(@vue/cli-service): Update lodash.defaultsdeep (#4273)
Update `lodash.defaultsdeep` to version `^4.6.1`.

This is causing a high severity vulnerability in our repo.

Fixed in https://github.com/lodash/lodash/pull/4336.

(cherry picked from commit 4267b542af)
2019-07-11 18:57:52 +08:00
Haoqun Jiang
bd82649a64 v4.0.0-alpha.4 2019-07-06 19:51:01 +08:00
Haoqun Jiang
dc7cb4cae0 chore: pre release sync 2019-07-06 19:50:00 +08:00
Pavan Kumar Sunkara
362587a966 feat!: make vuex a separate plugin (#4242)
fixes #2335, #4024
2019-07-06 15:13:09 +08:00
Min ho Kim
c0aa2bb310 Fix typos (#4241) 2019-07-06 07:09:29 +03:00
Pavan Kumar Sunkara
246ae678cb feat!: make router a separate plugin (#4196)
* refactor: move router to its own plugin

* refactor: rename routerHistoryMode option to historyMode

* test: add @vue/cli-plugin-router tests

* feat: change src/router.js for most common use cases

* fix: fix cli-ui tests

* docs: Remove router root option from docs

* fix: add support for legacy router option
2019-07-05 23:21:29 +08:00
Haoqun Jiang
300d2aa2d4 v4.0.0-alpha.3 2019-07-04 09:08:42 +08:00
Haoqun Jiang
2386673e86 chore: pre release sync 2019-07-04 09:06:29 +08:00
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