Commit Graph

2503 Commits

Author SHA1 Message Date
Sergey Morkovkin 5d0eb9fa89 docs(ru): update html-and-static-assets.md (#4333)
(cherry picked from commit 4eeb3720d7)
2019-07-30 00:21:21 +08:00
Mohsen Sadeghzade 8492055a7f Update mode-and-env.md (#4257)
* Update mode-and-env.md

Fixed example of keys, which they should start with VUE_APP_

* Update mode-and-env.md

change position of the tip

* Update docs/guide/mode-and-env.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 149b307f72)
2019-07-30 00:21:15 +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
Eduard Aksamitov d6507e6f84 docs(ru): fix link in webpack.md (#4358) 2019-07-28 20:41:31 +08:00
yiliang a2856a750c chore(cli-service): word spelling in comments (#4367) 2019-07-28 20:39:42 +08:00
Boris K 76eb7146ca chore: update lerna link in README.md (#4354) [ci skip] 2019-07-25 15:42:02 +08:00
Haoqun Jiang 575349982b v4.0.0-beta.1 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 bba8398ba3 chore: lockfile maintenance 2019-07-25 10:02:43 +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 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 a2ae8ea840 chore: lockfile maintenance 2019-07-22 21:46: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
Haoqun Jiang 5a64d28dd5 fixup! chore: update @vue/eslint-config-prettier in root package.json 2019-07-22 21:13:23 +08:00
Haoqun Jiang 7a84b004f6 chore: update @vue/eslint-config-prettier in root package.json 2019-07-22 20:59:26 +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
Pavan Kumar Sunkara 544faee81e feat: more flexible hook system for generators (#2337) 2019-07-21 19:59:18 +08:00
mx 45399b192a Explain when .env files are loaded. (#4171)
It appears that .env files are only loaded at the start of `vue-cli-service` and are not watched for hot reloads.
**I am actually not sure this is the case for everyone, but is so for me.**

I think it is worth noting because the expectation is that a file at the root of the project would be watched for hot reloads.

(cherry picked from commit b22bedbf94)
2019-07-18 16:58:40 +08:00
Ivan Sieder c6cab262e6 Updated for Zeit Now V2 (#4232)
* Updated for Zeit Now V2

* Fixed styling issue

* Added additional hint for router mode set to history

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 55dc287936)
2019-07-18 16:58:40 +08:00
Max Tolkachev c4daac6c12 docs(ru): vue-cli docs / html-and-static-assets typo updated (#4270) [ci skip]
(cherry picked from commit 55ce077d27)
2019-07-18 16:58:40 +08:00
Max Tolkachev a920ce2b98 docs(ru): vue-cli docs / browser-compatibility typo updates (#4269) [ci skip]
(cherry picked from commit 2d767fc201)
2019-07-18 16:58:40 +08:00
Max Tolkachev 328d1bba24 docs(ru): vue-cli docs / cli-service typo updated (#4268) [ci skip]
(cherry picked from commit e01aaedd4c)
2019-07-18 16:58:40 +08:00
Haoqun Jiang 24204d289f vue-cli docs / plugins-and-presets typo updated (#4267)
(cherry picked from commit 530f3faf90)
2019-07-18 16:58:31 +08:00
Max Tolkachev cce497cf3b docs(ru): vue-cli docs / creating-a-project text updated (#4266) [ci skip]
(cherry picked from commit 0401da3fdf)
2019-07-18 16:57:47 +08:00
Max Tolkachev 0273dc1c28 docs(ru): vue-cli/guide typo updated (#4265) [ci skip]
(cherry picked from commit e20b33bc21)
2019-07-18 16:57:46 +08:00
Max Tolkachev c66431f0c4 vue-cli docs / plugins-and-presets typo updated
(cherry picked from commit c909a52bd9)
2019-07-18 16:57:46 +08:00
Binwei Fang 16e379d79d fix(cli-test-utils): fix initGit option (#4224)
fixes #4223
2019-07-18 16:40:12 +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 a1f13c7a05 fixup! chore: deprecate tslint (#4289) 2019-07-17 11:00:58 +08:00
Haoqun Jiang debc3f19b2 fix: fix latest version check when current version is a prerelease (#4295) 2019-07-16 23:31:00 +08:00
Haoqun Jiang 44325fa16e chore: fix prompt message 2019-07-15 21:49:30 +08:00
Haoqun Jiang 53b3daf97f chore: deprecate tslint (#4289) 2019-07-15 21:48:51 +08:00