Commit Graph

2447 Commits

Author SHA1 Message Date
Yazhe Wang 37f16cc6a9 fix(build): demo-lib.html Vue 3 compatibility (#6366) 2022-02-07 19:59:26 +08:00
Haoqun Jiang e9ac77cd40 fix: specify vue version in the web component demo html 2022-02-07 19:58:50 +08:00
Haoqun Jiang 22a8a788e8 v4.5.15 2021-10-28 20:36:22 +08:00
Haoqun Jiang 15b1e1b6bf fix: set .mjs file type to javascript/auto
Fixes errors like:
```
Can't import the named export 'computed' from non EcmaScript module (only default export is available)
```

when using `pinia`.
2021-10-28 18:31:49 +08:00
Haoqun Jiang f128c0c5ec v4.5.14 2021-10-14 15:07:07 +08:00
Haoqun Jiang 1ad379e34f fix: do not output user-input url params directly to the response html 2021-10-13 17:06:18 +08:00
Haoqun Jiang 0266bbbfec fix(ws): stricter check on web socket origins
To avoid CORS vulnerabilities
2021-10-13 17:06:08 +08:00
Haoqun Jiang 6e0d846b9a v4.5.13 2021-05-08 08:35:53 +08:00
Haoqun Jiang 9a125a27b3 fix(v4): fix modern mode optional chaining syntax tranpilation (#6459)
closes #6449
2021-05-07 20:33:41 +08:00
Binwei Fang b39726ee47 fix(mocha): workaround the SVGElement issue in Vue (#6400)
related to https://github.com/vuejs/vue-next/pull/2929
2021-05-07 15:38:44 +08:00
Tony Trinh d41fb55dab chore: remove the word "Preview" from vue 3 preset (#6310)
related to #6300
2021-05-07 15:36:56 +08:00
Haoqun Jiang 5a135f6f87 chore: remove the word "Preview" from vue 3 preset (#6300)
Now that most Vue 3 core packages has reached stable, I think it makes
sense to remove the word "Preview".

Remaining dependencies to reach stable:
- @vue/test-utils 2.x (in RC)
- vue-class-component 8.x (in RC)
- vue-jest v5 (in alpha)
2021-05-07 15:36:44 +08:00
Haoqun Jiang 0e0ae955e8 fix(v4): get rid of ssri vulnerability warnings (#6455)
Needs to downgrade terser-webpack-plugin to v1, which is the default
version in webpack 4.

Since the major breaking changes in v2 are mostly
related to option default values, the downgrading does not introduce
breaking changes in Vue CLI.

Closes #6424
2021-05-07 14:01:22 +08:00
Haoqun Jiang b0de229e78 v4.5.12 2021-03-17 19:47:54 +08:00
Haoqun Jiang 87c35a03bf feat: bump default prettier version to 2.x
Only in version 2.x that prettier could parse TypeScript syntaxes like
`import type`
2021-03-17 17:09:04 +08:00
Haoqun Jiang fae7ee8767 fix: revert to ts 4.2.3 to fix failing ci tests 2021-03-17 16:47:49 +08:00
Haoqun Jiang 106c323a64 feat: use TS 4.2+ in newly created projects
Fixes #6299
2021-03-17 15:34:53 +08:00
Haoqun Jiang 9ea68a8a46 chore: bump minimum required jsx preset / plugin versions
To avoid issues like https://github.com/vuejs/jsx/issues/183
2021-03-12 15:04:48 +08:00
Haoqun Jiang 82ab31675b chore: bump vue-codemod to work around a npm hoisting bug
The new version no longer requires `@vue/compiler-sfc` as a dependency
2021-03-12 15:01:03 +08:00
Haoqun Jiang bef2375326 chore: vue-cli-plugin-apollo can be listed as a dev dep 2021-03-09 20:08:35 +08:00
Haoqun Jiang cf7b46adc4 v4.5.11 2021-01-22 22:54:48 +08:00
Haoqun Jiang 5ce117b70a chore: bump node-notifier 2021-01-22 19:32:42 +08:00
Haoqun Jiang ad05ed0449 chore: add __testfixtures__ to npmignore 2021-01-22 19:25:49 +08:00
Bodo Graumann cfb3828469 fix: support basic auth for npm registry access (#6207)
When username and password are configured in the .npmrc for the
respective scope, use basic auth when getting package metadata from the
npm registry.

Closes #6206
2021-01-22 19:25:17 +08:00
Haoqun Jiang 5bc8c80ded v4.5.10 2021-01-06 15:08:26 +08:00
Haoqun Jiang 60617086eb chore: update vue-property-decorator version in template
fixes #6183
2021-01-06 14:42:42 +08:00
Haoqun Jiang 12e29a1f8b fix: disable eslint for Vue 3 type shim (for now)
See https://github.com/vuejs/vue-cli/pull/6023

It's not the ideal solution, though.

In the long run we should have the shim built-in (either in this plugin
or in the `vue-loader` package), for which ESLint rules should be
properly applied, and the user can simply import that shim module.
2021-01-06 14:40:18 +08:00
Haoqun Jiang e79cc13a36 fix(mocha): workaround the ShadowRoot issue in Vue 3.0.5 (#6186) 2021-01-06 14:39:47 +08:00
Haoqun Jiang 76a04180be fix(mocha): disable SSR optimization for Vue 3 testing (#6097)
Fixes https://github.com/vuejs/vue-loader/issues/1734
2021-01-06 14:37:53 +08:00
Tony Trinh 4f69a43f8b fix: prevent snoretoast shortcut, set notif title (#2720) (#6000)
This prevents SnoreToast from installing a Start Menu shortcut
by specifying an appID. The appID is also used to set the
notification's title bar text in Windows 10. That text is now
set to "Vue UI", which replaces the default value of "SnoreToast".

fixes #2720
2021-01-06 14:36:58 +08:00
Binwei Fang ed2cf2294f fix: using lang attribute with empty string in html template (#5992)
Fixes #5945

`lang="en"` may be wrong to users, use empty string instead. See : https://github.com/h5bp/html5-boilerplate/issues/1542
2021-01-06 14:36:47 +08:00
Haoqun Jiang 3fd9cac88c v4.5.9 2020-11-17 14:49:47 +08:00
Barthélémy Ledoux fcab190d1d fix(cypress): allow users to update cypress (#6062) 2020-11-17 10:08:17 +08:00
Haoqun Jiang d06a1e8995 v4.5.8 2020-10-19 18:39:13 +08:00
Haoqun Jiang 0db188e76d fix: also update the migrator for vue 3 typescript shim 2020-10-19 15:56:51 +08:00
Cédric Exbrayat 29c9fc6c15 fix: update vue-shims for Vue v3.0.1 (#5975) 2020-10-19 15:35:39 +08:00
Haoqun Jiang 49db9c458f fix: npm 7 compat by turning on legacy-peer-deps flag (#5961) 2020-10-15 15:36:19 +08:00
Haoqun Jiang d77fa6a273 fix: narrow the eslint peer dep version range, avoiding npm 7 error (#5962) 2020-10-15 15:24:21 +08:00
Haoqun Jiang 597b4b6436 v4.5.7 2020-10-07 16:39:24 +08:00
Haoqun Jiang a3c7322a37 chore: merge branch 'master' into dev 2020-10-07 14:39:00 +08:00
Haoqun Jiang 027386e8d1 fix: update the .vue file shim for Vue 3 (#5903) 2020-09-30 16:34:40 +08:00
Haoqun Jiang bedf5bacba chore: show error message that the wc target with Vue 3 isn't supported yet (#5906) 2020-09-29 13:19:22 +08:00
Haoqun Jiang 8578567c35 fix: more accurate warning message for missing global peer dependencies (#5871) 2020-09-28 17:15:43 +08:00
kzhang 286d0688d6 fix: incorrectly read Taobao binary mirror configuration. (#5902)
Co-authored-by: zhangke <zhangke12@zybank.com.cn>
2020-09-28 10:11:09 +08:00
Haoqun Jiang eda18b0542 fix: shouldn't remove attribute quotes in HTML (#5899) 2020-09-27 16:35:30 +08:00
Bodo Graumann 5b70fc2f10 fix: respect scope when resolving package metadata (#5892)
This should fix the remaining issue reported in #5411.
In particular, if the user configured a dedicated npm registry for a
specific scope, this setting was previously disregarded by vue-cli.
Thus it was impossible to use vue upgrade if the packages were not also
published to the official npm registry.
2020-09-23 13:35:48 +08:00
Tzahi 31a543dfbe docs: fix typo in en.json (#5885) [ci skip] 2020-09-22 17:05:02 +08:00
Haoqun Jiang 6cac3af2df v4.5.6 2020-09-10 21:32:13 +08:00
Haoqun Jiang 6409363a36 fix: skip checking git gpgSign config (#5869)
Fix the issue described at https://github.com/vuejs/vue-cli/pull/5823#issuecomment-690269893

This simplifies the logic, thus less error-prone.
The error message is still correct anyway.
2020-09-10 21:25:13 +08:00
Haoqun Jiang f77b4d35a5 v4.5.5 2020-09-10 19:56:18 +08:00