Mike
74ca541e27
Improve package.json not found error ( #5238 )
2020-03-07 00:23:08 +01:00
Benoît Burgener
f1bde5b76c
fix(babel-preset-app): avoid corejs warning when useBuiltIns is false ( #5236 )
2020-03-03 16:00:23 +08:00
Manuel Ojeda
84abd1182f
types(router): added router array type for Array RouteConfig ( #4805 )
...
* types(router): added router array type for Array RouteConfig
* Update index.js
* Update index.js
2020-02-28 12:24:37 +08:00
Haoqun Jiang
0380f226b9
v4.2.3
v4.2.3
2020-02-27 22:31:36 +08:00
Haoqun Jiang
a6c35cd881
chore: merge branch 'dev'
2020-02-27 18:18:50 +08:00
Haoqun Jiang
da848401c3
docs: add page title & fix link [ci skip]
2020-02-27 18:10:28 +08:00
Haoqun Jiang
d8db292080
fix: fix "Vue packages version mismatch" error caused by other global packages ( #5163 )
...
closes #5161
The root cause of such issues:
`vue-jscodeshift-adapter` requires `vue-template-compiler`.
`vue-template-compiler` tries to require the `vue` package and check
its version on startup.
Normally, there's no `vue` package in the dependency tree of `@vue/cli`,
so this check will just skip.
But if the user has installed some other global package that depend on
`vue`, and hoists it to the root `node_modules`, `vue-template-compiler`
would successfully require it and check against that `vue` version,
which sometimes may be outdated, thus failing the bootstrap process.
2020-02-27 11:10:47 +08:00
Cédric Exbrayat
5cb988cb27
fix(GeneratorAPI): remove warning when using extendPackage with prune ( #5202 )
...
Currently, if we use `api.extendPackage({foo: null}, {prune: true})` the dependency is removed but a warning is logged as the range is invalid:
```
WARN invalid version range for dependency "foo":
- null injected by generator "my-plugin"
```
2020-02-27 11:10:14 +08:00
Haoqun Jiang
69f6805211
fix(cli-service-global): fix no-debugger rule config ( #5196 )
...
closes #5194
2020-02-27 11:09:21 +08:00
Haoqun Jiang
7225649615
docs: vue-cli -> Vue CLI
2020-02-27 10:28:49 +08:00
Haoqun Jiang
33487a858c
workflow: allow manually specifying dist-tag when releasing
2020-02-27 10:26:02 +08:00
derline
c39eb72ce2
docs(zh): fix typo in mode-and-env.md ( #5224 )
2020-02-26 23:23:25 +08:00
dehero
bd12771ad6
Remove unnecessary hyphen ( #5184 )
2020-02-25 07:27:32 +02:00
James George
480ac7f84f
chore: minor typographical fix ( #5215 )
2020-02-25 09:05:31 +08:00
defead
b08c10fbcd
docs(zh): update example format ( #5209 )
2020-02-24 15:08:19 +08:00
Xiao Haiping
efbc20c676
docs(zh): Update now 404 url ( #5141 )
...
ref to en docs
2020-02-17 15:22:18 +08:00
James George
1423553a6d
chore: Minor typographical fix ( #5189 )
...
* chore: typographical fix
* chore: update test
2020-02-16 20:52:17 +08:00
Ville Säävuori
677e4c5aa0
Added basic upgrading instructions ( #5176 )
...
* Added basic upgrading instructions
* Update docs/guide/installation.md
Co-Authored-By: Natalia Tepluhina <tarya.se@gmail.com >
* Update docs/guide/installation.md
Co-Authored-By: Natalia Tepluhina <tarya.se@gmail.com >
Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com >
2020-02-15 12:40:11 +02:00
James George
130bcfb730
chore: switch over to leven for command suggestion ( #5166 )
...
* chore: switch to leven
* chore: update lock file
* chore: iterate through all the available commands and find closest match
* chore: update yarn.lock
* fix: lint
* chore: find the best possible match
2020-02-13 17:31:04 +08:00
茂茂
601bf34310
docs(zh): fix typos ( #5157 )
2020-02-11 20:46:52 +08:00
Haoqun Jiang
38a7b0f153
chore: 4.2.2 changelog [ci skip]
2020-02-07 19:15:19 +08:00
Haoqun Jiang
94da5243be
v4.2.2
v4.2.2
2020-02-07 19:10:35 +08:00
Haoqun Jiang
0d0168bf28
fix(ui): fix the incorrect RegExp used for CORS check
2020-02-07 19:04:35 +08:00
Haoqun Jiang
70fbd747df
chore: refine changelog [ci skip]
2020-02-07 18:14:58 +08:00
Haoqun Jiang
8b951f81d5
v4.2.1
v4.2.1
2020-02-07 18:09:45 +08:00
Haoqun Jiang
776275d023
fix: add graphql-server.js to npm files
2020-02-07 18:08:29 +08:00
Haoqun Jiang
d7acff56a4
chore: merge branch 'dev' into master
2020-02-07 15:53:14 +08:00
Haoqun Jiang
807382c61f
chore: refine changelog [ci skip]
2020-02-07 15:51:26 +08:00
Haoqun Jiang
079a451f18
v4.2.0
v4.2.0
2020-02-07 15:44:52 +08:00
Haoqun Jiang
d49349177d
chore: pre release sync
2020-02-07 15:43:38 +08:00
Haoqun Jiang
6d680bc012
fix(migrator): correctly extract config fields to files
2020-02-06 19:40:50 +08:00
Haoqun Jiang
246c1973ab
fix: clear require cache after upgrade, before migrate
2020-02-06 19:02:35 +08:00
Haoqun Jiang
ef15316591
fix: preserve the tilde version range after vue upgrade
2020-02-06 19:02:35 +08:00
Haoqun Jiang
51a4da7e9f
fix: should infer package manager from config if there's no lockfile in the project ( #5150 )
...
* fix: should infer package manager from config if there's no lockfile in the project
* fixup! fix: should infer package manager from config if there's no lockfile in the project
2020-02-06 16:25:28 +08:00
Haoqun Jiang
f5f4de0aa3
feat(GeneratorAPI): allow passing options to api.extendPackage ( #5149 )
...
Currently, 3 options are implemented:
- options.prune (defaults to `false`) - Remove null or undefined
fields from the object after merging.
- options.merge (defaults to `true`) deep-merge nested fields, note
that dependency fields are always deep merged regardless of this option.
- options.warnIncompatibleVersions (defaults to `true`) Output warning
if two dependency version ranges don't intersect.
Closes #4779
2020-02-06 14:28:00 +08:00
Haoqun Jiang
9a1d52e2ff
feat: create projects with @vue/test-utils beta 31 ( #5147 )
...
See changelog at https://github.com/vuejs/vue-test-utils/blob/v1.0.0-beta.31/CHANGELOG.md#100-beta31-2020-01-18
New projects will be created with this new version.
There are a few breaking changes since beta.29. So we can't automatically migrate existing projects to this new version. Users can upgrade at their own will.
2020-02-06 14:27:21 +08:00
小新
7f2140a218
docs(en): update polyfill import according to core-js 3 docs ( #5130 )
2020-02-06 13:36:49 +08:00
Cédric Exbrayat
adef4c9729
fix(e2e-nightwatch): fix eslint config generation ( #5148 )
...
Commit 1b64ff8464 introduced a nested if in `_eslintrc.js` with the same condition than the wrapping one. This changes the condition to check for TypeScript instead.
2020-02-05 22:55:19 +08:00
Haoqun Jiang
c5bf5b13a5
chore: update chromedriver version to 80
2020-02-05 19:54:03 +08:00
Haoqun Jiang
e6d7bbd731
feat: implement a migrator that updates the project's ts version
2020-02-05 19:29:17 +08:00
Haoqun Jiang
82bd07438a
refactor: use dep versions from plugin package.json
2020-02-05 19:18:00 +08:00
Haoqun Jiang
1b64ff8464
fix: fix eslint errors for typescript + e2e-nightwatch setup
2020-02-05 17:51:50 +08:00
Haoqun Jiang
e4410b8e8d
fixup! fix: fix duplicate slash in metadata url
2020-02-05 14:45:10 +08:00
Haoqun Jiang
813680eced
fix: should use the local version number if the cache falls behind
2020-02-05 14:39:52 +08:00
Haoqun Jiang
e1b8519183
fix: fix duplicate slash in metadata url
2020-02-05 14:31:22 +08:00
Haoqun Jiang
02a4799256
chore: update vue & vue-template-compiler to 2.6.11
2020-02-05 14:27:40 +08:00
Haoqun Jiang
ce64455996
fix(cors): fixup #4985 , allow same-origin ws requests of any domain ( #5142 )
...
* fix: followup of #4985 , allow same-site ws requests of any domain
* fix: match whole string
2020-02-04 22:51:06 +08:00
Haoqun Jiang
3ee096ec35
fix: don't output warning message on eslint deps upgrade
2020-02-04 21:52:05 +08:00
Haoqun Jiang
45d4969083
ci: no need to include branch in the cache key
2020-02-04 20:13:03 +08:00
Haoqun Jiang
45013906de
test: uncomment the airbnb eslint migrator test
2020-02-04 20:04:20 +08:00