Commit Graph

2100 Commits

Author SHA1 Message Date
James F McMahon b218dfec29 docs: Reference mochapack in README (#4652) [ci skip]
As of e08603b, this plugin uses mochapack instead of mocha-webpack. Updated the README to reflect this.
2019-10-07 00:07:43 +08:00
Haoqun Jiang 58592fed4e v4.0.0-rc.7 2019-10-01 23:35:39 +08:00
Haoqun Jiang 6dcc62740f chore: pre release sync 2019-10-01 23:34:00 +08:00
Haoqun Jiang e63bf6122b fix: avoid accidentally overriding sass config with scss configs (#4637) 2019-10-01 23:30:15 +08:00
Haoqun Jiang b823ca84d3 v4.0.0-rc.6 2019-09-30 20:27:57 +08:00
Haoqun Jiang 45e1e983ab chore: pre release sync 2019-09-30 20:20:35 +08:00
Haoqun Jiang 5bff9c3f28 fix(upgrade-all): avoid accidentally writing outdated package.json back (#4634) 2019-09-30 20:15:23 +08:00
Haoqun Jiang cd5f404cde fix(babel-migrator): transform babel preset regardless of plugin version (#4633) 2019-09-30 19:55:59 +08:00
Haoqun Jiang d49f784eb0 v4.0.0-rc.5 2019-09-30 18:39:52 +08:00
Haoqun Jiang 29d070ca75 chore: pre release sync 2019-09-30 18:35:59 +08:00
Haoqun Jiang 2334ff83ee fix: fix output quote styles in codemods
The recast print utility prefers double quotes by default,
this may fail many users' eslint check, so we have to implement a
detection utility to tell if double quotes are actually needed.

Template literals are also converted to string literals, to make things
easier for future iterations.
2019-09-30 18:18:35 +08:00
Haoqun Jiang ebdb142a4b fix: fix sassOptions merging for scss syntax in sass-loader v8 (#4631)
fixes #4630
2019-09-30 14:02:48 +08:00
Yingya Zhang 8869a01d48 feat: support custom package manager (#4621)
Closes #4483

* feat: support custom package manager

* feat: refine warning msg for unknown package manager

* feat: refine blank lines

* feat: refine warning msg for unknown package manager

* feat: refine warning msg for unknown package manager
2019-09-30 14:01:43 +08:00
Haoqun Jiang ed2b888782 Revert "feat: allow custom packageManager other than npm/yarn/p… (#4632)
This reverts commit e0f846984a.
2019-09-30 14:00:31 +08:00
Yingya Zhang e0f846984a feat: allow custom packageManager other than npm/yarn/pnpm (#4620)
Closes #4483
2019-09-30 13:59:21 +08:00
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