Commit Graph

125 Commits

Author SHA1 Message Date
Haoqun Jiang a468abfa6c feat: implement a migrator to upgrade to eslint 6 (#5085)
* refactor: extract deps & config logic to separate files

* feat: implement a migrator to upgrade to eslint 6

* fix: add required deps for eslint v4

* test: move migrator tests to each standalone plugins

* refactor: use spread operator instead of Object.assign
2020-01-27 14:00:16 +08:00
Haoqun Jiang 3b7227d544 v4.1.2 2019-12-28 20:54:27 +08:00
Haoqun Jiang 2ddcc65dfe v4.1.1 2019-11-27 23:14:15 +08:00
Haoqun Jiang d316a18789 v4.1.0 2019-11-27 14:58:46 +08:00
Haoqun Jiang 1c41371a42 v4.1.0-beta.0 2019-11-09 21:49:23 +08:00
Haoqun Jiang 17925c6ae6 v4.0.5 2019-10-22 19:53:34 +08:00
Haoqun Jiang d82a2bbe26 v4.0.4 2019-10-18 15:48:03 +08:00
Haoqun Jiang aa29fd1526 v4.0.3 2019-10-17 15:59:03 +08:00
Haoqun Jiang 8b08c73e8e v4.0.2 2019-10-17 10:22:54 +08:00
Haoqun Jiang 9770808411 v4.0.1 2019-10-16 20:33:29 +08:00
Haoqun Jiang 81f84577e4 v4.0.0 2019-10-16 19:19:06 +08:00
Haoqun Jiang 5cce80c2f7 v4.0.0-rc.8 2019-10-11 16:11:02 +08:00
Haoqun Jiang 58592fed4e v4.0.0-rc.7 2019-10-01 23:35:39 +08:00
Haoqun Jiang b823ca84d3 v4.0.0-rc.6 2019-09-30 20:27:57 +08:00
Haoqun Jiang d49f784eb0 v4.0.0-rc.5 2019-09-30 18:39:52 +08:00
Haoqun Jiang 21257378d7 v4.0.0-rc.4 2019-09-25 12:31:11 +08:00
Haoqun Jiang 863d6bbfbf v4.0.0-rc.3 2019-09-10 00:05:39 +08:00
Haoqun Jiang d37d68afba v4.0.0-rc.2 2019-09-08 11:52:59 +08:00
Haoqun Jiang df0f813703 v4.0.0-rc.1 2019-09-04 16:19:42 +08:00
Haoqun Jiang 91024a7843 v4.0.0-rc.0 2019-08-21 17:48:28 +08:00
Daan Roet 428d1720fe feat: upgrade webpack (#4253) 2019-08-12 21:58:58 +08:00
Haoqun Jiang f9a9880d93 v4.0.0-beta.3 2019-08-08 11:10:03 +08:00
Haoqun Jiang 7a399ef7e2 v4.0.0-beta.2 2019-07-30 00:22:38 +08:00
Haoqun Jiang fc3e0a30b5 chore: plugins should list @vue/cli-service in peerDependencies (#4365) 2019-07-29 10:45:12 +08:00
Haoqun Jiang 575349982b v4.0.0-beta.1 2019-07-25 10:40:03 +08:00
Haoqun Jiang 00996ba7cf v4.0.0-beta.0 2019-07-22 22:23:01 +08:00
Haoqun Jiang 615ae0f5b7 v4.0.0-alpha.5 2019-07-14 23:12:42 +08:00
Haoqun Jiang bd82649a64 v4.0.0-alpha.4 2019-07-06 19:51:01 +08:00
Haoqun Jiang 300d2aa2d4 v4.0.0-alpha.3 2019-07-04 09:08:42 +08:00
Haoqun Jiang 0c2ebc4ae2 v4.0.0-alpha.2 2019-07-03 15:42:06 +08:00
Haoqun Jiang 271bf395df chore: move yorkie from cli-service to plugin-eslint & plugin-typescript (#4153)
It is because yorkie is not used anywhere in @vue/cli-service, but only
included for the `lintOn: 'commit'` feature of eslint & typescript
plugin.

Also, a lot of global installation issues are caused by the yorkie
postinstall script. Moving it out of the dependency chain of `@vue/cli`
mitigates such issues.
2019-06-18 23:28:26 +08:00
Haoqun Jiang 8fa6fa694a v4.0.0-alpha.1 2019-05-25 17:48:40 +08:00
Haoqun Jiang 63f501a2ca v4.0.0-alpha.0 2019-05-01 00:19:37 +08:00
Haoqun Jiang b70e0f6970 feat!: require ESLint as a peer dependency (#3852)
BREAKING CHANGE:
Users will have to explicitly list their required ESLint version in the
project's package.json.

The major concern behind this change is that ESLint release schedule is
never aligned with Vue CLI's.
See https://eslint.org/blog/2019/04/eslint-v6.0.0-alpha.0-released
So even if we upgraded our built-in ESLint version to v5, we'll see a
new major release of ESLint in the coming months. Meanwhile we can't
easily upgrade the built-in ESLint version again without bumping our
major version number. This could become a maintenance nightmare.
2019-04-30 10:18:03 +08:00
Haoqun Jiang 6cf29060b3 feat: use ESLint v5 by default everywhere (#3775)
BREAKING CHANGE: may cause old projects' linting fail
(those scaffolded with Vue CLI 3.0.x).
2019-04-30 10:17:15 +08:00
Haoqun Jiang 0dbfa5a0bf v3.7.0 2019-04-28 14:21:35 +08:00
Haoqun Jiang 99a06d1758 v3.6.0 2019-04-13 23:56:37 +08:00
Haoqun Jiang cc66247950 chore: update deps 2019-04-11 14:49:12 +08:00
Haoqun Jiang 0b363bec49 v3.5.1 2019-03-12 16:03:53 +08:00
Haoqun Jiang 65eec48581 v3.5.0 2019-03-08 14:40:48 +08:00
Haoqun Jiang 0c3f6183a8 v3.4.1 2019-02-20 14:48:28 +08:00
Haoqun Jiang fccb1143e5 chore: update deps 2019-02-18 15:20:13 +08:00
Haoqun Jiang 114313cc2f fix(cli-plugin-eslint): make eslint deps optional (#3068)
1. In @vue/cli-plugin-eslint 3.1.0+, eslint will be explicitly added to
the project's package.json, so it is **optional**.
2. `optionalDependencies` will still be installed by npm by default,
just no longer cause installation to fail when error happens.
3. ESLint v4 did cause weird errors sometimes, like `npm WARN
ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed.`
Though this warning never caused any errors on my machine, I think it's
good to make the plugin fail-safe.
2019-02-18 00:02:32 +08:00
Damian Stasik 87f9a29823 chore: add repository.directory field to each package.json to specify where each package lives in a monorepo (#3397) 2019-02-07 17:35:23 +08:00
Haoqun Jiang 22232df781 v3.4.0 2019-02-01 02:43:05 +08:00
Haoqun Jiang 6e5e1170bf fix: add webpack to plugins' dependencies, fix yarn peer dep warnings 2019-02-01 02:25:57 +08:00
Haoqun Jiang 9a9a70714f chore: update deps 2019-02-01 01:21:47 +08:00
Haoqun Jiang 5937a67a48 v3.3.0 2019-01-08 12:02:58 +08:00
Haoqun Jiang b30e2b779e v3.2.2 2018-12-30 21:05:48 +08:00
Haoqun Jiang 79eb41fa9f v3.2.1 2018-11-28 03:02:25 +08:00