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