Commit Graph

2069 Commits

Author SHA1 Message Date
Haoqun Jiang
14ff94da34 fix: force lines to be ended with lf, fix windows tests 2019-09-29 23:09:25 +08:00
Haoqun Jiang
c42acfcca3 feat(babel): transform preset names in the plugin migrator (#4629) 2019-09-29 22:13:31 +08:00
Haoqun Jiang
c53a49dc98 fix: fix nightwatch template's compatibility with eslint plugin (#4622)
Fixes #4619

* fix: fix nightwatch template's compatibility with eslint plugin

* test: should add eslint plugin **after** nightwatch plugin

* fix: add _eslintrc.js
2019-09-29 22:06:21 +08:00
Haoqun Jiang
5e819b5290 fix: fix nightwatch cli option (--url) handling (#4627)
fixes #4619
2019-09-29 22:05:51 +08:00
Haoqun Jiang
21257378d7 v4.0.0-rc.4 2019-09-25 12:31:11 +08:00
Haoqun Jiang
4f009cdb60 chore: pre release sync 2019-09-25 12:30:25 +08:00
Haoqun Jiang
ad6d516a3d chore: update chromedriver version 2019-09-25 03:00:14 +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
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
863d6bbfbf 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 2019-09-08 11:52:59 +08:00
Haoqun Jiang
0c5d740202 chore: pre release sync 2019-09-08 11:52:11 +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
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
df0f813703 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
Luke Bennett
8975d84ae3 feat: Check for nightwatch.conf.js config (#4445)
Nightwatch checks for `nightwatch.conf.js` instead
of the existing `nightwatch.config.js` user options
file, this adds a branch to check for the file
suggested by upstream as well.
2019-09-04 00:38:59 +08:00
Cédric Exbrayat
267aa67cf6 fix: remove the nonexistent test command from generated README (#4525)
Closes #4478
2019-09-03 00:31:11 +08:00
Maël Nison
be0cb95246 fix(cli-plugin-babel): properly exports the babel preset (#4533) 2019-09-02 18:24:14 +08:00
Haoqun Jiang
fbd592ef8e feat: add vue outdated command & make vue upgrade interactive (#4497) 2019-09-02 17:05:03 +08:00
Marcel Jahn
8f2d470404 fix(pluginResolution): support dots in scope names (#4512) 2019-09-02 15:59:05 +08:00
Haoqun Jiang
91024a7843 v4.0.0-rc.0 2019-08-21 17:48:28 +08:00
Haoqun Jiang
5bbf0b40d3 chore: pre release sync 2019-08-21 17:42:56 +08:00
Haoqun Jiang
9baab9dc6b chore: update @vue/component-compiler-utils to 3.0 2019-08-21 17:31:23 +08:00
zrh122
51cd831cd5 chore: add cwd option when calling globby (#4442)
Make globby working as expected when project path contains parentheses.

Close #4417.
2019-08-21 16:33:29 +08:00
Haoqun Jiang
55e1c3ca56 feat: bump default less-loader version (#4468)
Resolves #4454
2019-08-21 15:52:00 +08:00
Thorsten Lünborg
fba2ad0606 feat: --skip-plugins (#4448)
Allow skipping of plugins  from command line

close #4262
close #3830
2019-08-21 15:38:01 +08:00
Thorsten Lünborg
58177d25cd fix: eslint should override env for **/tests/** subfolders (#4447)
close #4397
2019-08-21 15:34:16 +08:00