Skip to content

Commit c39a010

Browse files
author
Arthur Monney
committed
Merge branch 'feature/authentication' into 'develop'
Feature/authentication See merge request i2658/cosna-afrique/boilerplate/cpanel.angular!1
2 parents 44656a3 + a71fdd9 commit c39a010

File tree

95 files changed

+8849
-3366
lines changed

Some content is hidden

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

95 files changed

+8849
-3366
lines changed

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
NG_APP_NAME="Cosna Cpanel"
22
NG_APP_DEBUG=true
33
NG_APP_VERSION="v1.0.0"
4-
NG_APP_API_URL=https://api.cosna-afrique.com
4+
NG_APP_BASE_URL=https://cpanel.cosna-afrique.com
5+
NG_APP_API_URL=https://cosna.test/api
56
NG_APP_API_VERSION=v2
67
NG_APP_SENTRY_DSN=
78
NG_APP_SENTRY_TRACES_SAMPLE_RATE=1.0

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package.json
2+
package-lock.json
3+
dist
4+
e2e/**
5+
karma.conf.js
6+
commitlint.config.js

.eslintrc.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"parserOptions": {
12+
"project": [
13+
"tsconfig.json"
14+
],
15+
"createDefaultProgram": true
16+
},
17+
"extends": [
18+
"plugin:@angular-eslint/recommended",
19+
"plugin:@angular-eslint/template/process-inline-templates",
20+
"plugin:prettier/recommended"
21+
],
22+
"rules": {
23+
"@angular-eslint/directive-selector": [
24+
"error",
25+
{
26+
"type": "attribute",
27+
"prefix": "cosna",
28+
"style": "camelCase"
29+
}
30+
],
31+
"@angular-eslint/component-selector": [
32+
"error",
33+
{
34+
"type": "element",
35+
"prefix": "cosna",
36+
"style": "kebab-case"
37+
}
38+
]
39+
}
40+
},
41+
{
42+
"files": [
43+
"*.html"
44+
],
45+
"extends": [
46+
"plugin:@angular-eslint/template/recommended"
47+
],
48+
"rules": {}
49+
}
50+
]
51+
}

.gitignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ yarn-error.log
1313

1414
# IDEs and editors
1515
.idea/
16+
/.vscode
1617
.project
1718
.classpath
1819
.c9/
@@ -43,4 +44,14 @@ Thumbs.db
4344

4445
# Config
4546
.env
46-
.env.local
47+
.env.local
48+
.env.test
49+
.env.prod
50+
51+
# Docker Construction
52+
Dockerfile
53+
docker-compose*
54+
55+
# Continious integration
56+
# .gitlab-ci.yml
57+
.gitlab-ci.dockerv_version.yml

.prettierignore

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db
43+
44+
# Config
45+
.env
46+
.env.local

.prettierrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"tabWidth": 2,
3+
"useTabs": false,
4+
"singleQuote": true,
5+
"semi": true,
6+
"bracketSpacing": true,
7+
"arrowParens": "avoid",
8+
"trailingComma": "es5",
9+
"bracketSameLine": true,
10+
"printWidth": 80
11+
}

0 commit comments

Comments
 (0)