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