Skip to content

Commit dfc5ae1

Browse files
committed
feat: initial setup for UI rework
Signed-off-by: Raphael Arce <[email protected]>
1 parent 09de9ff commit dfc5ae1

File tree

265 files changed

+4625
-47711
lines changed

Some content is hidden

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

265 files changed

+4625
-47711
lines changed

.all-contributorsrc

-1
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,3 @@
110110
"projectName": "giessdenkiez-de",
111111
"projectOwner": "technologiestiftung"
112112
}
113-

.eslintrc.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
{
2-
"extends": "next/core-web-vitals"
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:react/recommended",
10+
"prettier"
11+
],
12+
"parser": "@typescript-eslint/parser",
13+
"parserOptions": {
14+
"ecmaVersion": "latest",
15+
"sourceType": "module"
16+
},
17+
"plugins": ["@typescript-eslint", "react"],
18+
"rules": {}
319
}

.github/renovate.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["github>technologiestiftung/renovate-config"],
4-
"baseBranches": ["staging"]
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>technologiestiftung/renovate-config"],
4+
"baseBranches": ["staging"]
55
}

.github/workflows/codeql-analysis.yml

+33-34
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,42 @@ name: "Code scanning - action"
33
on:
44
pull_request:
55
schedule:
6-
- cron: '0 12 * * 4'
6+
- cron: "0 12 * * 4"
77

88
jobs:
99
CodeQL-Build:
10-
1110
runs-on: ubuntu-latest
1211
if: "!contains(github.event.head_commit.message, 'skip ci')"
1312
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v4
16-
with:
17-
# We must fetch at least the immediate parents so that if this is
18-
# a pull request then we can checkout the head.
19-
fetch-depth: 2
20-
21-
# Initializes the CodeQL tools for scanning.
22-
- name: Initialize CodeQL
23-
uses: github/codeql-action/init@v3
24-
# Override language selection by uncommenting this and choosing your languages
25-
with:
26-
languages: javascript
27-
28-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
29-
# If this step fails, then you should remove it and run the build manually (see below)
30-
#- name: Autobuild
31-
# uses: github/codeql-action/autobuild@v1
32-
33-
# ℹ️ Command-line programs to run using the OS shell.
34-
# 📚 https://git.io/JvXDl
35-
36-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
37-
# and modify them (or add more) to build your code if your project
38-
# uses a compiled language
39-
40-
#- run: |
41-
# make bootstrap
42-
# make release
43-
44-
- name: Perform CodeQL Analysis
45-
uses: github/codeql-action/analyze@v3
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
with:
16+
# We must fetch at least the immediate parents so that if this is
17+
# a pull request then we can checkout the head.
18+
fetch-depth: 2
19+
20+
# Initializes the CodeQL tools for scanning.
21+
- name: Initialize CodeQL
22+
uses: github/codeql-action/init@v3
23+
# Override language selection by uncommenting this and choosing your languages
24+
with:
25+
languages: javascript
26+
27+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
28+
# If this step fails, then you should remove it and run the build manually (see below)
29+
#- name: Autobuild
30+
# uses: github/codeql-action/autobuild@v1
31+
32+
# ℹ️ Command-line programs to run using the OS shell.
33+
# 📚 https://git.io/JvXDl
34+
35+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
36+
# and modify them (or add more) to build your code if your project
37+
# uses a compiled language
38+
39+
#- run: |
40+
# make bootstrap
41+
# make release
42+
43+
- name: Perform CodeQL Analysis
44+
uses: github/codeql-action/analyze@v3

.github/workflows/playwright.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Playwright Tests
2+
on:
3+
push:
4+
branches: [main, master]
5+
pull_request:
6+
branches: [main, master]
7+
jobs:
8+
test:
9+
timeout-minutes: 60
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: 18
16+
- name: Install dependencies
17+
run: npm ci
18+
- name: Install Playwright Browsers
19+
run: npx playwright install --with-deps
20+
- name: Run Playwright tests
21+
run: npx playwright test
22+
- uses: actions/upload-artifact@v3
23+
if: always()
24+
with:
25+
name: playwright-report
26+
path: playwright-report/
27+
retention-days: 30

.github/workflows/pumps.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
id: pumps
1818
uses: technologiestiftung/[email protected]
1919
with:
20-
outfile-path: 'public/data/pumps.geojson'
20+
outfile-path: "public/data/pumps.geojson"
2121
- name: File output
2222
run: echo "The file was written to ${{ steps.pumps.outputs.file }}"
2323
- name: Upload file to supabase
@@ -51,4 +51,4 @@ jobs:
5151
echo "Uploading to Supabase failed"
5252
exit 1
5353
fi
54-
fi
54+
fi

.github/workflows/rain.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
rain:
1111
# Using the payload of the repository_dispatch webhook to specify the environment
12-
environment: '${{ github.event.client_payload.environment }}'
12+
environment: "${{ github.event.client_payload.environment }}"
1313
runs-on: ubuntu-latest
1414
name: Aggregate rain data from DWD radolan
1515
steps:
@@ -25,10 +25,10 @@ jobs:
2525
SUPABASE_URL: ${{ vars.SUPABASE_URL }}
2626
SUPABASE_BUCKET_NAME: ${{ vars.SUPABASE_DATA_ASSETS_BUCKET }}
2727
SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
28-
OUTPUT: 'True'
29-
LOGGING: 'INFO'
28+
OUTPUT: "True"
29+
LOGGING: "INFO"
3030
MAPBOXUSERNAME: ${{ secrets.MAPBOXUSERNAME }}
3131
MAPBOXTOKEN: ${{ secrets.MAPBOXTOKEN }}
3232
MAPBOXTILESET: ${{ secrets.MAPBOXTILESET }}
3333
MAPBOXLAYERNAME: ${{ secrets.MAPBOXLAYERNAME }}
34-
SKIP_MAPBOX: 'False'
34+
SKIP_MAPBOX: "False"

.github/workflows/test.yml

-83
This file was deleted.
+7-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: 'Prevent merge from non-staging to master'
1+
name: "Prevent merge from non-staging to master"
22
on:
33
pull_request:
44
types: [opened, synchronize, reopened]
55

66
jobs:
77
warn_main_merge:
8-
runs-on: 'ubuntu-latest'
9-
name: 'Validate PR Source and Target Branches'
8+
runs-on: "ubuntu-latest"
9+
name: "Validate PR Source and Target Branches"
1010
steps:
11-
- name: 'Checking source and target branch in PR'
12-
uses: 'technologiestiftung/[email protected]'
11+
- name: "Checking source and target branch in PR"
12+
uses: "technologiestiftung/[email protected]"
1313
with:
14-
stagingName: 'staging'
15-
mainName: 'master'
14+
stagingName: "staging"
15+
mainName: "master"

0 commit comments

Comments
 (0)