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.

(cherry picked from commit 271bf395df)
This commit is contained in:
Haoqun Jiang
2019-06-18 23:28:26 +08:00
parent 4f379d4c8f
commit 1bc8006790
3 changed files with 5 additions and 4 deletions

View File

@@ -27,7 +27,8 @@
"babel-eslint": "^10.0.1",
"eslint-loader": "^2.1.2",
"globby": "^9.2.0",
"webpack": ">=4 < 4.29"
"webpack": ">=4 < 4.29",
"yorkie": "^2.0.0"
},
"optionalDependencies": {
"eslint": "^4.19.1",

View File

@@ -29,7 +29,8 @@
"globby": "^9.2.0",
"ts-loader": "^5.3.3",
"tslint": "^5.15.0",
"webpack": ">=4 < 4.29"
"webpack": ">=4 < 4.29",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"typescript": ">=2"

View File

@@ -78,8 +78,7 @@
"webpack-bundle-analyzer": "^3.3.0",
"webpack-chain": "^4.11.0",
"webpack-dev-server": "^3.4.1",
"webpack-merge": "^4.2.1",
"yorkie": "^2.0.0"
"webpack-merge": "^4.2.1"
},
"peerDependencies": {
"vue-template-compiler": "^2.0.0"