Commit Graph

382 Commits

Author SHA1 Message Date
Haoqun Jiang af3e6c4ca0 fix: should use graphql v15 at all levels of dependency (#6192)
It causes peer dependency warnings because of several ill-maintained
apollo packages, but let's just ignore them.
Fixes #6191
2021-01-11 12:16:12 +08:00
Haoqun Jiang c711516125 feat!: bump default sass-loader version to v10, drop sass-loader v7 support (#6187) 2021-01-10 19:04:39 +08:00
Cédric Exbrayat d74351456a chore: use webpack-chain v6.5.1 (#6157)
Vue CLI v5.0.0-alpha.0 uses `rule.resolve` in the CLI service (see https://github.com/vuejs/vue-cli/blob/v5.0.0-alpha.0/packages/@vue/cli-service/lib/config/base.js#L17-L20) which was introduced in webpack-chain v6.5.0.

As the CLI service defines a dependency to webpack-chain v6.4.0, this causes issues in existing projects when trying to upgrade to the CLi v5.

Upgrading an existing project leads to `yarn build` throwing:

```
TypeError: Cannot read property 'set' of undefined
    at /Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/config/base.js:20:19
    at /Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/Service.js:240:40
    at Array.forEach (<anonymous>)
    at Service.resolveChainableWebpackConfig (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/Service.js:240:26)
    at PluginAPI.resolveChainableWebpackConfig (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/PluginAPI.js:145:25)
    at module.exports (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/commands/build/resolveAppConfig.js:9:22)
    at build (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/commands/build/index.js:147:50)
    at /Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/commands/build/index.js:89:13
    at Service.run (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/Service.js:234:12)
    at Object.<anonymous> (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/bin/vue-cli-service.js:36:9)
```

This fixes the issue by specifying the necesseray minimal version for webpack-chain.
2020-12-20 15:13:19 +08:00
Haoqun Jiang 0372160524 chore: some trivial dependency version bumps (#6152) 2020-12-17 16:24:10 +08:00
Haoqun Jiang 5b3ab5d810 fix: temporary workaround for vuepress build 2020-12-14 22:20:35 +08:00
Haoqun Jiang 4de8c99603 refactor!: replace optimize-cssnano-plugin with css-minimizer-webpack-plugin (#6140) 2020-12-14 09:36:43 +08:00
Haoqun Jiang 696cbd1f14 chore: dependency and lockfile maintenance 2020-12-11 14:53:13 +08:00
Haoqun Jiang 04297fdfd0 chore: lockfile maintenance 2020-12-09 16:01:44 +08:00
Haoqun Jiang b96c3bdb08 feat: update eslint-related packages (#6123) 2020-12-09 15:03:38 +08:00
Haoqun Jiang f73fa6e4e5 chore: dependency maintenance 2020-12-08 15:29:09 +08:00
Haoqun Jiang 89b0377c4f feat!: upgrade postcss-loader, using postcss 8 by default (#6108) 2020-12-08 13:21:37 +08:00
Haoqun Jiang 0b5ae42c2a feat!: update jest to v26 (#6116)
closes #5873
closes #5874
closes #5114
closes #5680
closes #5573
2020-12-08 11:03:45 +08:00
Binwei Fang a153af8f1e feat: replace eslint-loader by eslint-webpack-plugin (#6094)
closes #5926, using eslint-webpack-plugin can fix the problem of eslint-loader caused by cache-loader

closes #3065 
closes #5399 
closes #4425
2020-12-07 16:08:33 +08:00
Haoqun Jiang 2dbe0be840 feat!: support and use webpack 5 as default (#6060) 2020-12-03 15:16:35 +08:00
Kristoffer K f6850440bc fix(cli-service): don't write entry-wc to node_modules (#6101)
Fixes https://github.com/yarnpkg/berry/issues/2189
2020-12-02 21:16:50 +08:00
Binwei Fang 746540bbc6 refactor: sub-package eslint maintance (#6078)
using eslint@7 and @babel/eslint-parser in sub-package
2020-11-23 19:39:13 +08:00
Binwei Fang 9136696197 feat(eslint): support eslint7 and @babel/eslint-parser (#6059)
closes #5734 
closes #5981
2020-11-20 09:10:49 +08:00
Haoqun Jiang 482ef1086b chore!: bump joi to v17 (#5973) 2020-11-19 15:34:31 +08:00
Haoqun Jiang f5359bdf36 workflow: test migrator / vue 3 scenarios with verdaccio (#6071) 2020-11-19 11:12:48 +08:00
Yazhe Wang ba6cb7c5b3 refactor!: replace request with node-fetch (#6009) 2020-11-13 13:26:57 +08:00
Haoqun Jiang 203911728f chore: lockfile maintenance 2020-10-20 00:12:48 +08:00
Haoqun Jiang 5898fcb848 fixup! chore!: some trivial dependency major version updates (#5951) 2020-10-16 14:30:03 +08:00
Haoqun Jiang 90d3dfc74e chore!: some trivial dependency major version updates (#5951) 2020-10-15 15:47:45 +08:00
Haoqun Jiang 5a30ec4939 chore: bump vuepress version 2020-10-10 17:59:43 +08:00
Haoqun Jiang 3656416bd0 chore: merge branch 'next' into dev 2020-10-09 15:12:38 +08:00
Haoqun Jiang 027386e8d1 fix: update the .vue file shim for Vue 3 (#5903) 2020-09-30 16:34:40 +08:00
Haoqun Jiang edce9d075c chore!: bump unit-mocha dependency versions (#5907) 2020-09-29 15:43:09 +08:00
Haoqun Jiang 149e3f1fa6 fixup! feat(plugin)!: update cypress plugin to reflect cross-browser capabilities 2020-09-28 15:26:32 +08:00
Amir Rustamzadeh 3717f7c973 feat(plugin)!: update cypress plugin to reflect cross-browser capabilities
chore(plugin): add link to cypress cross-browser guide

chore(dep): upgrade to cypress v4.0.0

chore(dep): upgrade to Cypress 4.0.1

chore(dep): upgrade to cypress v5.0.0
2020-09-28 15:22:17 +08:00
Haoqun Jiang 36e500d266 chore!: update eslint-loader, minimum supported ESLint version is 6 (#5870) 2020-09-11 09:49:44 +08:00
Haoqun Jiang 6857b82dfc chore: Merge branch 'dev' into next 2020-09-10 20:46:50 +08:00
Shinigami adb8c7d316 chore!: remove TSLint support (#5065)
closes #5064
2020-09-10 20:07:09 +08:00
Haoqun Jiang 9e5b16b001 fix: enable some syntax extensions by default for vue script compiler (#5868) 2020-09-10 19:46:23 +08:00
Haoqun Jiang 473eab2d78 chore!: some trivial major version bumps for dependencies
Aside from the Node.js version requirement, these dependency version
bumps are not likely to bring in any user-facing breaking changes
2020-09-08 15:40:07 +08:00
Haoqun Jiang b07be3ca8a chore: dependency maintenance 2020-09-07 21:39:04 +08:00
Haoqun Jiang a79fe83088 chore: update @vuepress/theme-vue 2020-08-06 00:30:06 +08:00
Haoqun Jiang 467e577e49 fix: fix webdriver.io setup with TS 2020-08-05 16:26:23 +08:00
Haoqun Jiang fe90abdeac chore: dependency maintenance (#5742) 2020-08-04 15:43:31 +08:00
Christian Bromann 87e9d42fbe feat(e2e-webdriverio): add e2e plugin for WebdriverIO (#5479) 2020-08-01 00:46:14 +08:00
Haoqun Jiang 1aaa592642 fix: use fork-ts-checker-webpack-plugin v5 for vue 3 type checking (#5722)
Fixes #5712

Note this is a optional dependency so that we don't break compatibility
with Node.js v8.
2020-07-29 13:47:49 +08:00
Haoqun Jiang b1772cadd2 feat: allow choosing vue version on creation (and in presets) (#5637) 2020-07-24 18:54:15 +08:00
Binwei Fang 725ca41b69 feat(cli,cli-service,cli-test-utils): add ts declaration (#5356)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-07-15 17:02:54 +08:00
Haoqun Jiang 7f56846a2e refactor: replace jscodeshift with vue-codemod (#5629) 2020-07-01 15:06:55 +08:00
Haoqun Jiang 8600585481 feat: detect and compile Vue 3 projects (#5570) 2020-06-24 15:09:28 +08:00
Haoqun Jiang dd98d2a7f0 fix: fix jscodeshift peer dependency error (#5614)
Fixes #5612

TODO: @babel/preset-env can be removed when we switch over from
jscodeshift to vue-codemod
2020-06-24 13:17:19 +08:00
Haoqun Jiang 36b475c117 chore: depedency maintenance 2020-05-25 14:40:04 +08:00
Haoqun Jiang 8b01c9ec51 chore: dependency maintenance (#5496) 2020-05-18 21:24:19 +08:00
Haoqun Jiang 8d1056268e chore: dependency maintenance 2020-04-29 16:41:40 +08:00
Haoqun Jiang 016bb322dd chore: bump typescript version to 3.8
It's been supported in the latest versions of @typescript-eslint packages
https://github.com/typescript-eslint/typescript-eslint/pull/1696
2020-04-01 15:27:39 +08:00
Haoqun Jiang ee05918486 chore: dependency maintenance 2020-04-01 14:27:44 +08:00