2737 Commits

Author SHA1 Message Date
Haoqun Jiang 34ae6f271a chore: bump fs-extra 2021-08-31 15:58:42 +08:00
Haoqun Jiang 5d0ce17a5a chore: bump lint-staged version 2021-08-31 15:54:54 +08:00
Haoqun Jiang 61d0e74a43 chore: jsdom version bump 2021-08-31 15:54:54 +08:00
David Kubeš 88313fd885 refactor: remove redundant Webpack version checks (#6638) 2021-08-31 15:43:18 +08:00
Haoqun Jiang c8833d37c2 chore: update stylus-loader
No breaking changes other than minimum Node.js version requirement
2021-08-31 15:34:28 +08:00
Vinsea 0f094547e1 fix(cli-service): wrong property name (typo) (#6645) 2021-08-24 16:38:45 +08:00
Haoqun Jiang ded81c6057 fix(ui): stop depending on the watch package (#6635) 2021-08-20 16:06:32 +08:00
Haoqun Jiang c1bf3d8746 v5.0.0-beta.3 2021-08-10 15:05:41 +08:00
Haoqun Jiang 627f51b1dd chore: pre release sync 2021-08-10 15:05:09 +08:00
Haoqun Jiang 1dd211e3d5 feat(unit-jest): add jest as a peer dependency (#6625)
Eventually we need to update to Jest 27 + vue2-jest / vue3-jest
So let's make it a peer dependency to ease the pain of breaking changes.

To not surprise existing beta users, jest 26 is still listed as a direct
dependency in the next release.
2021-08-09 16:24:57 +08:00
Haoqun Jiang cf1022d4c4 chore: bump dependency versions 2021-08-02 15:39:01 +08:00
Haoqun Jiang 17a0c3708c fix: mark sideEffects: true for styles in Vue components (#6597)
See discussions at https://github.com/vuejs/vue-loader/issues/1435
2021-07-30 14:04:21 +08:00
Haoqun Jiang e41ef41540 chore!: drop webpack-4 support in v5 (#6598)
1. I don't think I'll ever have the capacity to keep maintaining this
compat plugin. It's better to drop it now than later.
2. The plugin is needed at the time of alpha.0 because many ecosystem
plugins does not support webpack 5. But now I don't think it will be a
major hurdle.
3. The implementation was too hacky.
2021-07-30 14:03:54 +08:00
martiliones 45e804ba50 fix: update command description, fix typo (#6589) 2021-07-21 15:24:38 +08:00
Juan 70afd90ca3 fix(mocha): do not ignore JavaScript tests when TypeScript plugin is installed (#6560) 2021-07-02 16:32:02 +08:00
Haoqun Jiang 882aaca1fc feat: add support for avif 2021-06-23 15:32:36 +08:00
Muhammadamin 566c803a49 feat(cli-service): add support new image format avif (#6530) 2021-06-23 15:31:50 +08:00
Haoqun Jiang ae7c5a57f0 v5.0.0-beta.2 2021-06-09 13:15:30 +08:00
Haoqun Jiang 4c753bc7e8 chore: pre release sync 2021-06-09 13:15:07 +08:00
Thomas Citharel da2c715544 fix(pwa): Replace closeTag parameter with voidTag for HtmlWebpackPlugin (#6518)
HtmlWebpackPlugin has a voidTag parameter that needs to be set to true
so that both <link> and <meta> are treated as void elements (with no
contents). The closeTag parameter doesn't exist.

https://github.com/jantimon/html-webpack-plugin/blob/570f735c237d4a03a65622cfe64652431aca4132/typings.d.ts#L280
https://html.spec.whatwg.org/multipage/syntax.html#void-elements

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-09 11:04:18 +08:00
Haoqun Jiang 820b9b7826 chore: use scoped package names for aliases (#6519) 2021-06-09 08:37:05 +08:00
Binwei Fang 4be4bb39ad feat: implement plugin execution order (#6411) 2021-06-07 16:49:44 +08:00
tomica 9f2aa63453 fix: don't append slash on publicPath: 'auto' (#6506) 2021-06-03 21:15:51 +08:00
Haoqun Jiang 3ddc19f1ac fix(mocha): set mode to none to avoid DefinePlugin conflict (#6478) 2021-06-02 13:03:04 +08:00
Haoqun Jiang c64798dce3 fix: remove "(requires webpack 4)" from mocha prompt [skip ci] 2021-05-14 16:45:11 +08:00
Haoqun Jiang e6262a4fb5 v5.0.0-beta.1 2021-05-14 16:40:11 +08:00
Haoqun Jiang 5612398803 chore: pre release sync 2021-05-14 16:39:50 +08:00
Haoqun Jiang cc6f74d038 fix: webpack-sources is an optinal peer dependency
It is only required when we are using webpack 4
2021-05-14 15:59:39 +08:00
Kael ca26f8cec1 fix(SafariNomoduleFixPlugin): use RawSource instead of a plain object (#6470) 2021-05-14 15:58:53 +08:00
Thomas Timmers 3bb2d84045 feat: add "tags" part to htmlWebpackPlugin (#6472)
Add it for use-cases like https://github.com/jantimon/html-webpack-plugin/tree/main/examples/custom-insertion-position
2021-05-14 15:39:26 +08:00
Haoqun Jiang b4af27a0e1 feat: support webpack 5 in unit-mocha plugin (#6471)
mochapack 2.1.0 has added webpack 5 support

Closes #6412
2021-05-14 15:11:43 +08:00
Kristoffer K 2b3567c842 fix(typescript): add missing dependencies and require.resolve compiler (#6456) 2021-05-07 15:35:43 +08:00
Haoqun Jiang 889c6feb0a fix!: keep project name validation rules in sync between UI and CLI (#6443) 2021-05-07 14:54:48 +08:00
Haoqun Jiang 6c4db2598c fix: fix jest migrator dependency merging (#6454)
Thanks to @PiDelport
2021-05-07 14:44:56 +08:00
Haoqun Jiang 35f92807b8 ci: fix random failing ui tests (#6446) 2021-04-28 13:06:52 +08:00
Haoqun Jiang 2d3116ed50 v5.0.0-beta.0 2021-04-25 17:18:28 +08:00
Haoqun Jiang de525813f8 chore: pre release sync 2021-04-25 17:17:53 +08:00
Jeffrey Yang 8f055f8347 fix(ui): fix publicPath documentation link (#6440) 2021-04-25 16:43:26 +08:00
Haoqun Jiang 5dd0340683 feat!: drop IE11 support in CLI UI (#6439) 2021-04-25 16:43:04 +08:00
Haoqun Jiang cd6db824c7 fix: use .needsDifferentialLoading instead of .module
Because we now automatically skips differential loading if all targets
support es module, regardless of the `.module` flag
2021-04-25 14:18:53 +08:00
Haoqun Jiang a1979bd2a4 fix: should not include IE11 target in Vue 3 projects (#6437)
As Vue 3 does not, and likely will not support IE11.

https://github.com/vuejs/rfcs/pull/294
2021-04-25 14:09:00 +08:00
PENG Rui 3f3d036cee feat(plugin-typescript): add all recommended tsconfig (#6428) 2021-04-24 20:32:19 +08:00
Haoqun Jiang 4473ca2e13 chore: some dependency version bumps (#6430)
Default Cypress version is now v7
2021-04-24 20:25:34 +08:00
Haoqun Jiang e661a92375 feat!: upgrade to css-minimizer-webpack-plugin v2 (#6420) 2021-04-16 19:37:51 +08:00
James George a16b017198 chore: rely on default arg parser behavior (#6413) 2021-04-16 19:30:44 +08:00
Haoqun Jiang 0aa8a55189 feat!: always inject safari-nomodule-fix as an external script; drop --no-unsafe-inline flag (#6422) 2021-04-16 19:23:21 +08:00
Haoqun Jiang 791fa288ad chore: should output meaningful error message for missing vue-jest dep
follow up of #6418
2021-04-16 17:16:07 +08:00
Haoqun Jiang aad72cfa78 feat: only needs one bundle if all targets support es module (#6419) 2021-04-16 16:36:51 +08:00
Haoqun Jiang 3b851a8dfe chore: add notes about upcoming Babel 8 esmodules change [skip ci] 2021-04-15 15:40:39 +08:00
Haoqun Jiang f782fa3966 test: use explicit targets in babel tests
Fixes the issue caused by https://github.com/babel/babel/pull/12989
2021-04-15 15:40:39 +08:00