-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove webpack, add Vite and Vitest KER-404
- Loading branch information
Showing
170 changed files
with
3,304 additions
and
4,918 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
REACT_APP_KERROKANTASI_API_BASE="https://kerrokantasi.api.dev.hel.ninja" | ||
REACT_APP_HERO_IMAGE_URL="http://materialbank.myhelsinki.fi/detail/1192/download/7" | ||
REACT_APP_OPENID_CLIENT_ID="kerrokantasi-ui-dev" | ||
REACT_APP_OPENID_AUDIENCE="kerrokantasi-api-dev" | ||
REACT_APP_OPENID_AUTHORITY="https://tunnistus.test.hel.ninja/auth/realms/helsinki-tunnistus" | ||
REACT_APP_OPENID_APITOKEN_URL="https://tunnistus.test.hel.ninja/auth/realms/helsinki-tunnistus/protocol/openid-connect/token" | ||
REACT_APP_OPENID_SCOPE="openid profile email" | ||
REACT_APP_ENABLE_STRONG_AUTH=false | ||
REACT_APP_CITY_CONFIG="cities/helsinki" | ||
REACT_APP_SHOW_ACCESSIBILITY_INFO=true | ||
REACT_APP_SHOW_SOCIAL_MEDIA_SHARING=true | ||
REACT_APP_ENABLE_COOKIES=true | ||
REACT_APP_ENABLE_COOKIEBOT=false | ||
REACT_APP_COOKIEBOT_DATA_CBID= | ||
REACT_APP_ADMIN_HELP_URL="https://drive.google.com/open?id=1vtUNzbJNVcp7K9JPrE6XP8yTmkBLW3N3FGEsR1NbbIw" | ||
REACT_APP_EMPTY_COMMENT_STRING="-" | ||
REACT_APP_MAINTENANCE_SHOW_NOTIFICATION=false | ||
REACT_APP_MAINTENANCE_DISABLE_LOGIN=false | ||
REACT_APP_MAINTENANCE_DISABLE_COMMENTS=false | ||
REACT_APP_MATOMO_COOKIE_DOMAIN= | ||
REACT_APP_MATOMO_DOMAINS= | ||
REACT_APP_MATOMO_SIDE_ID= | ||
REACT_APP_MATOMO_SCRIPT_URL= | ||
REACT_APP_MATOMO_SCRIPT_FILENAME= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
REACT_APP_KERROKANTASI_API_BASE="http://localhost:8080/" | ||
REACT_APP_HERO_IMAGE_URL= | ||
REACT_APP_OPENID_CLIENT_ID= | ||
REACT_APP_OPENID_AUDIENCE= | ||
REACT_APP_OPENID_AUTHORITY= | ||
REACT_APP_OPENID_APITOKEN_URL= | ||
REACT_APP_OPENID_SCOPE= | ||
REACT_APP_ENABLE_STRONG_AUTH=false | ||
REACT_APP_CITY_CONFIG= | ||
REACT_APP_SHOW_ACCESSIBILITY_INFO=false | ||
REACT_APP_SHOW_SOCIAL_MEDIA_SHARING=true | ||
REACT_APP_ENABLE_COOKIES=true | ||
REACT_APP_ENABLE_COOKIEBOT=false | ||
REACT_APP_COOKIEBOT_DATA_CBID= | ||
REACT_APP_ADMIN_HELP_URL= | ||
REACT_APP_EMPTY_COMMENT_STRING= | ||
REACT_APP_MAINTENANCE_SHOW_NOTIFICATION=false | ||
REACT_APP_MAINTENANCE_DISABLE_LOGIN=false | ||
REACT_APP_MAINTENANCE_DISABLE_COMMENTS=false | ||
REACT_APP_MATOMO_COOKIE_DOMAIN= | ||
REACT_APP_MATOMO_DOMAINS= | ||
REACT_APP_MATOMO_SIDE_ID= | ||
REACT_APP_MATOMO_SCRIPT_URL= | ||
REACT_APP_MATOMO_SCRIPT_FILENAME= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
REACT_APP_KERROKANTASI_API_BASE='http://example.com/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
yarn test | ||
yarn test --watch=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
pid /tmp/nginx.pid; #for running as non-root | ||
|
||
events { | ||
worker_connections 4096; ## Default: 1024 | ||
} | ||
http { | ||
#for running as non-root | ||
client_body_temp_path /tmp/client_temp; | ||
proxy_temp_path /tmp/proxy_temp_path; | ||
fastcgi_temp_path /tmp/fastcgi_temp; | ||
uwsgi_temp_path /tmp/uwsgi_temp; | ||
scgi_temp_path /tmp/scgi_temp; | ||
|
||
include /etc/nginx/mime.types; | ||
default_type application/octet-stream; | ||
|
||
server { | ||
listen 8086; | ||
server_name localhost; | ||
|
||
location /healthz { | ||
return 200 'OK'; | ||
} | ||
|
||
location /readiness { | ||
return 200 'OK'; | ||
} | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
try_files $uri /index.html; | ||
include /etc/nginx/env/nginx_env.conf; | ||
} | ||
|
||
error_page 500 502 503 504 /50x.html; | ||
location = /50x.html { | ||
root /usr/share/nginx/html; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# This is a placeholder file for additional environment configuration | ||
# Actual content is defined by pipeline. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.