Commit Graph

2182 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
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
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
Haoqun Jiang 3b7227d544 v4.1.2 2019-12-28 20:54:27 +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
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
James George 00acca5f14 refactor: use inline approach (#4904) 2019-12-12 21:12:11 +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
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 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 d316a18789 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 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
Haoqun Jiang 2652ab6a6b fix: include prereleases for assert*Version calls 2019-11-13 00:14:24 +08:00
Thomas Kint 6c4a0bf4f8 feat: allow use of full url for pwa manifest and icons (#4736) 2019-11-12 22:33:18 +08:00
Haoqun Jiang 1c41371a42 v4.1.0-beta.0 2019-11-09 21:49:23 +08:00
Haoqun Jiang 3094ae623f chore: pre release sync 2019-11-09 21:48:23 +08:00
Jan Van Bruggen c8392f12dc Add missing cli-ui dependencies (#4818)
Add missing `cli-ui/` dependencies that overlap with the root`/package.json`. Although `cli-ui/` does work if `yarn install` has been run at the root directory, `cli-ui/package.json` is an incomplete specification.
2019-11-09 15:11:47 +08:00
Haoqun Jiang 63257931bc fix: don't prepend publicPath with slash (#4816)
fixes #3338
fixes #4184

Actually I don't know why the slash was added in the first place, seems
extraneous to me.
2019-11-09 15:07:39 +08:00
Haoqun Jiang 1124b62bdd fix: vue add should not throw if plugin has no generator
The bug was introduced in #2337.
2019-11-08 23:25:29 +08:00
Haoqun Jiang 30f72420e2 fix: vue add should not crash when executed under Yarn PnP
TODO: should fix `loadModule` in PnP environment
2019-11-08 23:25:13 +08:00
Roman Seidelsohn 26c48992ef fix(lib): replace "url" module with simple string split (close #4667) (#4809)
* fix(lib): replace "url" module with simple string split (close #4667)

Fixes issue #4667 by implementing the proposal https://github.com/vuejs/vue-cli/issues/4667#issuecomment-548464520
Also gets rid of a node module by using simpler code for removing eventual GET parameters

* Update packages/@vue/cli-service/lib/commands/build/formatStats.js

Co-Authored-By: Haoqun Jiang <haoqunjiang@gmail.com>
2019-11-08 18:17:58 +08:00
Haoqun Jiang 1e663df1ca feat(GeneratorAPI): accept multiple arguments for the resolve method (#4715)
* feat(GeneratorAPI): accept multiple arguments for the resolve method

To make its signature conform to  the standard `path.resolve`, avoid
confusions.

There's already a bug in the downstream plugin that was caused by such
confusion: https://github.com/Akryum/vue-cli-plugin-ssr/blob/a742953b8376817950a01ad79967b9aa02da5388/generator/index.js#L163-L171

* docs: update descriptions of the `resolve` api [ci skip]
2019-11-07 10:29:06 +08:00