@toptal/davinci-ci 2.0.13-alpha-upgrade-testing-library-react-9106cb9b.39 → 2.0.13-alpha-fx-3204-move-vconf-to-ci-c3b47633.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-ci",
|
|
3
|
-
"version": "2.0.13-alpha-
|
|
3
|
+
"version": "2.0.13-alpha-fx-3204-move-vconf-to-ci-c3b47633.42+c3b47633",
|
|
4
4
|
"description": "Continuos integrations tools for frontend projects",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@commitlint/cli": "^17.0.2",
|
|
34
34
|
"@commitlint/config-conventional": "^17.1.0",
|
|
35
|
-
"@toptal/davinci-cli-shared": "1.8.2-alpha-
|
|
35
|
+
"@toptal/davinci-cli-shared": "1.8.2-alpha-fx-3204-move-vconf-to-ci-c3b47633.42+c3b47633",
|
|
36
36
|
"danger": "^11.0.7",
|
|
37
37
|
"markdown-table": "^2.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "c3b47633dad8b5656c421328fdf527d5e35b0a6d"
|
|
40
40
|
}
|
|
@@ -8,7 +8,7 @@ FROM nginx:alpine
|
|
|
8
8
|
ARG ENV_RUNTIME_ENTRYPOINT
|
|
9
9
|
|
|
10
10
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
|
11
|
-
COPY --from=builder /app/node_modules/@toptal/davinci/docker/nginx-vhost.conf /etc/nginx/conf.d/default.conf
|
|
11
|
+
COPY --from=builder /app/node_modules/@toptal/davinci-ci/src/configs/docker/nginx-vhost.conf /etc/nginx/conf.d/default.conf
|
|
12
12
|
|
|
13
13
|
# Remove source maps from the production build
|
|
14
14
|
RUN find /usr/share/nginx/html -name "*.map" -type f -delete
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
server {
|
|
2
|
+
listen 80;
|
|
3
|
+
server_name localhost;
|
|
4
|
+
root /usr/share/nginx/html/storybook;
|
|
5
|
+
|
|
6
|
+
location / {
|
|
7
|
+
try_files $uri $uri/ index.html;
|
|
8
|
+
index index.html;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
location ~ \.(js|png|svg|jpg|gif)$ {
|
|
12
|
+
try_files $uri $uri/ =404;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
# redirect server error pages to the static page /50x.html
|
|
16
|
+
error_page 500 502 503 504 /50x.html;
|
|
17
|
+
location = /50x.html {
|
|
18
|
+
root /usr/share/nginx/html;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# When you are redirecting to any url, which is handled by react-router
|
|
2
|
+
# on nginx we need special configuration to handle those
|
|
3
|
+
# and don't just return 404
|
|
4
|
+
server {
|
|
5
|
+
listen 80;
|
|
6
|
+
server_name localhost;
|
|
7
|
+
|
|
8
|
+
index index.html;
|
|
9
|
+
root /usr/share/nginx/html;
|
|
10
|
+
|
|
11
|
+
location ~ \.(js|css)$ {
|
|
12
|
+
# allow returning 404s for assets
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
location / {
|
|
16
|
+
try_files $uri /index.html;
|
|
17
|
+
}
|
|
18
|
+
}
|