Skip to content

Commit 2044849

Browse files
committed
Bump to vue 2.6 and follow upstream code changes
1 parent 3e6802d commit 2044849

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+15715
-1129
lines changed

.babelrc

Lines changed: 0 additions & 18 deletions
This file was deleted.

.browserslistrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
defaults

.editorconfig

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
root = true
2-
3-
[*]
4-
charset = utf-8
1+
[*.{js,jsx,ts,tsx,vue}]
52
indent_style = space
63
indent_size = 2
7-
end_of_line = lf
8-
insert_final_newline = true
94
trim_trailing_whitespace = true
5+
insert_final_newline = true

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.js

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
1-
// http://eslint.org/docs/user-guide/configuring
2-
31
module.exports = {
42
root: true,
5-
parser: 'babel-eslint',
6-
parserOptions: {
7-
sourceType: 'module'
8-
},
93
env: {
10-
browser: true,
4+
node: true
115
},
12-
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
13-
extends: 'standard',
14-
// required to lint *.vue files
15-
plugins: [
16-
'html'
17-
],
18-
// add your custom rules here
19-
'rules': {
20-
// allow paren-less arrow functions
21-
'arrow-parens': 0,
22-
// allow async-await
23-
'generator-star-spacing': 0,
24-
// allow debugger during development
25-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
6+
extends: ['plugin:vue/recommended', '@vue/standard'],
7+
rules: {
8+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
9+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
10+
},
11+
parserOptions: {
12+
parser: 'babel-eslint'
2613
}
2714
}

.gitignore

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
.DS_Store
2-
node_modules/
3-
dist/
2+
node_modules
3+
/dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
410
npm-debug.log*
511
yarn-debug.log*
612
yarn-error.log*
7-
test/unit/coverage
8-
test/e2e/reports
9-
selenium-debug.log
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw?

.postcssrc.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 predbdotovh
3+
Copyright (c) 2017-2019 predbdotovh
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,42 @@
22

33
> Predb.ovh website
44
5-
## Build Setup
5+
## Project setup
66

7-
``` bash
8-
# install dependencies
7+
```
98
npm install
9+
```
10+
11+
### Compiles and hot-reloads for development
12+
13+
```
14+
npm run serve
15+
```
1016

11-
# serve with hot reload at localhost:8080
12-
npm run dev
17+
### Compiles and minifies for production
1318

14-
# build for production with minification
19+
```
1520
npm run build
21+
```
1622

17-
# build for production and view the bundle analyzer report
18-
npm run build --report
23+
### Run your tests
1924

20-
# run unit tests
21-
npm run unit
25+
```
26+
npm run test
27+
```
28+
29+
### Lints and fixes files
30+
31+
```
32+
npm run lint
33+
```
2234

23-
# run e2e tests
24-
npm run e2e
35+
### Run your unit tests
2536

26-
# run all tests
27-
npm test
2837
```
38+
npm run test:unit
39+
```
40+
41+
### Customize configuration
2942

30-
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
43+
See [Configuration Reference](https://cli.vuejs.org/config/).

babel.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ['@vue/app']
3+
}

0 commit comments

Comments
 (0)