Skip to content

Commit

Permalink
chore: pre release sync
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 16, 2018
1 parent e8f036b commit 8963a88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/@vue/cli-plugin-eslint/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,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.13'
'@vue/eslint-config-airbnb': '^3.0.0-beta.1'
})
} else if (config === 'standard') {
pkg.eslintConfig.extends.push('@vue/standard')
Object.assign(pkg.devDependencies, {
'@vue/eslint-config-standard': '^3.0.0-alpha.13'
'@vue/eslint-config-standard': '^3.0.0-beta.1'
})
} else if (config === 'prettier') {
pkg.eslintConfig.extends.push('@vue/prettier')
Object.assign(pkg.devDependencies, {
'@vue/eslint-config-prettier': '^3.0.0-alpha.13'
'@vue/eslint-config-prettier': '^3.0.0-beta.1'
})
} else {
// default
Expand All @@ -38,7 +38,7 @@ module.exports = (api, { config, lintOn = [] }) => {
if (api.hasPlugin('typescript')) {
pkg.eslintConfig.extends.push('@vue/typescript')
Object.assign(pkg.devDependencies, {
'@vue/eslint-config-typescript': '^3.0.0-alpha.13'
'@vue/eslint-config-typescript': '^3.0.0-beta.1'
})
}

Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/__tests__/Service.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('loading plugins from package.json', () => {
mockPkg({
devDependencies: {
'bar': '^1.0.0',
'@vue/cli-plugin-babel': '^3.0.0-alpha.13',
'@vue/cli-plugin-babel': '^3.0.0-beta.1',
'vue-cli-plugin-foo': '^1.0.0'
}
})
Expand Down

0 comments on commit 8963a88

Please sign in to comment.