Commit Graph

2760 Commits

Author SHA1 Message Date
小新
7f2140a218 docs(en): update polyfill import according to core-js 3 docs (#5130) 2020-02-06 13:36:49 +08:00
Илья
9f0b1f6243 fix(docs): new travis CLI interface (#5126)
At the moment this is done like this: https://github.com/travis-ci/travis.rb#env
2020-02-01 09:36:34 +02:00
Frank Fang
9e18f3c01d Add a demo for multiple loader (#5122)
English version already merged https://github.com/vuejs/vue-cli/pull/5076/files
2020-01-30 22:01:31 +08:00
小新
771182ebbc docs(zh): update polyfill import according to core-js 3 docs
* vue-cli@4 use core.js@^3.4.3

when use core.js@^3.4.3, you should use ```import "core-js/stable";import "regenerator-runtime/runtime";```
[this is an doc about core.js@3](https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md#babelpolyfill)

* add space

* use single quote to keep the code style consistent

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-01-28 16:52:37 +08:00
Alexander Sokolov
ff8f035ba6 docs: [RU] Translation update (#5094)
* docs: [RU] update migrating-from-v3.md

* docs: [RU] update prototyping.md

* docs: [RU] update webpack.md

* docs: [RU] fix typos in cli-service.md

* Update docs/ru/guide/prototyping.md

Co-Authored-By: Natalia Tepluhina <tarya.se@gmail.com>

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>
2020-01-19 21:05:04 +02:00
defead
5edafc09fa line 477 according to english version (#5081)
'@vue/babel-preset-env' to '@vue/babel-preset-app'
2020-01-14 19:08:10 +02:00
Frank Fang
b5dedc175c Add a demo for multiple loaders (#5076) 2020-01-14 15:32:41 +02:00
Natalia Tepluhina
cf5f009327 Mention that Vue CLI should be installed in Prototyping guide (#5079)
* docs: clarified that we need CLI installed

* docs: added vue-cli to bash script

* Update docs/guide/prototyping.md

Co-Authored-By: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-01-14 10:04:21 +08:00
Natalia Tepluhina
1790205ded fix: fix a typo (#5078) 2020-01-14 09:58:20 +08:00
Haoqun Jiang
49f70ba27d docs: mention the precedence of .vue & .ts(x) extensions (#5055)
closes #4936
2020-01-13 19:16:17 +05:30
ntnyq
e8fb3d98e8 docs(zh): Sync Chinese translation (#5051) [ci skip] 2020-01-09 22:20:39 +08:00
Xin Tan
74d801e61f Updated zh-cn translation in cli section (#5019)
* UPDATDED: translation in simplified Chinese for 'yorkie' and 'husky' in warning

* UPDATED: add missing code snippits in EN doc
2020-01-09 22:20:32 +08:00
Xin Tan
f14b2da973 docs: update zh-cn translation in config lintOnSave section (#5031) [ci skip]
* 修正lintOnSave的默认type类型

* 修正lint编译错误时新增warning类型

* 修正md内字符串需要引号

* trim line ending space
2020-01-09 22:19:18 +08:00
Haoqun Jiang
3b7227d544 v4.1.2 v4.1.2 2019-12-28 20:54:27 +08:00
Haoqun Jiang
95ae2a1eb2 chore: merge branch 'master' into dev 2019-12-28 19:31:26 +08:00
Haoqun Jiang
0cba5128e9 fix: fix several bugs in the PWA plugin UI, make it usable again (#4974)
closes #4903
2019-12-28 15:21:55 +08:00
Ivan Demidov
15943274ff chore: fix link to himepage (#5004) 2019-12-28 15:20:45 +08:00
Jorge Moliner
9e739074a4 docs: update example code (#4987) 2019-12-22 12:41:56 +02:00
ziga
ef548a7eca Update debugging instructions (#4754)
I only tested on macOS – but I suspect it's same on all OS-es.

Refs:
- https://jestjs.io/docs/en/troubleshooting
- https://jestjs.io/docs/en/cli.html#runinband
2019-12-21 07:51:26 +02:00
Haoqun Jiang
7bc3cd7541 docs: his -> their (#4976) 2019-12-21 07:44:06 +02:00
clem
3f15b4cff7 mention navigateFallback in the pwa docs (#4973) 2019-12-21 07:43:02 +02:00
James George
00acca5f14 refactor: use inline approach (#4904) 2019-12-12 21:12:11 +05:30
Jun-Kyu Kim
26bdb511e6 fix: typo errors (#4938) 2019-12-12 21:11:03 +05:30
Haoqun Jiang
f7b95acb9b fix: should download to different directories for different pre… (#4922)
fixes #4778
2019-12-12 21:08:09 +05:30
Alexander Sokolov
02f2436bdb docs: [RU] Translation update (#4917)
* docs: (ru) config/README.md update devServer example

* docs: (ru) creating-a-project.md update

* docs: css.md add less examples

* docs: browser-compatibility.md update

* docs: deployment.md update

* docs: (ru) config/readme.md update

* docs: (ru) deployment.md update

* docs: (ru) prototyping.md add yarn command

* docs: config.md fix

* docs: ui-localization.md typo

* docs: [RU] Translation update

* docs: [RU] Translation update

* docs: vuex.md added

* docs: router.md added

* docs: migration from v3 added

* docs: config.js updated

* docs: config/readme.md updated

* docs: unit-mocha.md updated

* docs: css.md updated

* docs: cli-service.md updated

* docs: generator-api.md updated

* docs: build-target.md update

* docs: deployment.md update

* docs: e2e-nightwatch.md update

* docs: unit-jest.md update

* docs: e2e-nightwatch.md update

* docs: migrating-from-v3.md update

* docs: plugin-dev.md update

* docs: plugin-dev.md update

* docs: plugin-dev.md update

* docs: plugin-dev.md update
2019-12-06 15:24:09 +08:00
Haoqun Jiang
c7961cd5af fix: do not throw when babel config contains ignore/include/exclude (#4924)
fixes #4923
2019-12-06 15:23:44 +08:00
Kumar Gaurav
aeddc6f2c9 refactor: changed var async to isAsync (#4909)
`async` is a javascript keyword, so I suggest this variable name will be less prone to error and confusing.
2019-12-06 10:57:43 +08:00
Haoqun Jiang
6c2496418e chore: remove unused dependency "slash" 2019-12-03 23:18:11 +08:00
Haoqun Jiang
c4dc8d61c3 refactor: remove unnecessary padEnd & padStart shims
Both features are already supported in Node.js v8+
2019-12-03 23:07:47 +08:00
Haoqun Jiang
7a835df9ab chore: remove extraneous gitHead field 2019-11-29 16:14:02 +08:00
Haoqun Jiang
fdc7246491 chore: remove unused dependencies 2019-11-29 16:13:32 +08:00
Haoqun Jiang
1a0b59142a refactor: use dependencies from @vue/cli-share-utils whenver possible 2019-11-29 15:41:18 +08:00
Haoqun Jiang
3873d02382 chore: dependency maintenance 2019-11-29 15:15:17 +08:00
Haoqun Jiang
2ddcc65dfe v4.1.1 v4.1.1 2019-11-27 23:14:15 +08:00
Haoqun Jiang
dd98fa6799 fix: fix tsx compilation (#4894)
closes #4892
closes #4893
2019-11-27 23:10:13 +08:00
Haoqun Jiang
d21245d6b5 workflow: correctly decide which dist-tag to use 2019-11-27 23:02:14 +08:00
Haoqun Jiang
d316a18789 v4.1.0 v4.1.0 2019-11-27 14:58:46 +08:00
Haoqun Jiang
44cfe78871 chore: pre release sync 2019-11-27 14:57:24 +08:00
Per Åkerberg
13376ce012 Replace chalk.reset with stripAnsi in @vue/cli-shared-utils/lib/logger.js (#4842)
* Replace chalk.reset with stripAnsi 

When logging multi-line logs, the logger uses chalk.reset in order to get the length of the tag for the log. This is to achieve an indented layout of multi-line logs. chalk.reset only replaces styles such as bold and italic, not color. When the tag contains colors, the result is not pretty. Replacing with stripAnsi gets the intended result.

* Adds reference to strip-ansi

* Removes misplaces comma from package.json

* Removes extraneous semicolon
2019-11-27 14:50:10 +08:00
Haoqun Jiang
ba9596dfa6 test: asyncToGenerator is no longer used in async/await transformation
See https://github.com/babel/babel/pull/9481
2019-11-27 00:35:33 +08:00
Haoqun Jiang
84aed8ef10 chore: dependency maintenance 2019-11-27 00:34:22 +08:00
Haoqun Jiang
357c99a3fb chore: merge branch 'master' into dev 2019-11-27 00:03:10 +08:00
Haoqun Jiang
81e17e80b8 ci: warn on unlicensed dependencies 2019-11-26 22:24:34 +08:00
Haoqun Jiang
40616f425e ci: should fail on autofixable lint errors 2019-11-26 18:01:58 +08:00
Haoqun Jiang
b7f83b45ce fix: support parser option for codemods, and enable ts parsing by default (#4883)
fixes #4861
2019-11-26 15:52:50 +08:00
Yann Bertrand
ef2cbae66f fix: invalid version error when modules not installed (#4859)
fix #4781
2019-11-26 15:38:57 +08:00
Haoqun Jiang
2c13800051 chore: fix typo in comment [ci skip] 2019-11-25 16:18:35 +08:00
Yingya Zhang
0f6ec2e53d fix: typo atfer (#4851) 2019-11-25 16:11:29 +08:00
Jose G. Alfonso
f83c44113f Update doc section on Git Hooks (#4820)
Added complete required entries for lint-staged to work
2019-11-21 10:33:38 +02:00
Haoqun Jiang
e46ac20784 docs: add warnings on css sideEffects (#4836)
These warnings are originally stated in the vue-loader documentation,
but the CLI documentation perhaps have more visibility.

Fixes #4832
2019-11-21 10:33:02 +02:00