Skip to content

Commit e42694b

Browse files
author
Urban
committed
initial commit
1 parent 162d54a commit e42694b

37 files changed

+15315
-46
lines changed

.babelrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"presets": [
3+
"@babel/preset-env",
4+
"@babel/preset-react"
5+
],
6+
"plugins": [
7+
"@babel/plugin-proposal-class-properties",
8+
"@babel/plugin-transform-runtime"
9+
]
10+
}

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
assets
2+
scss
3+
node_modules
4+
dist
5+
public

.eslintrc.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"jest": true
6+
},
7+
"extends": ["airbnb", "prettier", "prettier/react"],
8+
"parserOptions": {
9+
"ecmaVersion": 2018
10+
},
11+
"settings": {
12+
"import/resolver": {
13+
"node": {
14+
"extensions": [".json", ".ts", ".js"]
15+
}
16+
}
17+
},
18+
"plugins": ["react", "prettier"],
19+
"rules": {
20+
"prefer-object-spread": 0,
21+
"no-console": "warn",
22+
"indent": [ 1, 2 ],
23+
"no-unused-expressions":"error",
24+
"no-multiple-empty-lines":"warn",
25+
"no-trailing-spaces": "warn",
26+
"eol-last": "warn",
27+
"arrow-parens":"off",
28+
"no-underscore-dangle":"off",
29+
"react/jsx-filename-extension": "off",
30+
"import/no-named-as-default": "off",
31+
"react/jsx-props-no-spreading": "off",
32+
"jsx-a11y/anchor-is-valid": "off"
33+
},
34+
"globals": {
35+
"window": true,
36+
"document": true,
37+
"localStorage": true,
38+
"FormData": true,
39+
"FileReader": true,
40+
"Blob": true,
41+
"navigator": true,
42+
"Headers": true,
43+
"Request": true,
44+
"fetch": true
45+
},
46+
"parser": "babel-eslint"
47+
}

.github/ISSUE_TEMPLATE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
* **I'm submitting a ...**
2+
- [ ] bug report
3+
- [ ] feature request
4+
- [ ] support request => Please do not submit support request here, see note at the top of this template.
5+
6+
* **What is the current behavior?**
7+
8+
* **What is the expected behavior?(how you want it to be)**
9+
10+
* **Please tell us about your environment:**
11+
12+
- node version:
13+
- Browser:
14+
- Angular version:
15+
- typescript version:
16+
- package manager(yarn or npm):

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#### What does this PR do?
2+
#### Description of Task to be completed?
3+
#### How should this be manually tested?
4+
#### Any background context you want to provide?
5+
#### What are the relevant pivotal tracker stories?
6+
#### Screenshots (if appropriate)
7+
#### Questions:

.github/workflows/develop_ros-frontend(staging).yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
npm run test --if-present
2828
2929
- name: 'Deploy to Azure Web App'
30-
uses: azure/webapps-deploy@v1
30+
uses: azure/webapps-deploy@v2
3131
with:
32-
app-name: 'ros-frontend(staging)'
32+
app-name: ${{ env.AZURE_WEBAPP_NAME }}
3333
slot-name: 'staging'
3434
publish-profile: ${{ secrets.AzureAppService_PublishProfile_7f660d3c5c964362b460704a61c37f56 }}
3535
package: .

.github/workflows/master_ros-frontend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
npm run test --if-present
2828
2929
- name: 'Deploy to Azure Web App'
30-
uses: azure/webapps-deploy@v1
30+
uses: azure/webapps-deploy@v2
3131
with:
32-
app-name: 'ros-frontend'
32+
app-name: ${{ env.AZURE_WEBAPP_NAME }}
3333
slot-name: 'production'
3434
publish-profile: ${{ secrets.AzureAppService_PublishProfile_1a8af05d698b4ccc9fd7975498003922 }}
3535
package: .

.gitignore

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ logs
44
npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
7-
lerna-debug.log*
8-
9-
# Diagnostic reports (https://nodejs.org/api/report.html)
10-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11-
7+
.vscode-janus-debug
128
# Runtime data
139
pids
1410
*.pid
@@ -20,10 +16,11 @@ lib-cov
2016

2117
# Coverage directory used by tools like istanbul
2218
coverage
23-
*.lcov
2419

2520
# nyc test coverage
2621
.nyc_output
22+
html-report
23+
build
2724

2825
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
2926
.grunt
@@ -40,25 +37,17 @@ build/Release
4037
# Dependency directories
4138
node_modules/
4239
jspm_packages/
40+
*.DS_Store
4341

4442
# TypeScript v1 declaration files
4543
typings/
4644

47-
# TypeScript cache
48-
*.tsbuildinfo
49-
5045
# Optional npm cache directory
5146
.npm
5247

5348
# Optional eslint cache
5449
.eslintcache
5550

56-
# Microbundle cache
57-
.rpt2_cache/
58-
.rts2_cache_cjs/
59-
.rts2_cache_es/
60-
.rts2_cache_umd/
61-
6251
# Optional REPL history
6352
.node_repl_history
6453

@@ -71,34 +60,38 @@ typings/
7160
# dotenv environment variables file
7261
.env
7362
.env.test
63+
.env.sample
7464

7565
# parcel-bundler cache (https://parceljs.org/)
7666
.cache
7767

78-
# Next.js build output
68+
# next.js build output
7969
.next
8070

81-
# Nuxt.js build / generate output
71+
# nuxt.js build output
8272
.nuxt
83-
dist
84-
85-
# Gatsby files
86-
.cache/
87-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88-
# https://nextjs.org/blog/next-9-1#public-directory-support
89-
# public
9073

9174
# vuepress build output
9275
.vuepress/dist
9376

9477
# Serverless directories
95-
.serverless/
78+
.serverless
9679

9780
# FuseBox cache
9881
.fusebox/
9982

100-
# DynamoDB Local files
101-
.dynamodb/
83+
# build folder
84+
dist/
85+
.idea/
86+
.floo*
87+
.snyk
88+
89+
# jenkins secrets
90+
jenkins/secrets
91+
92+
.vscode
93+
excel.xlsx
10294

103-
# TernJS port file
104-
.tern-port
95+
# json file
96+
files
97+
temp

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 100,
3+
"trailingComma": "all",
4+
"semi": true,
5+
"jsxSingleQuote": true,
6+
"singleQuote": true,
7+
"useTabs": true
8+
}

AUTHORS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# This is the official list of opensource.org.rw authors for copyright purposes.
2+
#
3+
# Please keep the list sorted.
4+
5+
Rwanda Open Source (https://opensource.org.rw)
6+
Urban Ishimwe (https://github.com/urbanishimwe)

0 commit comments

Comments
 (0)