Skip to content

Commit 2a2e3ac

Browse files
committed
✨ initial refarch webcomp
1 parent d06455a commit 2a2e3ac

30 files changed

+8392
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_NODE_ENV=development
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_NODE_ENV=production
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Omits the resolved property (with specific reference to the npm repository) from the lockfile.
2+
omit-lockfile-registry-resolved=true
3+
# Enforces the use of the defined npm versions in package.json, otherwise `npm install` will fail
4+
engine-strict=true
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist
2+
node_modules
3+
processes/post-build.js
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"@muenchen/prettier-codeformat"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# For documentation see https://github.com/sclorg/nginx-container
2+
FROM registry.access.redhat.com/ubi10/nginx-126:10.0-1747618876@sha256:d1866194c76ee988f6a0777292bbb7421f3bfc7637f43e41e8ad8512ae218cde
3+
4+
# Copy built web components
5+
COPY dist .
6+
7+
# Copy custom nginx configurations
8+
COPY docker/nginx/*.conf "${NGINX_DEFAULT_CONF_PATH}"
9+
10+
# Start the web server
11+
CMD ["nginx", "-g", "daemon off;"]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// This file is used to declare TypeScript modules for libraries that don't export own types (e.g. JavaScript libraries).
2+
// Note: Before adding module declarations here please check if types can be installed via https://github.com/DefinitelyTyped/DefinitelyTyped for your specific library.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
gzip on;
2+
gzip_http_version 1.1;
3+
gzip_min_length 1100;
4+
gzip_vary on;
5+
gzip_proxied expired no-cache no-store private auth;
6+
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
7+
gzip_comp_level 9;
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
location /src/ {
2+
expires 365d;
3+
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
4+
add_header Cache-Control "public, no-transform";
5+
}
6+
7+
location ~ ^/loader-.*\.js$ {
8+
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
9+
add_header Cache-Control 'no-cache';
10+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
location /actuator/health {
2+
access_log off;
3+
add_header 'Content-Type' 'application/json';
4+
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
5+
add_header Cache-Control 'no-cache';
6+
return 200 '{"status":"UP"}';
7+
}

0 commit comments

Comments
 (0)