Commit Graph

2018 Commits

Author SHA1 Message Date
Haoqun Jiang 497fd5aa1f test: increase waiting time before checking hot updates
As the performance of AppVeyor build environment is quite poor.
2019-08-19 20:05:47 +08:00
Haoqun Jiang 348e36eedb fix: merge custom externals config correctly, supports array (#4429)
closes #4413
2019-08-15 11:48:48 +02:00
Daniel Ruf 7a51eac7c1 fix: remove self-assignment (#4422) 2019-08-15 09:47:23 +02:00
Daan Roet 428d1720fe feat: upgrade webpack (#4253) 2019-08-12 21:58:58 +08:00
Haoqun Jiang f9a9880d93 v4.0.0-beta.3 2019-08-08 11:10:03 +08:00
Haoqun Jiang 14bd985cc1 chore: pre release sync 2019-08-08 11:09:15 +08:00
Haoqun Jiang 015a245315 fixup! feat: add --next flag to vue upgrade to check for beta versions (#4404) 2019-08-08 11:04:18 +08:00
Haoqun Jiang c0495e7964 feat: add --next flag to vue upgrade to check for beta versions (#4404) 2019-08-08 10:50:45 +08:00
Haoqun Jiang 4e43c0e9c6 fix: resolvePluginId should correctly resolve @vue/cli-service (#4405) 2019-08-08 10:50:16 +08:00
Haoqun Jiang fbe287d966 test: fix visibility issues in Cypress test 2019-08-08 10:41:44 +08:00
Haoqun Jiang 7384c6292e chore: skip confirmIfGitDirty in API MODE (for now) 2019-08-08 10:40:48 +08:00
Haoqun Jiang bf983d7290 test: fix objectSpread test
In babel 7.5.x releases, something has changed in the objec spread
plugin, the helper now may be inlined rather than imported, so we now
only check for the invocation in the test.
2019-08-08 01:39:41 +08:00
Haoqun Jiang 29b93834f8 refactor: extract Upgrader to a standalone file for easier testing 2019-08-04 22:29:33 +08:00
Haoqun Jiang 945a01e41f test: bump jest timeout, since @vue/eslint-config-* are now externalized 2019-08-03 15:00:37 +08:00
Haoqun Jiang e9fd9a716c feat!: deprecate css.modules in favor of css.requireModuleExtension (#4387)
closes #4376

Since css-loader v3, custom CSS Modules configurations are under the
`modules` field. So when a user customizes these configurations, the `modules`
feature is automatically enabled for all css files.
So we must require the user's explicit consensus or disagreement on whether
these rules apply to all CSS files or not.
2019-08-02 21:14:39 +08:00
Haoqun Jiang 930b4596b1 feat: allow configuring scss options separately from sass (#4386)
closes #4116
2019-08-02 19:45:12 +08:00
Haoqun Jiang c76d2e691d style: add a "no-shadow" linter rule (#4385)
It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong `options`
several times due to the variable shadowing.
2019-08-02 18:24:52 +08:00
Haoqun Jiang 2e3fa929fe chore!: remove the already-deprecated baseUrl option (#4388) 2019-08-02 17:12:13 +08:00
cexbrayat d787448179 chore: ordered tslint rules
The usual convention is to keep the TSLint rules ordered as you can see in the recommended set for example https://github.com/palantir/tslint/blob/master/src/configs/recommended.ts
2019-07-30 23:26:37 +02:00
Cédric Exbrayat 52bae8e14a fix: do not generate empty file when use ts without router (#4374) 2019-07-30 16:42:00 +08:00
Pavan Kumar Sunkara 95ca69c390 fix: Make sure afterInvoke hook doesn't get run from other plugins (#4377) 2019-07-30 16:38:14 +08:00
Haoqun Jiang e6a085e96a fixup! chore: remove support for vue-cli-service e2e registerCommand (#3774) 2019-07-30 00:43:03 +08:00
Haoqun Jiang 7a399ef7e2 v4.0.0-beta.2 2019-07-30 00:22:38 +08:00
Haoqun Jiang 4b2cc4afa3 chore: pre release sync 2019-07-30 00:22:03 +08:00
Haoqun Jiang a8df1df26c fix: fix css.loaderOptions.css.modules default values (#4363)
fixes #4357
2019-07-29 22:20:53 +08:00
Haoqun Jiang 710d08b04d chore: always upgrade @vue/cli-service first 2019-07-29 21:46:06 +08:00
Haoqun Jiang 9967d6023e fix: fix Migrator implementation due to Generator internal change 2019-07-29 21:04:19 +08:00
Haoqun Jiang b6825756e9 test: fix failing tests that due to async support in Generator 2019-07-29 16:56:04 +08:00
阿平 74f629ea3f feat(cli): Generator support async (#3897) 2019-07-29 16:55:42 +08:00
李枨煊 42ecd08d35 fix: fix stats display when chunkFilename contains query string (#4359) 2019-07-29 15:35:12 +08:00
Haoqun Jiang fc3e0a30b5 chore: plugins should list @vue/cli-service in peerDependencies (#4365) 2019-07-29 10:45:12 +08:00
Haoqun Jiang 505fb5ae0d fix: vue add should be able to install prerelease versions for official plugins (#4356) 2019-07-29 10:44:44 +08:00
Domenico Gemoli fd4573aadf docs: replacing nightwatch CLI options URL with proper documentation (#4364) 2019-07-28 20:44:06 +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 f69a80664f test: add test for #4347 2019-07-25 09:59:18 +08:00
Boris K 59d3e74f33 feat: add --port argument to 'vue serve' command (#4342) 2019-07-25 09:57:00 +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 8b7af389d1 fix: fix typo in typescript generator, convertAllFiles -> convertJsToTs (#4346)
fixes https://github.com/vuejs/vue-cli/issues/2676#issuecomment-514163315
2019-07-25 09:55:34 +08:00
李瑞丰 80c20db703 fix(eslint-generator): add ts file check to lint-staged (#4347)
fix #3947
2019-07-25 09:54:47 +08:00
Haoqun Jiang 448dbdb4f3 fix: use yarn --version to detect yarn (#4336)
- We never referred to `yarnpkg` anywhere else in the codebase
- For the rare case that `yarn` binary is overridden by Hadoop YARN,
`yarn --version` will throw (it only supports `yarn version`), therefore
it won't pass this check.

Fixes #3941.
Closes #3942.
2019-07-23 20:35:05 +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 45cad0c7e3 fix: when executing multiple actions, only check git status once (#4332) 2019-07-22 22:19:10 +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
Haoqun Jiang a1c88edce7 fix: require parent template after when condition evaluated as truthy (#4330)
fixes #4291
2019-07-22 20:58:06 +08:00
Haoqun Jiang 6207dd97c3 feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (#4329)
This only affects newly generated projects so it's not considered a
breaking change.

Fixes #4310
2019-07-22 20:45:52 +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