Skip to content

Commit e685d88

Browse files
committed
Aplicação Exemplo
- Estrutura, telas e menu AB#168 Provider - Ajustes do login
1 parent 4fa1928 commit e685d88

38 files changed

+18003
-27
lines changed

app/client/.browserslistrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead

app/client/.editorconfig

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[*.{js,jsx,ts,tsx,vue}]
2+
indent_style = space
3+
indent_size = 2
4+
end_of_line = lf
5+
trim_trailing_whitespace = true
6+
insert_final_newline = true
7+
max_line_length = 100

app/client/.env

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VUE_APP_URL=https://apprp.dev.br
2+
VUE_APP_PROVIDER_URL=https://api.provider.dev.br

app/client/.eslintrc.js

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2020: true,
5+
},
6+
extends: [
7+
'plugin:vue/essential',
8+
'airbnb-base',
9+
],
10+
parserOptions: {
11+
ecmaVersion: 12,
12+
sourceType: 'module',
13+
},
14+
plugins: [
15+
'vue',
16+
],
17+
rules: {
18+
},
19+
overrides: [
20+
{
21+
files: [
22+
'**/__tests__/*.{j,t}s?(x)',
23+
'**/tests/unit/**/*.spec.{j,t}s?(x)',
24+
],
25+
env: {
26+
jest: true,
27+
},
28+
},
29+
],
30+
};

app/client/.eslintrc_.js

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
es2020: true,
6+
},
7+
extends: [
8+
'plugin:vue/vue3-essential',
9+
'@vue/airbnb',
10+
'airbnb-base',
11+
],
12+
parserOptions: {
13+
parser: 'babel-eslint',
14+
},
15+
rules: {
16+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
17+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
18+
},
19+
overrides: [
20+
{
21+
files: [
22+
'**/__tests__/*.{j,t}s?(x)',
23+
'**/tests/unit/**/*.spec.{j,t}s?(x)',
24+
],
25+
env: {
26+
jest: true,
27+
},
28+
},
29+
],
30+
};

app/client/.gitignore

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
/tests/e2e/videos/
6+
/tests/e2e/screenshots/
7+
8+
9+
# local env files
10+
.env.local
11+
.env.*.local
12+
13+
# Log files
14+
npm-debug.log*
15+
yarn-debug.log*
16+
yarn-error.log*
17+
pnpm-debug.log*
18+
19+
# Editor directories and files
20+
.idea
21+
.vscode
22+
*.suo
23+
*.ntvs*
24+
*.njsproj
25+
*.sln
26+
*.sw?

app/client/README.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# client
2+
3+
## Project setup
4+
```
5+
npm install
6+
```
7+
8+
### Compiles and hot-reloads for development
9+
```
10+
npm run serve
11+
```
12+
13+
### Compiles and minifies for production
14+
```
15+
npm run build
16+
```
17+
18+
### Run your unit tests
19+
```
20+
npm run test:unit
21+
```
22+
23+
### Run your end-to-end tests
24+
```
25+
npm run test:e2e
26+
```
27+
28+
### Lints and fixes files
29+
```
30+
npm run lint
31+
```
32+
33+
### Customize configuration
34+
See [Configuration Reference](https://cli.vuejs.org/config/).

app/client/babel.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset',
4+
],
5+
};

app/client/cypress.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"pluginsFile": "tests/e2e/plugins/index.js"
3+
}

app/client/jest.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
preset: '@vue/cli-plugin-unit-jest',
3+
transform: {
4+
'^.+\\.vue$': 'vue-jest',
5+
},
6+
};

0 commit comments

Comments
 (0)