mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-23 23:59:02 -06:00
chore: pre release sync
This commit is contained in:
@@ -16,17 +16,17 @@ module.exports = (api, { config, lintOn = [] }) => {
|
||||
if (config === 'airbnb') {
|
||||
eslintConfig.extends.push('@vue/airbnb')
|
||||
Object.assign(pkg.devDependencies, {
|
||||
'@vue/eslint-config-airbnb': '^3.0.0-beta.11'
|
||||
'@vue/eslint-config-airbnb': '^3.0.0-beta.12'
|
||||
})
|
||||
} else if (config === 'standard') {
|
||||
eslintConfig.extends.push('@vue/standard')
|
||||
Object.assign(pkg.devDependencies, {
|
||||
'@vue/eslint-config-standard': '^3.0.0-beta.11'
|
||||
'@vue/eslint-config-standard': '^3.0.0-beta.12'
|
||||
})
|
||||
} else if (config === 'prettier') {
|
||||
eslintConfig.extends.push('@vue/prettier')
|
||||
Object.assign(pkg.devDependencies, {
|
||||
'@vue/eslint-config-prettier': '^3.0.0-beta.11'
|
||||
'@vue/eslint-config-prettier': '^3.0.0-beta.12'
|
||||
})
|
||||
} else {
|
||||
// default
|
||||
@@ -37,7 +37,7 @@ module.exports = (api, { config, lintOn = [] }) => {
|
||||
if (api.hasPlugin('typescript')) {
|
||||
eslintConfig.extends.push('@vue/typescript')
|
||||
Object.assign(pkg.devDependencies, {
|
||||
'@vue/eslint-config-typescript': '^3.0.0-beta.11'
|
||||
'@vue/eslint-config-typescript': '^3.0.0-beta.12'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ test('loading plugins from package.json', () => {
|
||||
mockPkg({
|
||||
devDependencies: {
|
||||
'bar': '^1.0.0',
|
||||
'@vue/cli-plugin-babel': '^3.0.0-beta.11',
|
||||
'@vue/cli-plugin-babel': '^3.0.0-beta.12',
|
||||
'vue-cli-plugin-foo': '^1.0.0'
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user