Commit Graph

2604 Commits

Author SHA1 Message Date
Haoqun Jiang 2315990311 workflow: try defaultMaxListeners 2019-09-25 02:06:01 +08:00
Haoqun Jiang 08fd908bcb workflow: fix the MaxListenersExceededWarning 2019-09-25 01:55:09 +08:00
Haoqun Jiang f970d1a129 workflow: run checkLink sequentially 2019-09-25 01:42:27 +08:00
Haoqun Jiang bd9442b092 chore: merge branch 'next' into dev 2019-09-25 01:28:55 +08:00
vahdet 3f5f438f7e Edited Dockerfile of Docker(Nginx) deployment doc (#4561)
* Edited Dockerfile of Docker(Nginx) deployment doc

Edited `Dockerfile` section of https://cli.vuejs.org/guide/deployment.html#docker-nginx

As shown in [Vue v2 cookbook](https://vuejs.org/v2/cookbook/dockerize-vuejs-app.html) copying `package*.json` initially and running `npm install` in a separate step allows caching and reduces time elapsed during Docker build. Also the difference between the two docs will be reduced and be less confusing to those who end up with both of them.

* node version to latest

(cherry picked from commit 69f7145b02)
2019-09-25 01:25:47 +08:00
Kid 3da900813d docs: update Chinese translation of Deployment (#4486) [ci skip]
Co-Authored-By: GU Yiling <justice360@gmail.com>
(cherry picked from commit 9c99ce2be6)
2019-09-25 01:25:37 +08:00
vimvinter ba97068bb3 docs(zh): update build-targets.md (#4505) [ci skip]
(cherry picked from commit c730b76f43)
2019-09-25 01:25:26 +08:00
Owan Hunte dcd2a850b8 Documentation typo fixes (#4500)
* Minor typo fix for CLI Service docs page

In the last paragraph of the CLI Service docs page the second instance of the word 'need' should be changed to 'needs'.

* Typo fix to 'HTML and Static Assets' docs page

(cherry picked from commit b20e27ad12)
2019-09-25 01:25:09 +08:00
Haoqun Jiang f5c39b6c39 chore: lockfile maintenance 2019-09-25 01:21:37 +08:00
Haoqun Jiang 387046b264 chore: update default chromedriver version to the latest 2019-09-25 01:21:08 +08:00
Haoqun Jiang cb740ae268 fix: correctly ignore html templates in copy-webpack-plugin (#4613)
Fixes #3597.
Fixes #4299.
2019-09-25 00:19:25 +08:00
Haoqun Jiang 8705885d6f feat: use jsdom v15 in jest presets instead of the default v11 (#4607) 2019-09-25 00:18:26 +08:00
Haoqun Jiang ed50ceb255 refactor: rename jest presets (#4609)
* refactor: rename jest presets

Follow up of #4597.
Renamed `preset` folder to `presets`.
Added a default preset and it is accessible in the short form of
`@vue/cli-plugin-unit-jest`.

This change is inspired by ts-jest presets:
https://kulshekhar.github.io/ts-jest/user/config/#jest-preset

* fix: update import path

* fix: fix typo in file path
2019-09-25 00:02:39 +08:00
Haoqun Jiang 2e1e92b7e8 refactor: move jest configs into presets (#4597)
* refactor: move jest configs into a preset

This could significantly reduce the size of default boilerplate,
and gives us more control on the internal config details, thus
potentially making future upgrades easier.

* fix: add back applyTS
2019-09-23 18:22:59 +08:00
Haoqun Jiang cc06091d8c docs: fix syntax highlighting 2019-09-23 17:11:07 +08:00
Natalia Tepluhina cc9dba64a7 docs: fixed vuepress link to next branch (#4604) 2019-09-22 13:23:30 +08:00
Haoqun Jiang 0473432679 feat(nightwatch): check user's installed browser versions on scaffolding / before running tests (#4563) 2019-09-12 18:33:10 +08:00
Haoqun Jiang dcd8d94e36 chore: add geckodriver to workspace devDependencies
fix peer dependency warnings
2019-09-11 15:39:22 +08:00
Haoqun Jiang 863d6bbfbf v4.0.0-rc.3 v4.0.0-rc.3 2019-09-10 00:05:39 +08:00
Haoqun Jiang 83d459b34c chore: pre release sync 2019-09-09 23:51:30 +08:00
Haoqun Jiang b156ff17e5 Merge pull request #4554 from sodatea/sass-loader-8
Support sass-loader v8
2019-09-09 23:35:15 +08:00
Haoqun Jiang 59d6a7c856 docs: rephrase the upgrade notice 2019-09-09 23:01:39 +08:00
Andrei Rusu 59adbd69c7 feat: Upgrade Nightwatch to v1.2 and update bundled config and generated tests (#4541)
* feat: Upgraded Nightwatch to version 1.2; updated distributed config; added new cli flags: --headless, --parallel...; added support for running chromedriver and geckodriver standalone; added unit tests

* docs: updated nightwatch plugin readme

* feat: add chromedriver and geckodriver as peer dependencies

* updated readme and driver depedencies

* updated optional dependencies

* fixed failing tests

* updated generated tests

* updated tests
2019-09-09 18:49:33 +08:00
Haoqun Jiang 8cc9ea5f81 fix: pause & resume spinners elegantly 2019-09-09 17:23:47 +08:00
Haoqun Jiang af17a9b49f feat: support sass-loader v8 2019-09-09 17:23:21 +08:00
Haoqun Jiang d37d68afba v4.0.0-rc.2 v4.0.0-rc.2 2019-09-08 11:52:59 +08:00
Haoqun Jiang 0c5d740202 chore: pre release sync 2019-09-08 11:52:11 +08:00
Haoqun Jiang 87285d62af ci: log patched chromedriver version 2019-09-08 01:50:40 +08:00
Cédric Exbrayat cd91c0f650 docs: remove run for yarn commands in readme (#4551) 2019-09-08 01:47:20 +08:00
tomomi 9e4592fcb1 fix: fix incompatibility with Chrome 75 (#4440) 2019-09-08 01:31:13 +08:00
Haoqun Jiang 1cc6c5128e ci: auto detect chrome version 2019-09-08 01:14:25 +08:00
Haoqun Jiang 6a2ca0ab17 Revert "ci: no longer need to patch chromedriver in appveyor"
This reverts commit 96eac78f6e.
2019-09-08 00:51:41 +08:00
Haoqun Jiang 522a0f8d03 test: set a really long timeout for HMR tests 2019-09-07 13:07:15 +08:00
Haoqun Jiang 72ba7505af fix: should not proxy sockjs endpoint (#4550)
fixes #4504
thanks to https://github.com/facebook/create-react-app/pull/7444
2019-09-07 13:02:34 +08:00
Haoqun Jiang 74fae4454b feat: implement a migrator to auto add eslint to deps (#4549) 2019-09-07 12:56:30 +08:00
Haoqun Jiang b799b831b1 fix(upgrade): correctly update version range in package.json (#4546) 2019-09-07 00:30:29 +08:00
Haoqun Jiang 4aba6e1573 test: catch timeout errors for HMR tests in AppVeyor 2019-09-07 00:14:24 +08:00
Haoqun Jiang 0a9e6490e8 chore: remove extraneous log 2019-09-06 23:44:40 +08:00
Haoqun Jiang 9730b9961c Revert "chore: upgrade puppeteer"
This reverts commit 71aeaea1fb.
2019-09-06 23:44:31 +08:00
Haoqun Jiang b2848aeeaf test: replace waitForFunction with waitForXPath 2019-09-06 23:21:52 +08:00
Haoqun Jiang 71aeaea1fb chore: upgrade puppeteer 2019-09-06 22:52:28 +08:00
Haoqun Jiang 48be50d6ae chore: update vuepress
The previous incompatibility issue was resolved:
https://github.com/vuejs/vuepress/pull/1771
2019-09-06 22:09:37 +08:00
Haoqun Jiang d97dc18049 docs: continue fixing typo… 2019-09-05 00:24:09 +08:00
Haoqun Jiang f7a822dabc docs: fix typo 2019-09-04 16:44:24 +08:00
Haoqun Jiang df0f813703 v4.0.0-rc.1 v4.0.0-rc.1 2019-09-04 16:19:42 +08:00
Haoqun Jiang 07b207e527 chore: pre release sync 2019-09-04 16:19:01 +08:00
Haoqun Jiang eb4c0334a5 fixup! test: use page.waitForFunction for HMR testing 2019-09-04 15:43:22 +08:00
Haoqun Jiang 2622f8d3f7 test: use page.waitForFunction for HMR testing 2019-09-04 15:34:57 +08:00
Haoqun Jiang 0ca37b7453 fix: correctly sort test scripts in package.json
The previous `keyOrder` referred to the legacy `test` & `e2e` commands
that were removed / deprecated since 3.0 stable
2019-09-04 01:20:22 +08:00
Haoqun Jiang e585fc3881 fix: sortObject should not introduce formerly non-existent fields 2019-09-04 01:17:28 +08:00