Commit Graph

2765 Commits

Author SHA1 Message Date
Dan Hogan
9ac7ce5b09 Added rel="noopener noreferrer" to external links (#4744)
* Added rel="noopener noreferrer" to external links

* Added rel="noopener noreferrer" to external links

* Added rel="noopener noreferrer" to external links
2020-01-13 19:27:42 +05:30
Haoqun Jiang
d7cbe5f0f1 refactor: use a plain http request to get package metadata (#5045)
* refactor: use a plain http request to get package metadata

fixes #4895
fixes #4995

* chore: add link to the package metadata documentation
2020-01-13 19:25:38 +05:30
Daniel Bächtold
7e54d935f4 feat: adaptive icon support with maskable icons (#5053) 2020-01-13 19:20:05 +05:30
plantainX
4e154ac5ad feat(cli-service-global): to know if the build has finished (#5061) 2020-01-13 19:15:25 +05:30
Haoqun Jiang
42bd09f962 fix afterInvoke/onCreateComplete callbacks in Migrator (#5062)
closes #4837
2020-01-13 19:10:40 +05:30
Pavan Kumar Sunkara
1c269d22f5 fix: extendPackage object values should be string (#5038) 2020-01-13 21:22:21 +08:00
Bogdan Luca
7b17d6132c fix: use a single websocket connection for HMR (#5069)
* fix(hmr-websocket): add failing test

* fix(hmr-websocket): set injectClient to false, as we inject our own client

* fix(hmr-websocket): change test project name
2020-01-13 21:20:53 +08:00
Marcel Lindig
fff9caaca5 feat(cli): add stdin flag to serve (#2411)
* feat(cli): add stdin flag to serve

* add back --public help

* reorder help
2020-01-10 18:12:01 +08:00
Tao Wei
cb3db60aa8 style: unified components' naming style (#4991) 2020-01-09 20:19:57 +08:00
Yingya Zhang
eaa2b7341f feat: respect existing package.json (#4827) 2020-01-09 20:19:06 +08:00
ntnyq
afb5db82e7 docs(zh): Sync Chinese translation (#5051) [ci skip] 2020-01-09 20:18:10 +08:00
Yingya Zhang
9ec2d34e65 feat: specify babel runtime version (#4959) 2020-01-06 16:11:03 +08:00
Haoqun Jiang
413470de24 feat: don't throw on console/debugger statements for vue serve (#5029)
1. they're useful in development
2. to be in line with the default preset
2020-01-06 07:47:51 +05:30
Yingya Zhang
2531d10086 feat: add option merge to command create (#4828) 2020-01-06 07:46:34 +05:30
Xin Tan
80b93951b1 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-03 16:06:06 +08:00
Cédric Exbrayat
1ae53e5c95 fix: comment eslint disable in cypress config (#4910)
The current cypress config has a global eslint-disable:

typescript
```
/* eslint-disable import/no-extraneous-dependencies, global-require, arrow-body-style */
// const webpack = require('@cypress/webpack-preprocessor')
```

But this assumes that `eslint-import-plugin` is present, whereas this is only true when the selected preset is the Airbnb one.
In other cases, this fails `yarn lint` right away with:

```
error: Definition for rule 'import/no-extraneous-dependencies' was not found (import/no-extraneous-dependencies) at tests/e2e/plugins/index.js```

Even if using the Airbnb preset, the comment does not have any effect, as, by default, the `require` call is commented.

This commit now splits the rules disabling in two:

- one commented for the people using Airbnb and who will uncomment the require call below, as it is only useful for them.
- one activated that disables `arrow-body-style` as it will fail the linting for people using Airbnb preset with the current config.
2020-01-03 14:55:19 +08:00
Thorsten Lünborg
bc2dc96e6e fix(e2e-nightwatch): check for correct flag name (#5016)
* fix(e2e-nightwatch): check for correct flag name

flag is documented as `--use-selenium` but we checked for `args['with-selenium']`
fix #5015

* test(e2e-nightwatch): selenium test
uses correct flag now
2020-01-03 14:51:46 +08:00
Alexander Sokolov
4087220b86 docs: [RU] Translation update (#5009)
* 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

* docs: config.md fix

* docs: pwa.md update

* docs: pwa.md update
2019-12-29 16:14:20 +02: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