Commit Graph

319 Commits

Author SHA1 Message Date
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 74fae4454b feat: implement a migrator to auto add eslint to deps (#4549) 2019-09-07 12:56:30 +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
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
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 945a01e41f test: bump jest timeout, since @vue/eslint-config-* are now externalized 2019-08-03 15:00:37 +08:00
Haoqun Jiang c76d2e691d style: add a "no-shadow" linter rule (#4385)
It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong `options`
several times due to the variable shadowing.
2019-08-02 18:24:52 +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 f69a80664f test: add test for #4347 2019-07-25 09:59:18 +08:00
李瑞丰 80c20db703 fix(eslint-generator): add ts file check to lint-staged (#4347)
fix #3947
2019-07-25 09:54:47 +08:00
Haoqun Jiang 00996ba7cf v4.0.0-beta.0 2019-07-22 22:23:01 +08:00
Haoqun Jiang 6207dd97c3 feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (#4329)
This only affects newly generated projects so it's not considered a
breaking change.

Fixes #4310
2019-07-22 20:45:52 +08:00
Pavan Kumar Sunkara 544faee81e feat: more flexible hook system for generators (#2337) 2019-07-21 19:59:18 +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 0ba505ca02 fix: fix eslint path resolution in vue serve (#4246)
fixes #4237
2019-07-06 17:10:02 +08:00
Haoqun Jiang 8b8bb99316 feat: allow omitting scope prefix for official plugins on vue add (#4219) 2019-07-06 17:09:38 +08:00
Min ho Kim c0aa2bb310 Fix typos (#4241) 2019-07-06 07:09:29 +03:00
Haoqun Jiang 300d2aa2d4 v4.0.0-alpha.3 2019-07-04 09:08:42 +08:00
Haoqun Jiang 992fe0790d fix: use module directory instead of entry file for eslintPath (#4233)
fixes #4231
2019-07-04 08:58:34 +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 15b5c8d4d7 chore!: change default value of lintOnSave option (#3975)
BREAKING CHANGE:
See https://github.com/vuejs/vue-cli/pull/3572
2019-05-14 11:20:20 +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
Thorsten Lünborg a6d31662cf feat: add 3rd option to lintOnSave to support 'default' behaviour (fix #3552) (#3572) 2019-04-01 19:40:18 +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
Fengyuan Chen f2a6db2337 refactor(cli-plugin-eslint): merge lint-staged config (#3487) 2019-02-28 14:40:06 +08:00
Haoqun Jiang 5306c3787d chore: update deps 2019-02-25 01:05:44 +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
Haoqun Jiang f819f5154f fix: respect command line --ignore-pattern option 2019-02-17 19:09:50 +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